Untitled
#pragma once #include <SFML/Graphics.hpp> class Field { public: Field(); void reset(); void draw(sf::Sprite &sprite, sf::RenderWindow &window) const; void checkLines(int &score); bool isGameOver() const; void setGameOver(bool status); int field[23][10]; int M, N; private: bool gameOver; };
Leave a Comment