#ifndef __GAMEBOARD_H__
#define __GAMEBOARD_H__
-enum { GTSpace=0x00, GTWall=0x01, GTBox=0x02, GTBoxSpot=0x04 };
+enum { GTSpace=0x00, GTWall=0x01, GTBox=0x02, GTBoxSpot=0x04, GTNull=0x08, GTMan=0x10 };
enum { PMInvalid, PMWalk, PMPush };
struct UndoMove
int dx, dy, type;
};
+class Level;
+
class GameBoard
{
public:
GameBoard(int);//, int, int, int);
+ GameBoard(Level *);
~GameBoard();
protected:
int playerX, playerY; // Player X/Y are zero-based
int width, height;
char * board;
+ const char * name;
private:
char * initialBoard;