create lab directory in parent
abstract MazeParams to be able to set them easily doit.sh support new class creation updated README Signed-off-by: philippe lhardy <philippe@pavilionartlogiciel>
This commit is contained in:
@@ -74,6 +74,15 @@ implements WallsProvider
|
||||
t= new short[width][height];
|
||||
}
|
||||
|
||||
public LabyModel(MazeParams params, Random random){
|
||||
this.width=params.getWidth();
|
||||
this.height=params.getHeight();
|
||||
this.maxdepth=params.getMaxDepth();
|
||||
this.random = random;
|
||||
// CLEAR == 0 and array is initialized with 0s
|
||||
t= new short[width][height];
|
||||
}
|
||||
|
||||
public LabyModel(String pFormat, InputStream pIn)
|
||||
throws IOException
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user