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.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