Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- case eGameState::ePaused:
- if (myInputWrapper->MouseButtonClicked(eMouseButtons::left) == true)
- {
- clickPos = (CU::Vector2f(myInputWrapper->GetMouseWindowPosition(myWindow).x, myInputWrapper->GetMouseWindowPosition(myWindow).y));
- myPauseMenu.OnClick(clickPos, myGameState);
- if (myPauseMenu.myContinueButton.IsClicked(GlobalCursor::GetInstance()->GetPosition()))
- {
- IsPaused = true;
- }
- }
- FillRenderBuffer();
- myPauseMenu.Draw(mySyncronizer);
- break;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement