summary refs log tree commit diff stats
path: root/gamestate.h
diff options
context:
space:
mode:
Diffstat (limited to 'gamestate.h')
-rw-r--r--gamestate.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gamestate.h b/gamestate.h index 5537b51..7d9d798 100644 --- a/gamestate.h +++ b/gamestate.h
@@ -28,6 +28,7 @@ class GameState : public State {
28 struct Info { 28 struct Info {
29 int playerx, playery; 29 int playerx, playery;
30 Level level; 30 Level level;
31 bool doneMaking;
31 }; 32 };
32 33
33 class Board 34 class Board
@@ -36,6 +37,7 @@ class GameState : public State {
36 bool blocks[WIDTH][HEIGHT]; 37 bool blocks[WIDTH][HEIGHT];
37 void incrementIfNeighbor(int x, int y, bool temp[WIDTH][HEIGHT], int* tick); 38 void incrementIfNeighbor(int x, int y, bool temp[WIDTH][HEIGHT], int* tick);
38 GameState::Info* info; 39 GameState::Info* info;
40 int gens;
39 41
40 public: 42 public:
41 Board(); 43 Board();