// Stuart Reges // 12/03/04 // // The Critter interface defines the methods necessary for an animal to // participate in the critter simulation. It must return a character // when getChar is called that is used for displaying it on the screen. // The getMove method returns a legal move (one of the constants NORTH, // SOUTH, EAST, WEST). public interface Critter { public char getChar(); public int getMove(); public static final int NORTH = 0; public static final int SOUTH = 1; public static final int EAST = 2; public static final int WEST = 3; }