Advertisement
Guest User

Untitled

a guest
Jun 27th, 2013
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. #pragma once
  2. #include "SFML/Window.hpp"
  3. #include "SFML/Graphics.hpp"
  4. #include "PlayerRacket.h"
  5.  
  6. class Game
  7. {
  8. public:
  9. static void Start();
  10.  
  11. private:
  12. static bool IsExiting();
  13. static void GameLoop();
  14.  
  15. static void ShowSplashScreen();
  16. static void ShowMenu();
  17.  
  18. enum GameState { Uninitialized, ShowingSplash, Paused,
  19. ShowingMenu, Playing, Exiting };
  20.  
  21. static GameState _gameState;
  22. static sf::RenderWindow _mainWindow;
  23. static PlayerRacket _player1;
  24. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement