Renaming functions
This commit is contained in:
@@ -75,7 +75,7 @@ class Sandbox2DLayer : public OpenEngine::Layer
|
||||
bool StopRunning(OpenEngine::KeyPressedEvent& event)
|
||||
{
|
||||
if (event.GetKeyCode() == OE_KEY_ESCAPE) {
|
||||
OpenEngine::Application::Get().StopRunning();
|
||||
OpenEngine::Application::Get().Close();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user