/Wall.h

http://github.com/adamldoyle/Snake · C Header · 18 lines · 15 code · 3 blank · 0 comment · 0 complexity · fb1cd48bb9cdad1dfae0b7f714e54b77 MD5 · raw file

  1. #ifndef WALL_H
  2. #define WALL_H
  3. #include "Common.h"
  4. #include "GamePiece.h"
  5. #include "Snake.h"
  6. class Wall : public GamePiece
  7. {
  8. public:
  9. Wall();
  10. virtual ~Wall() { }
  11. virtual bool handleCollision(Snake& snake, COLLISION_MAP_TYPE collisionMap[PIXEL_LINE_COUNT][PIXEL_LINE_COUNT]);
  12. protected:
  13. private:
  14. };
  15. #endif // WALL_H