blob: 3b13e0cfeff0f2db0a5d35917ba10e46bf478281 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#include <iostream>
#include <vector>
#include <SFML/Window.hpp>
#include <SFML/Graphics.hpp>
class MainWindow : public sf::RenderWindow{
private:
std::vector<sf::Color> m_skin;
int m_windowMargin;
int m_sizeCell;
int m_spaceBetweenCell;
public:
MainWindow(int width, int height, std::string title);
~MainWindow();
void clearBG();
void drawCells();
};
|