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:
24
java/org/artisanlogiciel/games/MazeParams.java
Normal file
24
java/org/artisanlogiciel/games/MazeParams.java
Normal 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();
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user