summaryrefslogtreecommitdiff
path: root/AmpelJonas/cObject.h
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2018-12-10 20:53:50 +0100
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2018-12-10 20:53:50 +0100
commit9fae9dfbc12525cdba4451d92f93c66bb6077b35 (patch)
treedb5d05f0146d836bb7d6e793d12b01defbba1b7c /AmpelJonas/cObject.h
parent4e44cec4a2a29cfee132bbe1ee722fbc5168db87 (diff)
downloadtermgl-9fae9dfbc12525cdba4451d92f93c66bb6077b35.tar.gz
Fixes, automatic resize(linux)
Diffstat (limited to 'AmpelJonas/cObject.h')
-rw-r--r--AmpelJonas/cObject.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/AmpelJonas/cObject.h b/AmpelJonas/cObject.h
index d268a0a..c3114c3 100644
--- a/AmpelJonas/cObject.h
+++ b/AmpelJonas/cObject.h
@@ -1,4 +1,6 @@
#pragma once
+#include <stdlib.h>
+
#include "cRender.h"
struct sObject
@@ -17,15 +19,18 @@ 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;
-
};