PageRenderTime 154ms CodeModel.GetById 60ms app.highlight 1ms RepoModel.GetById 49ms app.codeStats 8ms

/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
 4#include "Common.h"
 5#include "GamePiece.h"
 6#include "Snake.h"
 7
 8class Wall : public GamePiece
 9{
10    public:
11        Wall();
12        virtual ~Wall() { }
13        virtual bool handleCollision(Snake& snake, COLLISION_MAP_TYPE collisionMap[PIXEL_LINE_COUNT][PIXEL_LINE_COUNT]);
14    protected:
15    private:
16};
17
18#endif // WALL_H