// GameState.h #ifndef GAMESTATE_H #define GAMESTATE_H #include #include "Snake.h" class GameState { public: GameState(); GameState(int newHorizontal, int newVertical); void StartGame(void); sf::Vector2f GetGameBoundaries(void); /* gameGridHorizontal = (videoSizeHorizontal // 25) * 25; gameGridVertical = (videoSizeVertical // 25) * 25; */ protected: ; private: sf::RenderWindow gameWindow; sf::VideoMode gameVideoSettings; SnakeFood playerFood; Snake player; sf::Time delay; void RegenerateFood(void); void RunGameLoop(void); void RenderWindow(void); }; #endif