summaryrefslogtreecommitdiff
path: root/Object.h
diff options
context:
space:
mode:
Diffstat (limited to 'Object.h')
-rw-r--r--Object.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/Object.h b/Object.h
index 10184dc..e4e504b 100644
--- a/Object.h
+++ b/Object.h
@@ -25,7 +25,7 @@ class Object
* abstract class that all usable objects should subclass
*/
public:
- Object() { id = object_id_counter++; }; // default constructor for all objects
+ Object() { }; // default constructor for all objects
Object(int id_) { id = id_; }; // overloaded constructor for passing id - used when loading
/*
@@ -44,7 +44,6 @@ class Object
int input;
};
-
virtual ~Object() = default;
int get_id() { return this->id; };
int get_x() { return this->x; };