diff options
Diffstat (limited to 'AmpelJonas/cObjectHandler.h')
-rw-r--r-- | AmpelJonas/cObjectHandler.h | 11 |
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 +}; |