summaryrefslogtreecommitdiff
path: root/src/View/MainWindow.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/View/MainWindow.hpp')
-rw-r--r--src/View/MainWindow.hpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/View/MainWindow.hpp b/src/View/MainWindow.hpp
index 89cce0f..aabdb09 100644
--- a/src/View/MainWindow.hpp
+++ b/src/View/MainWindow.hpp
@@ -3,6 +3,8 @@
#include <iostream>
#include <vector>
+#include <string>
+#include <sstream>
#include <SFML/Window.hpp>
#include <SFML/Graphics.hpp>
@@ -15,12 +17,15 @@ class MainWindow : public sf::RenderWindow{
int m_sizeCell;
int m_spaceBetweenCell;
sf::Vector2u m_windowSize;
+
public:
MainWindow(int width, int height, std::string title);
~MainWindow();
void clearBG();
- void drawCells();
+ void drawGrid(std::vector<std::vector<int> > grid);
+ void drawCell(int x, int y, int value);
sf::Color getCellColor(int value);
+
};