2022-07-28 15:18:24 -05:00
|
|
|
// GameState.h
|
|
|
|
#ifndef GAMESTATE_H
|
|
|
|
#define GAMESTATE_H
|
2022-08-02 21:17:23 -05:00
|
|
|
#include <SFML\Graphics.hpp>
|
2022-07-28 15:18:24 -05:00
|
|
|
|
|
|
|
class GameState
|
|
|
|
{
|
|
|
|
private:
|
|
|
|
public:
|
2022-07-29 16:27:18 -05:00
|
|
|
sf::VideoMode gameVideoMode;
|
|
|
|
sf::RenderWindow gameWindow;
|
2022-08-02 21:17:23 -05:00
|
|
|
GameState();
|
|
|
|
GameState(int newHorizontal, int newVertical);
|
|
|
|
void startNewGame();
|
2022-07-29 16:27:18 -05:00
|
|
|
/*
|
|
|
|
gameGridHorizontal = (videoSizeHorizontal // 25) * 25;
|
|
|
|
gameGridVertical = (videoSizeVertical // 25) * 25;
|
|
|
|
*/
|
2022-07-29 15:53:59 -05:00
|
|
|
// sf::Vector2f GetGameBoundaries();
|
2022-07-28 15:18:24 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|