public int GetReward(int x, int y)
{
//TODO
if (this.InMaze(x, y)) {
if (this.Maze[y,x] == CWall)
{
return this.RWall;
}
if (this.Maze[y, x] == CEmpty)
{
return this.REmpty;
}
if (this.Maze[y, x] == CCheese)
{
return this.RCheese;
}
}
return this.OutsideMazeReward;
}