Split Display (gui) and Maze (work), prepare for another model
- prepare for a shorter storage model without any resolution
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
package org.artisanlogiciel.games.maze;
|
||||
|
||||
import org.artisanlogiciel.games.maze.model.LabyModelProvider;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.LinkedList;
|
||||
import java.util.Random;
|
||||
@@ -12,10 +14,11 @@ import java.util.Random;
|
||||
* tagged CLOSED when fully processed
|
||||
**/
|
||||
public class LabyModel
|
||||
implements WallsProvider, MovesProvider {
|
||||
implements LabyModelProvider {
|
||||
|
||||
/**
|
||||
* WARNING don't change those values, they are used as it is for
|
||||
* WARNING don't change those va public short getPath(int x, int y) {
|
||||
lues, they are used as it is for
|
||||
* optimisation
|
||||
*/
|
||||
private final static short FLAGLENGTH = 7;
|
||||
|
||||
Reference in New Issue
Block a user