From 4e44cec4a2a29cfee132bbe1ee722fbc5168db87 Mon Sep 17 00:00:00 2001 From: jonas Date: Mon, 10 Dec 2018 17:54:50 +0100 Subject: Removed program specific files, updated dependencies --- AmpelJonas/cObjectHandler.h | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'AmpelJonas/cObjectHandler.h') 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 + +#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 objects; cRender *render; -}; \ No newline at end of file +}; -- cgit v1.2.3