bot
Interface ConfigurableBoardGenerator
- All Superinterfaces:
- BoardGenerator
- All Known Implementing Classes:
- ConfigurableBoard
- public interface ConfigurableBoardGenerator
- extends BoardGenerator
|
Method Summary |
int |
getDifficulty()
|
int |
getDifficulty(int low,
int high)
Return difficulty, rescaled to [low, high] |
int |
getDifficulty(int low,
int med,
int high)
Return difficulty, rescaled to [low, med, high]. |
void |
setDifficulty(int v)
set difficulty to a number from 0 (trivial) to 100 (very hard) |
TRIVIAL
public static final int TRIVIAL
- See Also:
- Constant Field Values
EASY
public static final int EASY
- See Also:
- Constant Field Values
MEDIUM
public static final int MEDIUM
- See Also:
- Constant Field Values
HARD
public static final int HARD
- See Also:
- Constant Field Values
VERY_HARD
public static final int VERY_HARD
- See Also:
- Constant Field Values
BIG
public static final int BIG
- See Also:
- Constant Field Values
SMALL
public static final int SMALL
- See Also:
- Constant Field Values
DEFAULT_DIFFICULTY
public static final int DEFAULT_DIFFICULTY
- See Also:
- Constant Field Values
setDifficulty
public void setDifficulty(int v)
- set difficulty to a number from 0 (trivial) to 100 (very hard)
getDifficulty
public int getDifficulty()
getDifficulty
public int getDifficulty(int low,
int high)
- Return difficulty, rescaled to [low, high]
getDifficulty
public int getDifficulty(int low,
int med,
int high)
- Return difficulty, rescaled to [low, med, high]. Will use a
parabolic curve to hit all three points. med maps to 50.
low needs to be >= 1.