summaryrefslogtreecommitdiff
path: root/object_base.cpp
diff options
context:
space:
mode:
authortomsmeding <hallo@tomsmeding.nl>2015-12-01 21:29:53 +0100
committertomsmeding <hallo@tomsmeding.nl>2015-12-01 21:29:53 +0100
commitac18b3132059b5e7d5f00ccf2b56e543cf0da84b (patch)
tree490654385bf6aa87f160f79006a12289c20322e6 /object_base.cpp
parentdcaa318d677a1a6881ccc87640ae75c0fc578bfb (diff)
DAT GAME
Diffstat (limited to 'object_base.cpp')
-rw-r--r--object_base.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/object_base.cpp b/object_base.cpp
index d37aa12..39c2bde 100644
--- a/object_base.cpp
+++ b/object_base.cpp
@@ -1,13 +1,17 @@
#include <iostream>
#include "object_base.h"
+#include "library.h"
using namespace std;
Object::Object(void){
- cerr<<"Object constructed!"<<endl;
+ log("Object constructed");
+}
+Object::Object(double _x,double _y):x(_x),y(_y){
+ log("Object constructed at position");
}
Object::~Object(void){
- cerr<<"Object destructed"<<endl;
+ log("Object destructed");
}
void Object::create(void){}