Added instance types

I feel like the way it works now isn't the best
This commit is contained in:
andreja6
2018-04-10 21:59:55 -07:00
parent 0908d93f29
commit 59f6652396
7 changed files with 74 additions and 1 deletions

View File

@@ -1,9 +1,25 @@
#include <G3DAll.h>
#include "Instance.h"
std::string name;
Instance* parent;
static const int BASE_INSTANCE = 0;
static const int PHYSICAL_INSTANCE = 1;
static const int type = BASE_INSTANCE;
Instance::Instance(void)
{
name = "Default Game Instance";
}
Instance::~Instance(void)
{
name = "Default Game Instance";
}
int getType()
{
return type;
}