- game - package game
-
- GAME_HEIGHT_PROP - Static variable in class gui.GUI
-
- GAME_WIDTH_PROP - Static variable in class gui.GUI
-
- GameState - Class in game
-
- getCol() - Method in class gui.ExplorerSprite
-
Return the explorer's column on the grid.
- getColumn() - Method in class game.Tile
-
Return the column of this Tile.
- getColumnCount() - Method in class game.Cavern
-
Return the number of columns in the grid.
- getCurrentLocation() - Method in interface game.ExplorationState
-
Return the unique identifier associated with your current location.
- getCurrentLocation() - Method in class game.GameState
-
Returns the unique id of the current location.
- getCurrentNode() - Method in interface game.EscapeState
-
Return your current location in the graph.
- getCurrentNode() - Method in class game.GameState
-
- getDest() - Method in class game.Edge
-
Return the destination of this edge.
- getDistanceToTarget() - Method in interface game.ExplorationState
-
Return your current distance along the grid (NOT THE GRAPH) from the target.
- getDistanceToTarget() - Method in class game.GameState
-
Returns the distance from your current location to the target location on the map.
- getDistanceToTarget() - Method in class game.NodeStatus
-
Return the distance to the orb from the Node that corresponds to
this NodeStatus.
- getEdge(Node) - Method in class game.Node
-
Returns the Edge of this Node that connects to q.
- getEntrance() - Method in class game.Cavern
-
Return the node corresponding to the entrance to the cavern.
- getExit() - Method in interface game.EscapeState
-
Return the exit from the cavern.
- getExit() - Method in class game.GameState
-
- getExits() - Method in class game.Node
-
Return an unmodifiable set of Edges leaving this Node.
- getFirst() - Method in class game.Pair
-
Return the first object in this Pair.
- getGold() - Method in class game.Tile
-
Return the amount of gold on this Tile.
- getGoldIcon(Node) - Method in class gui.GUI
-
Return an icon for the gold on tile n, or null otherwise.
- getGoldIcon(Node) - Method in class gui.MazePanel
-
Return an icon for the gold on tile n, or null otherwise.
- getGraph() - Method in class game.Cavern
-
Return the set of all nodes in the graph.
- getIcon(Tile.Type) - Method in class gui.GUI
-
Return an image representing tile type.
- getIcon(Tile.Type) - Method in class gui.MazePanel
-
Return an image representing tile type type.
- getId() - Method in class game.Node
-
Return the unique Identifier of this Node.
- getId() - Method in class game.NodeStatus
-
Return the Id of the Node that corresponds to this NodeStatus.
- getNeighbors() - Method in interface game.ExplorationState
-
Returns an unordered collection of NodeStatus objects
associated with all direct neighbors of your current location.
- getNeighbors() - Method in class game.GameState
-
Returns a collection of NodeStatus objects which contain the unique ID of the node
and the distance from that node to the target.
- getNeighbors() - Method in class game.Node
-
Return an unmodifiable set Nodes neighboring this Node.
- getNodeAt(int, int) - Method in class game.Cavern
-
Return the node at position (r, c).
- getOriginalGold() - Method in class game.Tile
-
Return the original amount of gold on this tile (even if picked up.)
- getOther(Node) - Method in class game.Edge
-
Return the Node on this Edge that is not equal to n.
- getPoint() - Method in enum game.Cavern.Direction
-
Return the direction.
- getRow() - Method in class game.Tile
-
Return the row of this Tile.
- getRow() - Method in class gui.ExplorerSprite
-
Return the explorer's row on the grid.
- getRowCount() - Method in class game.Cavern
-
Return the number of rows in the grid.
- getSecond() - Method in class game.Pair
-
Return the second object in this Pair.
- getSource() - Method in class game.Edge
-
Return the source of this edge.
- getSprite(int, int) - Method in class gui.Sprite
-
Return offset (dRow, dCol) into the spritesheet.
- getTarget() - Method in class game.Cavern
-
Return the target node in this cavern.
- getTile() - Method in class game.Node
-
Return the Tile corresponding to this Node.
- getTileAt(int, int) - Method in class game.Cavern
-
Return the Tile information for (r, c).
- getTimeRemaining() - Method in interface game.EscapeState
-
Return the time remaining to escape from the cavern.
- getTimeRemaining() - Method in class game.GameState
-
- getType() - Method in class game.Tile
-
Returns the Type of this Tile.
- getVertices() - Method in interface game.EscapeState
-
Return all the nodes in the graph, in no particular order.
- getVertices() - Method in class game.GameState
-
- gui - package gui
-
- GUI - Class in gui
-
An instance is a GUI for the game.
- GUI(Cavern, int, int, long) - Constructor for class gui.GUI
-