summaryrefslogtreecommitdiff
path: root/object_base.h
diff options
context:
space:
mode:
Diffstat (limited to 'object_base.h')
-rw-r--r--object_base.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/object_base.h b/object_base.h
new file mode 100644
index 0000000..355dfe8
--- /dev/null
+++ b/object_base.h
@@ -0,0 +1,16 @@
+#ifndef _OBJECT_BASE_H_
+#define _OBJECT_BASE_H_
+
+class Object{
+public:
+ double x=0,y=0;
+
+ Object(void);
+ virtual ~Object(void);
+
+ virtual void create(void);
+ virtual void step(void);
+ virtual void draw(void);
+};
+
+#endif //_OBJECT_BASE_H_