1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 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