diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2009-06-18 18:02:54 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2009-06-18 18:02:54 -0400 |
commit | 7b92903af52dbdf4b0dbfa10dc45345531d88595 (patch) | |
tree | d27f2ca24df37788a110919c5395faa3962b12d4 /level.h | |
parent | 71045152800ab0cc0dce6ec70dba9d7f9bb9dab5 (diff) | |
download | mazeoflife-7b92903af52dbdf4b0dbfa10dc45345531d88595.tar.gz mazeoflife-7b92903af52dbdf4b0dbfa10dc45345531d88595.tar.bz2 mazeoflife-7b92903af52dbdf4b0dbfa10dc45345531d88595.zip |
Added Level class
Diffstat (limited to 'level.h')
-rw-r--r-- | level.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/level.h b/level.h new file mode 100644 index 0000000..1cbb46f --- /dev/null +++ b/level.h | |||
@@ -0,0 +1,20 @@ | |||
1 | #ifndef LEVEL_H | ||
2 | #define LEVEL_H | ||
3 | |||
4 | class Level | ||
5 | { | ||
6 | private: | ||
7 | int level; | ||
8 | Uint32 alive[5]; | ||
9 | Uint32 dead[5]; | ||
10 | |||
11 | public: | ||
12 | Level(); | ||
13 | int getLevel(); | ||
14 | int getLevelGroup(); | ||
15 | bool checkSquare(int x, int y); | ||
16 | Uint32 getAliveColor(); | ||
17 | Uint32 getDeadColor(); | ||
18 | }; | ||
19 | |||
20 | #endif | ||