Made LevelInstance (DataModel V1.1_01?)

This commit is contained in:
andreja6
2018-10-25 09:45:13 -07:00
parent d7b491e073
commit 62208a14a5
8 changed files with 110 additions and 65 deletions

View File

@@ -1,6 +1,7 @@
#pragma once
#include "instance.h"
#include "WorkspaceInstance.h"
#include "LevelInstance.h"
class DataModelInstance :
public Instance
@@ -13,6 +14,8 @@ public:
void drawMessage(RenderDevice*);
WorkspaceInstance* getWorkspace();
WorkspaceInstance* workspace;
LevelInstance * level;
LevelInstance * getLevel();
Instance* guiRoot;
std::string message;
bool showMessage;
@@ -25,10 +28,5 @@ public:
void setMousePos(Vector2 pos);
bool mouseButton1Down;
float timer;
int score;
virtual std::vector<PROPGRIDITEM> getProperties();
std::string winMessage;
std::string loseMessage;
virtual void PropUpdate(LPPROPGRIDITEM &pItem);
};