Rally X
ELEN3009 Project by Justin Wernick and David Schneider
|
00001 #ifndef GAMEOBJECT_H 00002 #define GAMEOBJECT_H 00003 00004 #include "../presentation/BitmapStore.h" 00005 #include "../logic/Maze.h" 00006 00023 class GameObject 00024 { 00025 public: 00035 GameObject(double x, double y, BitmapStore::Image image, Maze::Direction facing=Maze::UP); 00036 00037 //assignment and copy constructors have been left with the compiler generated versions 00038 00044 double x() const; 00045 00051 double y() const; 00052 00058 bool destroyed() const; 00059 00065 BitmapStore::Image image() const; 00066 00072 Maze::Direction facing() const; 00073 00074 protected: 00075 double _x; 00076 double _y; 00077 bool _destroyed; 00078 BitmapStore::Image _image; 00079 Maze::Direction _facing; 00080 }; 00081 00082 #endif // GAMEOBJECT_H