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,29 @@
package org.artisanlogiciel.games.maze;
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();
}