1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 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