- prepare for short save allowing to fully recreate initial lab having only seed and x,y,depth paramters
30 lines
535 B
Java
30 lines
535 B
Java
package org.artisanlogiciel.games;
|
|
|
|
import java.io.File;
|
|
|
|
/**
|
|
* MazeParams contains parameters for a Maze generation
|
|
**/
|
|
public interface MazeParams
|
|
{
|
|
/** currently seed of java.util.random **/
|
|
public long getSeed();
|
|
|
|
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();
|
|
|
|
}
|