- scram(ScramState) - Method in class game.Explorer
-
Get out of the cavern before the ceiling collapses, trying to collect as much
gold as possible along the way.
- scram(ScramState) - Method in class student.Indiana
-
Get out the cavern before the ceiling collapses, trying to collect as much
gold as possible along the way.
- ScramState - Interface in game
-
Scram means to get out, to run away.
- SCREEN_HEIGHT - Static variable in class gui.GUI
-
- SCREEN_WIDTH - Static variable in class gui.GUI
-
- selectNode(Node) - Method in class gui.GUI
-
Select node n on the GUI.
- selectNode(Node) - Method in class gui.TileSelectPanel
-
Select node n on the GUI.
- serialize() - Method in class game.Cavern
-
Serialize this cavern to a list of strings which can be written out to a file.
- setLighting(boolean) - Method in class gui.GUI
-
Set the cavern to be all light or all dark, depending on light.
- setLighting(boolean) - Method in class gui.MazePanel
-
Set the cavern to be all light (light = true) or all dark.
- setVisited(int, int) - Method in class gui.MazePanel
-
Update the GUI to inform it that tile (row, col) was visited.
- shortestPath(Node, Node) - Static method in class student.Paths
-
Return a list of the nodes on the shortest path from start to
end, or the empty list if a path does not exist.
- size() - Method in class student.Heap
-
Return the number of values in this heap.
- sprite() - Method in class gui.ExplorerSprite
-
Return the image representing the current state of the explorer.
- Sprite - Class in gui
-
Maintains information about a sprite for the GUI.
- Sprite(String, int, int, int) - Constructor for class gui.Sprite
-
Constructor: an instance with image at imageLoc, of size (width, height),
and number of frames in the animation cycleSize.
- stepsLeft() - Method in class game.GameState
-
- stepsLeft() - Method in interface game.ScramState
-
Return the steps remaining to get out of the cavern.
- student - package student
-