Finished new datamodel
Not very efficient, but its somewhere
This commit is contained in:
@@ -3,12 +3,13 @@
|
||||
#include "Instance.h"
|
||||
|
||||
std::string name;
|
||||
Instance* parent;
|
||||
Instance* parent = NULL;
|
||||
std::vector<Instance* > children;
|
||||
static std::string className = "BaseInstance";
|
||||
|
||||
Instance::Instance(void)
|
||||
{
|
||||
parent = NULL;
|
||||
name = "Default Game Instance";
|
||||
className = "BaseInstance";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user