summary refs log tree commit diff stats
path: root/board.h
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2009-06-18 17:20:59 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2009-06-18 17:20:59 -0400
commit71045152800ab0cc0dce6ec70dba9d7f9bb9dab5 (patch)
tree7a2f76780cfd16ecf22ff82a0229631b83f5cd0a /board.h
parent024d098c686ae971176332d91db91582ad353c17 (diff)
downloadmazeoflife-71045152800ab0cc0dce6ec70dba9d7f9bb9dab5.tar.gz
mazeoflife-71045152800ab0cc0dce6ec70dba9d7f9bb9dab5.tar.bz2
mazeoflife-71045152800ab0cc0dce6ec70dba9d7f9bb9dab5.zip
Started Board class
Diffstat (limited to 'board.h')
-rw-r--r--board.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/board.h b/board.h new file mode 100644 index 0000000..e2dcd8d --- /dev/null +++ b/board.h
@@ -0,0 +1,17 @@
1#ifndef BOARD_H
2#define BOARD_H
3
4class Board
5{
6 private:
7 Uint32 on;
8 Uint32 off;
9 bool blocks[WIDTH][HEIGHT];
10
11 public:
12 Board();
13 bool isObstructed(int x, int y);
14 void render(SDL_Surface* screen);
15};
16
17#endif