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