diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2009-06-18 21:04:49 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2009-06-18 21:04:49 -0400 |
commit | 1e3808b3338ff3b1499e000ce1f23e87d6050b8c (patch) | |
tree | 87429dc20246f1e76108cec688971a5c2af95181 /gamestate.h | |
parent | 36c808d619f742c97a949662e0fc6144a37d16d1 (diff) | |
download | mazeoflife-1e3808b3338ff3b1499e000ce1f23e87d6050b8c.tar.gz mazeoflife-1e3808b3338ff3b1499e000ce1f23e87d6050b8c.tar.bz2 mazeoflife-1e3808b3338ff3b1499e000ce1f23e87d6050b8c.zip |
Added the doneMaking process back
Fixes #102
Diffstat (limited to 'gamestate.h')
-rw-r--r-- | gamestate.h | 2 |
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(); |