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:
philippe lhardy
2015-02-18 21:06:37 +01:00
parent 894e5c7970
commit 7d8ce42c15
5 changed files with 151 additions and 23 deletions

View File

@@ -0,0 +1,24 @@
package org.artisanlogiciel.games;
import java.io.File;
/**
MazeParams was autogenerated by ./generate_newclass.sh
**/
public interface MazeParams
{
public int getWidth();
public int getHeight();
public int getMaxDepth();
/**
@return name of Maze, used for creating filename at saving time
*/
public String getName();
/**
@return directory owning where to save a maze
*/
public File getSaveDir();
}