summaryrefslogtreecommitdiff
path: root/MapObject.h
diff options
context:
space:
mode:
authorLuke Bratch <l_bratch@yahoo.co.uk>2010-11-24 19:57:03 +0000
committerLuke Bratch <l_bratch@yahoo.co.uk>2010-11-24 19:57:03 +0000
commit3383e8be9001826bf0d09f1fb73ad5013cc8627e (patch)
tree27be0f78ab8672a7187d517c73b4ee22817369cc /MapObject.h
Initial commit
Diffstat (limited to 'MapObject.h')
-rw-r--r--MapObject.h21
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