From 2404a1c8049f192464999e925375ca95819bd8e9 Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Sun, 10 Feb 2019 02:14:00 +0100 Subject: Code cleaning --- cObject.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'cObject.cpp') diff --git a/cObject.cpp b/cObject.cpp index 8f9f6fa..cfd433b 100644 --- a/cObject.cpp +++ b/cObject.cpp @@ -1,10 +1,7 @@ #include "cObject.h" -cObject::cObject(int _sx, int _sy) +cObject::cObject(int _sx, int _sy) : pos({0,0}) , bSizeSet(false) { - bSizeSet = false; - - pos = {0,0}; setSize(_sx, _sy); } @@ -37,10 +34,6 @@ sObject cObject::getObject() } //protected -cObject::cObject() -{ - bSizeSet = false; -} void cObject::setSize(int _sx, int _sy) { -- cgit v1.2.3