Split Display (gui) and Maze (work), prepare for another model

- prepare for a shorter storage model without any resolution
This commit is contained in:
philippe lhardy
2020-12-20 19:18:17 +01:00
parent a70ead877a
commit e146199ba0
15 changed files with 720 additions and 450 deletions

View File

@@ -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;