summary refs log tree commit diff stats
path: root/board.h
diff options
context:
space:
mode:
Diffstat (limited to 'board.h')
-rw-r--r--board.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/board.h b/board.h index e2dcd8d..fdeefc9 100644 --- a/board.h +++ b/board.h
@@ -4,14 +4,13 @@
4class Board 4class Board
5{ 5{
6 private: 6 private:
7 Uint32 on;
8 Uint32 off;
9 bool blocks[WIDTH][HEIGHT]; 7 bool blocks[WIDTH][HEIGHT];
10 8
11 public: 9 public:
12 Board(); 10 Board();
11 Board(Level level);
13 bool isObstructed(int x, int y); 12 bool isObstructed(int x, int y);
14 void render(SDL_Surface* screen); 13 void render(SDL_Surface* screen, Level level);
15}; 14};
16 15
17#endif 16#endif