Untitled
unknown
plain_text
a year ago
327 B
7
Indexable
#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;
};Editor is loading...
Leave a Comment