diff options
Diffstat (limited to 'MapObject.h')
-rw-r--r-- | MapObject.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/MapObject.h b/MapObject.h new file mode 100644 index 0000000..24bc827 --- /dev/null +++ b/MapObject.h @@ -0,0 +1,21 @@ +#ifndef MAPOBJECT_H +#define MAPOBJECT_H + +#include "Sprite.h" + +class MapObject : public Sprite { + public: + MapObject(); + + // Get the numerical type + int getType(); + + // Set the type + void setType(); + + protected: + // The numerical type + int type; +}; + +#endif |