aboutsummaryrefslogtreecommitdiff
path: root/AmpelJonas/cObject.h
diff options
context:
space:
mode:
Diffstat (limited to 'AmpelJonas/cObject.h')
-rw-r--r--AmpelJonas/cObject.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/AmpelJonas/cObject.h b/AmpelJonas/cObject.h
new file mode 100644
index 0000000..abdba3c
--- /dev/null
+++ b/AmpelJonas/cObject.h
@@ -0,0 +1,32 @@
+#pragma once
+#include "stdafx.h"
+
+struct sObject
+
+{
+ sPos pos;
+ WORD **wColor;
+ char **cScreen;
+ int sizeX;
+ int sizeY;
+};
+
+class cObject : public cRender
+{
+public:
+ cObject(int _sx, int _sy);
+ //_sx : SizeX
+ //_sy : SizeY
+ ~cObject();
+
+ sPos getPosition();
+ void setPosition(sPos _pos);
+ void setPosition(int _x, int _y);
+ sObject getObject();
+
+private:
+ //wColor, cScreen, sizeX and sizeY are inherited from cRender
+ sPos pos;
+
+};
+