summaryrefslogtreecommitdiff
path: root/src/object.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/object.h')
-rw-r--r--src/object.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/object.h b/src/object.h
index 1135ef9a..55aa4613 100644
--- a/src/object.h
+++ b/src/object.h
@@ -36,9 +36,9 @@ class Object
};
/*
- * Generic Living Object
+ * Generic Being (Living Object)
*/
-class LivingObject : public Object
+class Being : public Object
{
//Object name
std::string name;
@@ -62,16 +62,17 @@ class LivingObject : public Object
//Equipment equipment;
public:
- ~LivingObject() { };
+ virtual ~Being() { };
void update() { };
};
/*
* Player object
*/
-class Player : public LivingObject
+class Player : public Being
{
//Player gender (male = true, female = false)
bool gender;
public:
};
+