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.
This commit is contained in:
11
java/org/artisanlogiciel/games/maze/MovesProvider.java
Normal file
11
java/org/artisanlogiciel/games/maze/MovesProvider.java
Normal file
@@ -0,0 +1,11 @@
|
||||
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);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user