From 71045152800ab0cc0dce6ec70dba9d7f9bb9dab5 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Thu, 18 Jun 2009 17:20:59 -0400 Subject: Started Board class --- board.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 board.h (limited to 'board.h') diff --git a/board.h b/board.h new file mode 100644 index 0000000..e2dcd8d --- /dev/null +++ b/board.h @@ -0,0 +1,17 @@ +#ifndef BOARD_H +#define BOARD_H + +class Board +{ + private: + Uint32 on; + Uint32 off; + bool blocks[WIDTH][HEIGHT]; + + public: + Board(); + bool isObstructed(int x, int y); + void render(SDL_Surface* screen); +}; + +#endif -- cgit 1.4.1