Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
S
- save() - Method in class nz.ac.vuw.ecs.swen225.gp22.recorder.Recorder
-
Save the recorded actions to a xml file.
- Save - Class in nz.ac.vuw.ecs.swen225.gp22.persistency
-
Used to save the current game.
- Save - Enum constant in enum class nz.ac.vuw.ecs.swen225.gp22.app.GameDialog.PopUp
-
For defining a Save pop-up.
- Save() - Constructor for class nz.ac.vuw.ecs.swen225.gp22.persistency.Save
- saveExit() - Method in class nz.ac.vuw.ecs.swen225.gp22.app.Base
-
Saves the game and then exits.
- saveGame() - Method in class nz.ac.vuw.ecs.swen225.gp22.app.Base
-
Save the current game.
- saveGame() - Static method in class nz.ac.vuw.ecs.swen225.gp22.persistency.Save
-
Save current game as xml.
- saveGame() - Method in class nz.ac.vuw.ecs.swen225.gp22.persistency.SaveTest
-
Test to see if the save method can save a level.
- saveInventory() - Method in class nz.ac.vuw.ecs.swen225.gp22.persistency.SaveTest
-
Test to see if the save method can save the inventory of the player.
- saveInventory(Element) - Static method in class nz.ac.vuw.ecs.swen225.gp22.persistency.Save
-
Save inventory to xml element.
- saveLevel2() - Method in class nz.ac.vuw.ecs.swen225.gp22.persistency.SaveTest
-
Test to see if the save method can save level 2 correctly.
- SaveTest - Class in nz.ac.vuw.ecs.swen225.gp22.persistency
-
Tests for Save class.
- SaveTest() - Constructor for class nz.ac.vuw.ecs.swen225.gp22.persistency.SaveTest
- setAction(int, Runnable) - Method in class nz.ac.vuw.ecs.swen225.gp22.app.Keys
-
Set keys for actions that happen on press
- setAction(int, Runnable, boolean) - Method in class nz.ac.vuw.ecs.swen225.gp22.app.Keys
-
Set keys for actions that happen on release
- setAction(List<Entity.Action.Interaction.ActionType>) - Method in class nz.ac.vuw.ecs.swen225.gp22.renderer.Viewport
-
Stores the action that has happened in the game.
- setDir(Entity.Direction) - Method in class nz.ac.vuw.ecs.swen225.gp22.domain.Entity
-
Sets the direction the entity is facing.
- setLevel(int) - Static method in class nz.ac.vuw.ecs.swen225.gp22.app.Base
-
Sets current level.
- setObstructive(boolean) - Method in class nz.ac.vuw.ecs.swen225.gp22.domain.Tile
-
Updates the obstructiveness of this tile.
- setPause() - Method in class nz.ac.vuw.ecs.swen225.gp22.app.GameMenuBar
-
Game is paused so set pause button to display "un pause".
- setPos(Maze.Point) - Method in class nz.ac.vuw.ecs.swen225.gp22.domain.Entity
-
Sets the position of the entity.
- setPos(Maze.Point) - Method in class nz.ac.vuw.ecs.swen225.gp22.domain.Tile
-
Sets the position of the tile.
- setTile(Maze.Point, Tile) - Static method in class nz.ac.vuw.ecs.swen225.gp22.domain.Maze
-
Sets the value on the tilemap at a given point.
- setTime(int) - Static method in class nz.ac.vuw.ecs.swen225.gp22.app.Base
-
Sets current game time.
- setTime(int) - Method in class nz.ac.vuw.ecs.swen225.gp22.renderer.SidePanel
-
Updates the timer when the gameTimer in Base indicates.
- setUnPause() - Method in class nz.ac.vuw.ecs.swen225.gp22.app.GameMenuBar
-
Game is un-paused so set pause button to display "pause".
- setUpPanels() - Method in class nz.ac.vuw.ecs.swen225.gp22.app.PhasePanel
-
Sets up panel sizes and adds them to panel.
- SFX - Class in nz.ac.vuw.ecs.swen225.gp22.renderer
-
This class constructs sounds clips to be played in the SFXPlayer class.
- SFX(String) - Constructor for class nz.ac.vuw.ecs.swen225.gp22.renderer.SFX
-
Loads a chosen file and initialises a clip from AudioInputStream.
- SFX.Sounds - Enum Class in nz.ac.vuw.ecs.swen225.gp22.renderer
-
An enum of the sounds to be played during the game.
- SFXPlayer - Class in nz.ac.vuw.ecs.swen225.gp22.renderer
-
Plays a sound depending on the event happening in the game.
- SFXPlayer() - Constructor for class nz.ac.vuw.ecs.swen225.gp22.renderer.SFXPlayer
- SIDE_SIZE - Static variable in class nz.ac.vuw.ecs.swen225.gp22.util.GameConstants
-
Dimension of side panel.
- SIDEBAR_WIDTH - Static variable in class nz.ac.vuw.ecs.swen225.gp22.util.GameConstants
-
Width of side panel.
- SidePanel - Class in nz.ac.vuw.ecs.swen225.gp22.renderer
-
This class displays the remaining time and treasures left for this game level, and the items in the player's inventory.
- SidePanel(int, int) - Constructor for class nz.ac.vuw.ecs.swen225.gp22.renderer.SidePanel
-
Initialises a new side panel upon the loading of a level.
- startGame() - Method in class nz.ac.vuw.ecs.swen225.gp22.app.Base
-
When you click start button, check for last save file and run the level.
- stopSFX() - Method in class nz.ac.vuw.ecs.swen225.gp22.renderer.SFXPlayer
-
Stops all the current sounds at the creation or deletion of a level.
- stopSound() - Method in class nz.ac.vuw.ecs.swen225.gp22.app.PhasePanel
-
Stops sound in game window.
- stopSound() - Method in class nz.ac.vuw.ecs.swen225.gp22.renderer.Viewport
-
Stops the current sounds from playing.
- subtract(int, int) - Method in record class nz.ac.vuw.ecs.swen225.gp22.domain.Maze.Point
-
Overloaded method for subtract() that accepts two individual numbers that represent X and Y, respectively.
- subtract(Entity.Direction) - Method in record class nz.ac.vuw.ecs.swen225.gp22.domain.Maze.Point
-
Overloaded method for subtract() that accepts a Direction.
- subtract(Maze.Point) - Method in record class nz.ac.vuw.ecs.swen225.gp22.domain.Maze.Point
-
Subtract this point from another, then returns the result.
- successfulFactoryTest() - Method in class nz.ac.vuw.ecs.swen225.gp22.domain.DomainTest
-
Checks that the tile factory method can correctly create tiles based on the ID.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form