- Dev Mode i Game Mode

This commit is contained in:
2024-07-02 19:31:19 +02:00
parent 3e83fcdaa8
commit eed4ec899c
7 changed files with 360 additions and 372 deletions

View File

@@ -2,9 +2,20 @@
namespace editor
{
static bool editing = true;
static bool devMode = false;
static bool editing = false;
static int current_template = 0;
void setDevMode()
{
devMode = editing = true;
}
const bool isDevMode()
{
return devMode;
}
void setEditing(const bool value)
{
editing = value;