Rally X
ELEN3009 Project by Justin Wernick and David Schneider
|
00001 #ifndef CHECKPOINT_H 00002 #define CHECKPOINT_H 00003 00004 #include "../logic/GameObject.h" 00005 #include "../presentation/BitmapStore.h" 00006 00015 class Checkpoint: public GameObject 00016 { 00017 public: 00023 static int checkpointCount(); 00024 00031 Checkpoint(double x, double y); 00035 Checkpoint(const Checkpoint& ref); 00036 00037 //assignment operator has been left with the compiler generated version. 00038 00042 ~Checkpoint(); 00043 00047 void collect(); 00048 00049 private: 00050 static int _checkpointCount; 00051 }; 00052 00053 #endif // CHECKPOINT_H