From 1e7b871722482f7f77e2ab3c80dd5bec1596d29c Mon Sep 17 00:00:00 2001 From: Daniel Jones Date: Fri, 3 Jul 2020 22:18:55 +0930 Subject: Functionality: saving/loading with binary displays added --- Object.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Object.h') 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; }; -- cgit v1.2.3