From 9fae9dfbc12525cdba4451d92f93c66bb6077b35 Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Mon, 10 Dec 2018 20:53:50 +0100 Subject: Fixes, automatic resize(linux) --- AmpelJonas/cObject.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'AmpelJonas/cObject.h') 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 + #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; - }; -- cgit v1.2.3