From ebf2e4812f39467eaf6ace9bfc9848f9e2d7ea3f Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Sun, 10 Feb 2019 13:09:22 +0100 Subject: minor tweaks --- cObjectHandler.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'cObjectHandler.cpp') 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(); -- cgit v1.2.3