summaryrefslogtreecommitdiff
path: root/object_base.cpp
diff options
context:
space:
mode:
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){}