Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
G
- GAME_SIZE - Static variable in class nz.ac.vuw.ecs.swen225.gp22.util.GameConstants
-
Dimension of square game panel.
- GAME_WINDOW_SIZE - Static variable in class nz.ac.vuw.ecs.swen225.gp22.util.GameConstants
-
Width and Height of game panel.
- GameButton - Class in nz.ac.vuw.ecs.swen225.gp22.app
-
GameButton is button with set colors to make it match consistently across UI.
- GameButton(String, Dimension, ActionListener) - Constructor for class nz.ac.vuw.ecs.swen225.gp22.app.GameButton
-
Normal button.
- GameButton(String, Dimension, ActionListener, String) - Constructor for class nz.ac.vuw.ecs.swen225.gp22.app.GameButton
-
Button with image or icon.
- gameComplete() - Static method in class nz.ac.vuw.ecs.swen225.gp22.domain.Maze
- GameCompleted - Enum constant in enum class nz.ac.vuw.ecs.swen225.gp22.app.GameDialog.PopUp
-
For defining a Game Won pop-up.
- GameConstants - Class in nz.ac.vuw.ecs.swen225.gp22.util
-
This class stores the constants needed for the dimensions of the objects within the maze, as well as the colors used and sizes of the window they will be displayed on.
- GameConstants() - Constructor for class nz.ac.vuw.ecs.swen225.gp22.util.GameConstants
- GameDialog - Class in nz.ac.vuw.ecs.swen225.gp22.app
-
Creates Pop-up boxes for our game.
- GameDialog(Base, int) - Constructor for class nz.ac.vuw.ecs.swen225.gp22.app.GameDialog
-
Pop-up for Next Level.
- GameDialog(Base, String) - Constructor for class nz.ac.vuw.ecs.swen225.gp22.app.GameDialog
-
For error pop-ups.
- GameDialog(Base, GameDialog.PopUp) - Constructor for class nz.ac.vuw.ecs.swen225.gp22.app.GameDialog
-
New Dialog window, can create four types based on type passed in.
- GameDialog.PopUp - Enum Class in nz.ac.vuw.ecs.swen225.gp22.app
-
For selecting different pop-ups.
- GameMenuBar - Class in nz.ac.vuw.ecs.swen225.gp22.app
-
Menu bar for game.
- GameMenuBar(Base) - Constructor for class nz.ac.vuw.ecs.swen225.gp22.app.GameMenuBar
-
Modular menu bar for the program.
- GameMenuItem - Class in nz.ac.vuw.ecs.swen225.gp22.app
-
Game menu item to add to menu bar.
- GameMenuItem(String, ActionListener) - Constructor for class nz.ac.vuw.ecs.swen225.gp22.app.GameMenuItem
-
Menu item with name and action.
- GameMenuItem(String, ActionListener, int, ImageIcon) - Constructor for class nz.ac.vuw.ecs.swen225.gp22.app.GameMenuItem
-
Menu item with icon.
- GameOver - Enum constant in enum class nz.ac.vuw.ecs.swen225.gp22.app.GameDialog.PopUp
-
For defining a GameOver pop-up.
- GameState - Class in nz.ac.vuw.ecs.swen225.gp22.recorder
-
The game state class to store the game state.
- GameState(int, int) - Constructor for class nz.ac.vuw.ecs.swen225.gp22.recorder.GameState
-
Create a new game state.
- GameState(int, int, List<Action>) - Constructor for class nz.ac.vuw.ecs.swen225.gp22.recorder.GameState
-
Add an action to the game state.
- gameWon() - Static method in class nz.ac.vuw.ecs.swen225.gp22.domain.Maze
- generateMap(Maze.Point, int, int) - Static method in class nz.ac.vuw.ecs.swen225.gp22.domain.Maze
-
Generates a new map.
- getAction(Action) - Method in class nz.ac.vuw.ecs.swen225.gp22.app.Base
-
Transforms Recorder Action into Domain Action.
- getAllComponents() - Method in class nz.ac.vuw.ecs.swen225.gp22.app.PhasePanel
-
Get all components in window.
- getAllKeys() - Method in class nz.ac.vuw.ecs.swen225.gp22.domain.Player
- getChangeMap() - Static method in class nz.ac.vuw.ecs.swen225.gp22.domain.Maze
- getClassLoader() - Static method in class nz.ac.vuw.ecs.swen225.gp22.persistency.Load
-
returns the current URLClassLoader.
- getClip() - Method in class nz.ac.vuw.ecs.swen225.gp22.renderer.SFX
- getClipName() - Method in class nz.ac.vuw.ecs.swen225.gp22.renderer.SFX
- getColor() - Method in class nz.ac.vuw.ecs.swen225.gp22.domain.ColorableTile
- getDimensions() - Static method in class nz.ac.vuw.ecs.swen225.gp22.domain.Maze
- getDir() - Method in class nz.ac.vuw.ecs.swen225.gp22.domain.BouncyPad
- getDir() - Method in class nz.ac.vuw.ecs.swen225.gp22.domain.Entity
- getEntities() - Method in class nz.ac.vuw.ecs.swen225.gp22.persistency.Parser
-
Parse the entities from the file.
- getEntity(int) - Static method in class nz.ac.vuw.ecs.swen225.gp22.domain.Maze
-
Finds an entity based on its ID, used for replaying and rewinding moves.
- getFile() - Method in class nz.ac.vuw.ecs.swen225.gp22.persistency.LoadTest
-
Test if the getFile method loads the file with the correct name.
- getFile(String) - Static method in class nz.ac.vuw.ecs.swen225.gp22.persistency.Load
-
Loads and returns a file using the provided file name.
- getGameWindow() - Method in class nz.ac.vuw.ecs.swen225.gp22.app.Base
-
Gets the game window.
- getIcon(String) - Method in class nz.ac.vuw.ecs.swen225.gp22.app.GameMenuBar
-
Get icon to put on menuitem.
- getID(Class<? extends Tile>) - Static method in class nz.ac.vuw.ecs.swen225.gp22.domain.TileDatabase
-
Gets the ID of a tile class.
- getID(Tile) - Static method in class nz.ac.vuw.ecs.swen225.gp22.domain.TileDatabase
-
Overloaded method for getID() with Tile object as the parameter.
- getIDTest() - Method in class nz.ac.vuw.ecs.swen225.gp22.domain.DomainTest
-
Checks that the correct ID is given when using the getID() methods.
- getLevel() - Static method in class nz.ac.vuw.ecs.swen225.gp22.app.Base
-
Returns current level.
- getLevel() - Method in class nz.ac.vuw.ecs.swen225.gp22.persistency.Parser
-
Get the level that is stored in the save file.
- getLevel() - Method in class nz.ac.vuw.ecs.swen225.gp22.recorder.Parser
- getNextLevel() - Static method in class nz.ac.vuw.ecs.swen225.gp22.domain.Maze
- getNumKeysCollected() - Method in class nz.ac.vuw.ecs.swen225.gp22.persistency.Parser
-
Get the number of keys the player has collected Should only be used for saveFiles, not levels
- getPos() - Method in class nz.ac.vuw.ecs.swen225.gp22.domain.Entity
- getPos() - Method in class nz.ac.vuw.ecs.swen225.gp22.domain.Tile
- getPreviousGameInfo() - Method in class nz.ac.vuw.ecs.swen225.gp22.persistency.LoadTest
-
Is previousGameInfo correct.
- getPreviousGameInfoNotPresent() - Method in class nz.ac.vuw.ecs.swen225.gp22.persistency.LoadTest
-
previousGameInfo is default when no previous game is present.
- getSpeed() - Method in class nz.ac.vuw.ecs.swen225.gp22.domain.EnemyEntity
- getStates() - Method in class nz.ac.vuw.ecs.swen225.gp22.recorder.Parser
-
Gets the list of actions from the document.
- getStringState() - Static method in class nz.ac.vuw.ecs.swen225.gp22.domain.Maze
- getText() - Method in class nz.ac.vuw.ecs.swen225.gp22.domain.InfoField
- getTile(Maze.Point) - Static method in class nz.ac.vuw.ecs.swen225.gp22.domain.Maze
-
Finds a Tile using the tilemap given a point.
- getTiles() - Method in class nz.ac.vuw.ecs.swen225.gp22.persistency.Parser
-
Parses all the tiles in the file into a list of tile objects.
- getTime() - Static method in class nz.ac.vuw.ecs.swen225.gp22.app.Base
-
Returns current game time.
- getTime() - Method in class nz.ac.vuw.ecs.swen225.gp22.persistency.Parser
-
Get the amount of time that has passed in a save file.
- getTime() - Method in class nz.ac.vuw.ecs.swen225.gp22.recorder.GameState
-
Get the time of the game state.
- getTreasuresLeft() - Static method in class nz.ac.vuw.ecs.swen225.gp22.domain.Maze
- globalID - Static variable in class nz.ac.vuw.ecs.swen225.gp22.domain.Maze
-
Used to make entity IDs.
- Green - Enum constant in enum class nz.ac.vuw.ecs.swen225.gp22.domain.ColorableTile.Color
-
Represents a green color value.
- GreenKey - Enum constant in enum class nz.ac.vuw.ecs.swen225.gp22.renderer.Img
-
The green key image.
- GreenKeyNB - Enum constant in enum class nz.ac.vuw.ecs.swen225.gp22.renderer.Img
-
The green key image without background for inventory display.
- GreenLockedDoor - Enum constant in enum class nz.ac.vuw.ecs.swen225.gp22.renderer.Img
-
The green locked door image.
- Ground - Class in nz.ac.vuw.ecs.swen225.gp22.domain
-
Represents an empty tile.
- Ground(Maze.Point) - Constructor for class nz.ac.vuw.ecs.swen225.gp22.domain.Ground
-
Default constructor, sets the position of the tile, and obstructiveness to false.
- GummyGuard - Class in nz.ac.vuw.ecs.swen225.gp22.domain
-
Deprecated.
- GummyGuard(Maze.Point, Entity.Direction) - Constructor for class nz.ac.vuw.ecs.swen225.gp22.domain.GummyGuard
-
Deprecated.Default constructor, sets the position, direction, and speed of the enemy.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form