Files
TpMazeJava/src/maze/ABox.java
T
regar42 e8896556bc Normalize code and fix saveToTextFile
* Normalize spaces and blank lines according to Java Code Conventions
  from Java SE 8
* Wrap code to 80 characters per line (Java Code Conventions for Java SE
  8)
* Fix saveToTextFile() in Maze : same confusion that was fixed in bc1886ca
  for initFromTextFile() (x et y coordinates were respectively used as y
  and x)
2017-12-14 21:53:49 +01:00

19 lines
358 B
Java

package maze;
/**
* <code>ABox</code> is an arrival <code>Box</code>.
* It's the last <code>Box</code> to be walked through and
* it's an exit to the <code>Maze</code>.
*/
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;
}
}