Player.java

/**
*/
public class Player
{
    protected String name;
    public int xpos,ypos; // XXX Should have accessors/mutators.


    public Player(String name)
    {
        this.name = name;
        xpos = 0;
        ypos = 0;
    }


    public String getName()
    {
        return name;
    }
}