Nebula
Toggle main menu visibility
Loading...
Searching...
No Matches
editorstate.h
Go to the documentation of this file.
1
#pragma once
2
//------------------------------------------------------------------------------
15
//------------------------------------------------------------------------------
16
#include "
core/singleton.h
"
17
18
namespace
Game
19
{
20
21
class
EditorState
22
{
23
__DeclareSingleton
(
EditorState
)
24
public
:
25
EditorState
();
26
~EditorState
();
27
29
bool
isRunning
=
false
;
31
bool
isPlaying
=
false
;
32
};
33
34
}
// namespace Game
Game::EditorState
Definition
editorstate.h:22
Game::EditorState::isRunning
bool isRunning
is true if the editor is running
Definition
editorstate.h:29
Game::EditorState::~EditorState
__DeclareSingleton(EditorState) public ~EditorState()
Definition
editorstate.cc:23
Game::EditorState::isPlaying
bool isPlaying
is true if the editor is currently playing/simulating the game (play-in-editor)
Definition
editorstate.h:31
Game
Game::EditorState.
Definition
graphicsmanager.h:67
__DeclareSingleton
#define __DeclareSingleton(type)
Definition
osxsingleton.h:24
singleton.h
code
application
game
editorstate.h
Generated on
for Nebula. Dark theme by
Tilen Majerle
. All rights reserved.