#include "MultiplayerGameState.h" void MultiplayerGameState::OnAwake() { //tutorialGame->UpdateGame(dt); } PushdownState::PushdownResult MultiplayerGameState::OnUpdate(float dt, PushdownState** pushFunc) { multiGame->UpdateGame(dt); if (multiGame->IsOver() || Window::GetKeyboard()->KeyPressed(KeyboardKeys::ESCAPE)) { return PushdownState::PushdownResult::Pop; } return PushdownState::PushdownResult::NoChange; }