Quickly draw basic grid (no reliable code)
This commit is contained in:
parent
ce3f721e16
commit
7f0edabb5d
3 changed files with 35 additions and 9 deletions
|
@ -10,11 +10,15 @@
|
|||
class MainWindow : public sf::RenderWindow{
|
||||
|
||||
private:
|
||||
std::vector<sf::Color> skin;
|
||||
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 clearMW();
|
||||
void clearBG();
|
||||
void drawCells();
|
||||
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue