#include "GameMode.hpp"

namespace editScene
{

namespace
{

/// Global game mode state.
GameMode s_gameMode = GameMode::Editor;

/// Global gameplay state (only meaningful in game mode).
GamePlayState s_gamePlayState = GamePlayState::Menu;

} // anonymous namespace

void setEditSceneGameMode(GameMode mode) noexcept
{
	s_gameMode = mode;
}

void setEditSceneGamePlayState(GamePlayState state) noexcept
{
	s_gamePlayState = state;
}

GameMode getGameMode() noexcept
{
	return s_gameMode;
}

GamePlayState getGamePlayState() noexcept
{
	return s_gamePlayState;
}

} // namespace editScene
