summaryrefslogtreecommitdiff
path: root/AmpelJonas/cObjectHandler.h
diff options
context:
space:
mode:
authorGravatar jonas <himself@jonasgunz.de> 2018-12-10 17:54:50 +0100
committerGravatar jonas <himself@jonasgunz.de> 2018-12-10 17:54:50 +0100
commit4e44cec4a2a29cfee132bbe1ee722fbc5168db87 (patch)
treedf0e0b6b14763dd5d87338b98bbc257166345586 /AmpelJonas/cObjectHandler.h
parenta87a70298aefdcade34739ae2aa3b07436aae328 (diff)
downloadtermgl-4e44cec4a2a29cfee132bbe1ee722fbc5168db87.tar.gz
Removed program specific files, updated dependencies
Diffstat (limited to 'AmpelJonas/cObjectHandler.h')
-rw-r--r--AmpelJonas/cObjectHandler.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/AmpelJonas/cObjectHandler.h b/AmpelJonas/cObjectHandler.h
index 47598f2..1749c9b 100644
--- a/AmpelJonas/cObjectHandler.h
+++ b/AmpelJonas/cObjectHandler.h
@@ -1,10 +1,15 @@
#pragma once
-#include "stdafx.h"
+
+#include <vector>
+
+#include "cObject.h"
//movemodes
#define _MOVE_RELATIVE 0
#define _MOVE_ABSOULUTE 1
+using namespace std;
+
class cObject; //Circular dependency break (Bad practice. I Know.)
class cObjectHandler
@@ -18,7 +23,7 @@ public:
int moveObject(int _object, sPos _pos, int _mode);
//Alters position of _object by _pos either relative to old position or Absolute
- //Depending on selected _mode (_MOVE_RELATIVE / _MOVE_ABSOLUTE).
+ //Depending on selected _mode (_MOVE_RELATIVE / _MOVE_ABSOLUTE).
int destroyObject(int _object);
//removes _object from vector after deleting it
@@ -29,4 +34,4 @@ public:
private:
vector<cObject*> objects;
cRender *render;
-}; \ No newline at end of file
+};