Advertisement
Guest User

Untitled

a guest
May 22nd, 2017
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.38 KB | None | 0 0
  1. class MenuItem
  2. {
  3.     private:
  4.                 sf::VideoMode resolution = sf::VideoMode::getDesktopMode();
  5.                 MenuItem playButton(resolution.width / 2 - 50, resolution.height, "Play", true);
  6.                 MenuItem optionsButton(resolution.width / 2, resolution.height, "Options");
  7.                 MenuItem exitButton(resolution.width / 2 + 50, resolution.height, "Exit");
  8. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement