diff options
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 24 |
1 files changed, 6 insertions, 18 deletions
diff --git a/src/main.cpp b/src/main.cpp index 0d3b950..597ce39 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,25 +1,13 @@ -#include <SFML/Graphics.hpp> +#include <iostream> #include <string> +#include "Model/Grid.hpp" + int main() { - sf::RenderWindow window(sf::VideoMode(200, 200), "SFML works!"); - sf::CircleShape shape(100.f); - shape.setFillColor(sf::Color::Green); - - while (window.isOpen()) - { - sf::Event event; - while (window.pollEvent(event)) - { - if (event.type == sf::Event::Closed) - window.close(); - } + Grid * grid = new Grid(); - window.clear(); - window.draw(shape); - window.display(); - } + grid->description(); - return 0; + return 0; } |
