/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package poulproj05;

/**
 *
 * @author marsh
 */
public class Creature {
    private int x_, y_;
    private Maze maze_;
    
    public void setMaze(Maze maze)
    {
        maze_ = maze;
        x_ = maze.getStartX();
        y_ = maze.getStartY();
    }
    
    public boolean moveNorth()
    {
        
    }
    public boolean moveSouth()
    {
        
    }
    public boolean moveWest()
    {
        
    }
    public boolean moveEast()
    {
        
    }
    public void MarkPosition()
    {
        maze_[x][y] = "m";//set this to the proper letter
    }
    public int[] reportPosition()
    {
        return new int[]{x_, y_};
    }
}

@@ -392,32 +392,125 @@
 )%0A    %7B%0A        
+if(maze.isClear(x_, y_ +1))%0A        %7B%0A            y_++;%0A            MarkPosition();%0A        %7D
 %0A    %7D%0A    publi
@@ -717,11 +717,17 @@
 %5D = 
-%22m%22
+Maze.PATH
 ;//s

Update Creature.java