Files
artloglaby/java/org/artisanlogiciel/games/maze/MovesProvider.java
philippe lhardy 81441d7f17 Add reverse that allow to switch interior/exterior of a labyrinth
- invert create a new labyrinth walls are path of previous.
  - grow then new labrynth is bigger, else shrink.
2020-12-09 23:02:29 +01:00

12 lines
215 B
Java

package org.artisanlogiciel.games.maze;
/**
* Get model represented by possible moves
*/
public interface MovesProvider {
/** return possible moves from this position */
short getMoves(int x, int y);
}