Example #1
0
void CTitleKeyEvent::ChangeSceneMenu(std::shared_ptr<CSceneManager> scene)
{
	if (CharacterController::ChangeSceneKey())
	{
		scene->ChangeScene(CSceneManager::Scene::Menu);
	}
}
Example #2
0
void CMenuKeyEvent::ChngeSceneGame(std::shared_ptr<CSceneManager> scene)
{
	if (CharacterController::ChangeSceneKey())
	{
		scene->ChangeScene(CSceneManager::Scene::Game);
	}
}