jackson databind import
- and some reowrk to use Position more than (x,y) parameters
This commit is contained in:
@@ -1,9 +1,6 @@
|
||||
package org.artisanlogiciel.games.maze.gui;
|
||||
|
||||
import org.artisanlogiciel.games.maze.LabyModel;
|
||||
import org.artisanlogiciel.games.maze.Maze;
|
||||
import org.artisanlogiciel.games.maze.MazeParams;
|
||||
import org.artisanlogiciel.games.maze.MazeParamsFixed;
|
||||
import org.artisanlogiciel.games.maze.*;
|
||||
import org.artisanlogiciel.games.maze.model.WidthHeightProvider;
|
||||
import org.artisanlogiciel.games.maze.persist.MazePersistRaw;
|
||||
import org.artisanlogiciel.games.maze.solve.SolvingModel;
|
||||
@@ -195,21 +192,20 @@ implements StatusListener
|
||||
}
|
||||
|
||||
void goNorth() {
|
||||
maze.goNorth();
|
||||
maze.goTo(Brick.UP);
|
||||
}
|
||||
|
||||
void goSouth() {
|
||||
maze.goSouth();
|
||||
maze.goTo(Brick.DOWN);
|
||||
}
|
||||
|
||||
void goEast() {
|
||||
maze.goEast();
|
||||
maze.goTo(Brick.RIGHT);
|
||||
}
|
||||
|
||||
void goWest() {
|
||||
maze.goWest();
|
||||
maze.goTo(Brick.LEFT);
|
||||
}
|
||||
|
||||
void setWallSize(int size) {
|
||||
maze.setWallSize(size);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user