aboutsummaryrefslogtreecommitdiff
path: root/cObject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cObject.cpp')
-rw-r--r--cObject.cpp9
1 files changed, 1 insertions, 8 deletions
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)
{