diff options
Diffstat (limited to 'gamestate.h')
-rw-r--r-- | gamestate.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gamestate.h b/gamestate.h index d1b90ad..28b85c0 100644 --- a/gamestate.h +++ b/gamestate.h | |||
@@ -29,6 +29,7 @@ class GameState : public State { | |||
29 | int playerx, playery; | 29 | int playerx, playery; |
30 | Level level; | 30 | Level level; |
31 | bool doneMaking; | 31 | bool doneMaking; |
32 | int gens; | ||
32 | }; | 33 | }; |
33 | 34 | ||
34 | class Board | 35 | class Board |
@@ -37,7 +38,6 @@ class GameState : public State { | |||
37 | bool blocks[WIDTH][HEIGHT]; | 38 | bool blocks[WIDTH][HEIGHT]; |
38 | void incrementIfNeighbor(int x, int y, bool temp[WIDTH][HEIGHT], int* tick); | 39 | void incrementIfNeighbor(int x, int y, bool temp[WIDTH][HEIGHT], int* tick); |
39 | GameState::Info* info; | 40 | GameState::Info* info; |
40 | int gens; | ||
41 | 41 | ||
42 | public: | 42 | public: |
43 | Board(); | 43 | Board(); |
@@ -51,7 +51,7 @@ class GameState : public State { | |||
51 | Uint32 player_color; | 51 | Uint32 player_color; |
52 | Uint32 event_color; | 52 | Uint32 event_color; |
53 | bool newGame; | 53 | bool newGame; |
54 | Info info; | 54 | Info* info; |
55 | Board board; | 55 | Board board; |
56 | void move(int x, int y); | 56 | void move(int x, int y); |
57 | }; | 57 | }; |