Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
P
- paint(Graphics) - Method in class nz.ac.vuw.ecs.swen225.gp22.renderer.Viewport
- paintComponent(Graphics) - Method in class nz.ac.vuw.ecs.swen225.gp22.app.GameButton
- paintComponent(Graphics) - Method in class nz.ac.vuw.ecs.swen225.gp22.app.ImagePanel
- paintComponent(Graphics) - Method in class nz.ac.vuw.ecs.swen225.gp22.renderer.SidePanel
- parseInvalidFile() - Method in class nz.ac.vuw.ecs.swen225.gp22.persistency.ParserTest
-
Test to see if the parser throws error when the file is invalid.
- parseInventory() - Method in class nz.ac.vuw.ecs.swen225.gp22.persistency.ParserTest
-
Test to see if the parser can parse the players inventory correctly.
- parseInventory(Player, Element) - Method in class nz.ac.vuw.ecs.swen225.gp22.persistency.Parser
-
Parse player inventory.
- parseMapInfo() - Method in class nz.ac.vuw.ecs.swen225.gp22.persistency.Parser
-
Parse the dimensions of the level, the number of treasures and the player.
- parsePlayer(Player) - Method in class nz.ac.vuw.ecs.swen225.gp22.persistency.Parser
-
Parse the saved player information from the file.
- Parser - Class in nz.ac.vuw.ecs.swen225.gp22.persistency
-
Used to parse XML files.
- Parser - Class in nz.ac.vuw.ecs.swen225.gp22.recorder
-
Used to parse recorded games from XML.
- Parser(File) - Constructor for class nz.ac.vuw.ecs.swen225.gp22.persistency.Parser
-
Read given xml file and store in a document.
- ParserTest - Class in nz.ac.vuw.ecs.swen225.gp22.persistency
-
Tests for parser class.
- ParserTest() - Constructor for class nz.ac.vuw.ecs.swen225.gp22.persistency.ParserTest
- pause() - Method in class nz.ac.vuw.ecs.swen225.gp22.app.Base
-
Pauses game.
- Pause - Enum constant in enum class nz.ac.vuw.ecs.swen225.gp22.app.GameDialog.PopUp
-
For defining a Pause pop-up.
- PhasePanel - Class in nz.ac.vuw.ecs.swen225.gp22.app
-
This JPanel contains both game panel and side panel.
- PhasePanel(JPanel, JPanel) - Constructor for class nz.ac.vuw.ecs.swen225.gp22.app.PhasePanel
-
Panel to hold game square next to side panel.
- PickupKey - Enum constant in enum class nz.ac.vuw.ecs.swen225.gp22.domain.Entity.Action.Interaction.ActionType
-
Key was picked up this action.
- PickupTreasure - Enum constant in enum class nz.ac.vuw.ecs.swen225.gp22.domain.Entity.Action.Interaction.ActionType
-
Treasure was picked up this action.
- ping() - Method in class nz.ac.vuw.ecs.swen225.gp22.domain.Entity
-
Non-player entities will act based on how often this is called.
- ping() - Method in class nz.ac.vuw.ecs.swen225.gp22.domain.GummyGuard
-
Deprecated.
- ping() - Method in class nz.ac.vuw.ecs.swen225.gp22.domain.Player
- Pinged - Enum constant in enum class nz.ac.vuw.ecs.swen225.gp22.domain.Entity.Action.Interaction.ActionType
-
Entity was pinged this action.
- player - Static variable in class nz.ac.vuw.ecs.swen225.gp22.domain.Maze
-
Stores the Player entity so that other tiles can access it easily.
- Player - Class in nz.ac.vuw.ecs.swen225.gp22.domain
-
The entity that will be controller by user input, this functions just like a base
Entity
but with an inventory to hold keys. - Player - Class in nz.ac.vuw.ecs.swen225.gp22.recorder
-
The player for the recorder.
- Player(Base) - Constructor for class nz.ac.vuw.ecs.swen225.gp22.recorder.Player
-
Create a new player.
- Player(Maze.Point, Entity.Direction) - Constructor for class nz.ac.vuw.ecs.swen225.gp22.domain.Player
-
Default constructor, sets the position and direction of the player.
- playerDeathTest() - Method in class nz.ac.vuw.ecs.swen225.gp22.domain.DomainTest
-
Checks that the player loses the game if they step on a milk tile.
- playerDied() - Method in class nz.ac.vuw.ecs.swen225.gp22.app.Base
-
Saves recorder, pops up game over screen.
- PlayerDown - Enum constant in enum class nz.ac.vuw.ecs.swen225.gp22.renderer.Img
-
The image of the player moving downwards.
- PlayerLeft - Enum constant in enum class nz.ac.vuw.ecs.swen225.gp22.renderer.Img
-
The image of the player moving to the left.
- PlayerRight - Enum constant in enum class nz.ac.vuw.ecs.swen225.gp22.renderer.Img
-
The image of the player moving to the right.
- PlayerUp - Enum constant in enum class nz.ac.vuw.ecs.swen225.gp22.renderer.Img
-
The image of the player moving upwards.
- playerWon() - Method in class nz.ac.vuw.ecs.swen225.gp22.app.Base
-
Saves recorder, pops up game won screen.
- playSound(SFX, int) - Method in class nz.ac.vuw.ecs.swen225.gp22.renderer.SFXPlayer
-
Plays a wav file depending on the name of the sound being passed.
- Point(int, int) - Constructor for record class nz.ac.vuw.ecs.swen225.gp22.domain.Maze.Point
-
Creates an instance of a
Point
record class. - pointTest() - Method in class nz.ac.vuw.ecs.swen225.gp22.domain.DomainTest
-
Making sure equals() and hashCode() in Maze.Point is reflexive, transitive, and symmetric.
- pollAction() - Method in class nz.ac.vuw.ecs.swen225.gp22.domain.Entity
- prevDir() - Method in record class nz.ac.vuw.ecs.swen225.gp22.recorder.Action
-
Returns the value of the
prevDir
record component. - previousGame() - Static method in class nz.ac.vuw.ecs.swen225.gp22.persistency.Load
-
Loads the previous game if present.
- previousGameInfo() - Static method in class nz.ac.vuw.ecs.swen225.gp22.persistency.Load
-
Parses information about the previous game.
- previousGamePresent() - Static method in class nz.ac.vuw.ecs.swen225.gp22.persistency.Load
-
Determine if there is a previous unfinished level to load.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form