From 98ba22e7064db57316dfff1ae127feb3dceeb73e Mon Sep 17 00:00:00 2001 From: Justin Worthe Date: Thu, 31 Jul 2014 13:58:22 +0200 Subject: Initial commit --- docs/html/class_checkpoint.html | 301 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 301 insertions(+) create mode 100644 docs/html/class_checkpoint.html (limited to 'docs/html/class_checkpoint.html') diff --git a/docs/html/class_checkpoint.html b/docs/html/class_checkpoint.html new file mode 100644 index 0000000..0e3b2dc --- /dev/null +++ b/docs/html/class_checkpoint.html @@ -0,0 +1,301 @@ + + + + +Rally X: Checkpoint Class Reference + + + + + + + + + + + +
+ + +
+ + + + + + + + + + + + + +
+
Rally X + +
+
ELEN3009 Project by Justin Wernick and David Schneider
+
+
+ + + + + +
+
+ +
+
Checkpoint Class Reference
+
+
+ +

GameObject that the player needs to pick up by driving over. + More...

+ +

#include <Checkpoint.h>

+
+Inheritance diagram for Checkpoint:
+
+
+ + +GameObject + +
+ +

List of all members.

+ + + + + + + + + + + + + + + + +

+Public Member Functions

 Checkpoint (double x, double y)
 Creates a checkpoint at the given coordinates.
 Checkpoint (const Checkpoint &ref)
 Copy constuctor, overwritten to include in the counting of Checkpoints.
 ~Checkpoint ()
 Destructor, decreases the number of Checkpoints in existence.
void collect ()
 Function to be called when a PlayerCar collects the Checkpoint.

+Static Public Member Functions

static int checkpointCount ()
 Function for accessing the number of checkpoints that currently exist.

+Static Private Attributes

static int _checkpointCount = 0
 Count of the number of Checkpoints currently in existence.
+

Detailed Description

+

GameObject that the player needs to pick up by driving over.

+

The level is complete when all checkpoints have been collected.

+
Author:
Justin Wernick
+
+David Schneider
+ +

Definition at line 15 of file Checkpoint.h.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + +
Checkpoint::Checkpoint (double x,
double y 
)
+
+
+ +

Creates a checkpoint at the given coordinates.

+
Parameters:
+ + + +
[in]xx coordinate of Checkpoint's position.
[in]yy coordinate of Checkpoint's position.
+
+
+ +

Definition at line 5 of file Checkpoint.cpp.

+ +
+
+ +
+
+ + + + + + + + +
Checkpoint::Checkpoint (const Checkpointref)
+
+
+ +

Copy constuctor, overwritten to include in the counting of Checkpoints.

+ +

Definition at line 11 of file Checkpoint.cpp.

+ +
+
+ +
+
+ + + + + + + +
Checkpoint::~Checkpoint ()
+
+
+ +

Destructor, decreases the number of Checkpoints in existence.

+ +

Definition at line 17 of file Checkpoint.cpp.

+ +
+
+

Member Function Documentation

+ +
+
+ + + + + + + +
int Checkpoint::checkpointCount () [static]
+
+
+ +

Function for accessing the number of checkpoints that currently exist.

+
Returns:
The number of checkpoints that currently exist.
+ +

Definition at line 22 of file Checkpoint.cpp.

+ +
+
+ +
+
+ + + + + + + +
void Checkpoint::collect ()
+
+
+ +

Function to be called when a PlayerCar collects the Checkpoint.

+ +

Definition at line 27 of file Checkpoint.cpp.

+ +
+
+

Member Data Documentation

+ +
+
+ + + + +
int Checkpoint::_checkpointCount = 0 [static, private]
+
+
+ +

Count of the number of Checkpoints currently in existence.

+ +

Definition at line 50 of file Checkpoint.h.

+ +
+
+
The documentation for this class was generated from the following files: +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator
+ + +
+ +
+ + + + + + + -- cgit v1.2.3