aboutsummaryrefslogtreecommitdiff
path: root/cObjectHandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cObjectHandler.cpp')
-rw-r--r--cObjectHandler.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/cObjectHandler.cpp b/cObjectHandler.cpp
index 8a62a52..ee47226 100644
--- a/cObjectHandler.cpp
+++ b/cObjectHandler.cpp
@@ -1,13 +1,9 @@
#include "cObjectHandler.h"
-cObjectHandler::cObjectHandler(cRender *_render)
+cObjectHandler::cObjectHandler(cRender *_render) : cameraPosition ({0,0}), iActiveObject(0)
{
render = _render;
- cameraPosition = {0,0};
-
- iActiveObject = 0;
-
objects.push_back(NULL); //Create first Object as Catcher for Events
buildHitmap();