add Save Text support and rework package

- move maze within package maze
This commit is contained in:
philippe lhardy
2020-10-17 21:08:16 +02:00
parent c3410838e1
commit c69d068caf
24 changed files with 590 additions and 385 deletions

View File

@@ -0,0 +1,27 @@
package org.artisanlogiciel.games.maze;
/**
* WallsProvider provide a Walls representation
**/
public interface WallsProvider
{
int getWidth();
int getHeight();
/**
* See Brick
*
* Will set bits :
* 3 2 1 0
* (8)(4)(2)(1)
* ^ > v <
* U R D L
* p i o e
* g w f
* h n t
* t
**/
short getWalls(int x, int y);
}