Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class MenuItem
- {
- private:
- sf::VideoMode resolution = sf::VideoMode::getDesktopMode();
- MenuItem playButton(resolution.width / 2 - 50, resolution.height, "Play", true);
- MenuItem optionsButton(resolution.width / 2, resolution.height, "Options");
- MenuItem exitButton(resolution.width / 2 + 50, resolution.height, "Exit");
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement