Package | Description |
---|---|
game | |
gui |
Modifier and Type | Method and Description |
---|---|
static Cavern |
Cavern.deserialize(java.util.List<java.lang.String> nodeStrList)
Convert nodeStrList into a Cavern and return it.
|
static Cavern |
Cavern.digEscapeCavern(int rows,
int cols,
int currentRow,
int currentCol,
java.util.Random rand)
Return a new random Cavern of size (rows, cols) with random
gold and edge weights.
|
static Cavern |
Cavern.digExploreCavern(int rows,
int cols,
java.util.Random rand)
Return a new random Cavern of size (rows, cols) with no gold.
|
Modifier and Type | Method and Description |
---|---|
void |
GUI.updateCavern(Cavern c,
int numStepsRemaining)
What is the specification?
|
Constructor and Description |
---|
GUI(Cavern cavern,
int playerRow,
int playerCol,
long seed) |
MazePanel(Cavern cav,
int screenWidth,
int screenHeight,
GUI gui)
Create a new MazePanel of a given size
|