Aolis Engine  0.1.0_alpha1
Adventure Game Engine
 All Classes Files Functions Variables
object_base.h
1 #ifndef AOLIS_OBJECT_BASE
2 #define AOLIS_OBJECT_BASE
3 
10 #include "../defines.h"
11 
12 // FIXME: static signed int ID_COUNT = 0x00;
13 
17 class BaseObject {
18  public:
22  BaseObject();
29  BaseObject(char* name);
34  signed const int getId();
40  const char* getName();
46  void setName(char* name);
54  bool idEquals(signed int id);
62  bool nameEquals(char* name);
63  protected:
65  signed int id;
66  private:
68  char* name;
69 };
70 
71 #endif /* AOLIS_OBJECT_BASE */