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,9 +1,13 @@
package org.artisanlogiciel.games.maze;
import org.artisanlogiciel.games.maze.model.WidthHeightProvider;
/**
* Get model represented by possible moves
*/
public interface MovesProvider {
public interface MovesProvider
extends WidthHeightProvider
{
/** return possible moves from this position */
short getMoves(int x, int y);