Advertisement
Guest User

Untitled

a guest
Feb 12th, 2016
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. case eGameState::ePaused:
  2.  
  3. if (myInputWrapper->MouseButtonClicked(eMouseButtons::left) == true)
  4. {
  5. clickPos = (CU::Vector2f(myInputWrapper->GetMouseWindowPosition(myWindow).x, myInputWrapper->GetMouseWindowPosition(myWindow).y));
  6.  
  7. myPauseMenu.OnClick(clickPos, myGameState);
  8.  
  9. if (myPauseMenu.myContinueButton.IsClicked(GlobalCursor::GetInstance()->GetPosition()))
  10. {
  11. IsPaused = true;
  12. }
  13. }
  14.  
  15. FillRenderBuffer();
  16. myPauseMenu.Draw(mySyncronizer);
  17. break;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement