diff options
author | Daniel Jones <admin@danieljon.es> | 2020-06-14 21:57:47 +0930 |
---|---|---|
committer | Daniel Jones <admin@danieljon.es> | 2020-06-14 21:57:47 +0930 |
commit | 3a41ff521bd1e95a85bf93ac77d69108a1d9c0c5 (patch) | |
tree | b018937e0e6b768db1f84704efda9f1004309d5a /Tile.h | |
parent | 971db58ef48db64151a31d4857104ede69475996 (diff) | |
download | foxminesweeper-3a41ff521bd1e95a85bf93ac77d69108a1d9c0c5.tar.gz foxminesweeper-3a41ff521bd1e95a85bf93ac77d69108a1d9c0c5.zip |
work on getting new game working
new games work only if the width and height are the same values
Diffstat (limited to 'Tile.h')
-rw-r--r-- | Tile.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -44,7 +44,7 @@ class Tile void set_neighbor_mine_count(int count) { this->neighbor_mine_count = count; }; Tile *get_neighbor(int i); - Tile *neighbors[8]; // one day make private with getters/setters + Tile *neighbors[8] = {0}; // one day make private with getters/setters private: void set_flags(enum STATE flags) { this->flags = flags; }; int x; |