package maze; /** * ABox is an arrival Box. * It's the last Box to be walked through and * it's an exit to the Maze. */ public class ABox extends EBox{ public ABox (String label, int x, int y, Maze maze) { super(label, x, y, maze); } @Override public boolean isArrival() { return true; } }