Finished new datamodel

Not very efficient, but its somewhere
This commit is contained in:
andreja6
2018-05-01 15:02:04 -07:00
parent e6ca1cd502
commit 930aee06dc
5 changed files with 77 additions and 66 deletions

View File

@@ -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";
}