Serialized Form
-
Package nz.ac.vuw.ecs.swen225.gp22.app
-
Class nz.ac.vuw.ecs.swen225.gp22.app.Base
class Base extends JFrame implements Serializable-
Serialized Fields
-
components
List<JComponent> components
Components on JFrame. -
currentMenuBar
GameMenuBar currentMenuBar
Menu bar for game. -
currentPanel
PhasePanel currentPanel
For setting key-listener on. -
currentPopUp
GameDialog currentPopUp
Current pop-up. -
delay
int delay
Delay in timer. -
gameOverDialog
GameDialog gameOverDialog
Pop-up for game over. -
gameTimer
Timer gameTimer
Timer loop for game. -
gameWinDialog
GameDialog gameWinDialog
Pop-up for game win. -
pauseDialog
GameDialog pauseDialog
Pop-up for pause. -
recorder
Recorder recorder
Recorder player. -
saveDialog
GameDialog saveDialog
Pop-up for save. -
timeMS
int timeMS
Time in milliseconds.
-
-
-
Class nz.ac.vuw.ecs.swen225.gp22.app.GameButton
class GameButton extends JButton implements Serializable -
Class nz.ac.vuw.ecs.swen225.gp22.app.GameDialog
class GameDialog extends JDialog implements Serializable-
Serialized Fields
-
base
Base base
To call actions on. -
height
int height
Pop-up height. -
info
JLabel info
Title of pop-up. -
timeMS
int timeMS
To keep track of how long to time out pop-up. -
timer
Timer timer
To time out a pop-up. -
width
int width
Pop-up width. -
xOffset
int xOffset
X offset from main window. -
yOffset
int yOffset
Y offset from main window.
-
-
-
Class nz.ac.vuw.ecs.swen225.gp22.app.GameMenuBar
class GameMenuBar extends JMenuBar implements Serializable-
Serialized Fields
-
base
Base base
Base JFrame to connect actions to. -
components
List<JComponent> components
All components on window. -
menuItemWidth
int menuItemWidth
Width of buttons. -
pause
GameMenuItem pause
Pause/play menuitem.
-
-
-
Class nz.ac.vuw.ecs.swen225.gp22.app.GameMenuItem
class GameMenuItem extends JMenuItem implements Serializable -
Class nz.ac.vuw.ecs.swen225.gp22.app.ImagePanel
class ImagePanel extends JPanel implements Serializable-
Serialized Fields
-
height
int height
height of panel -
image
BufferedImage image
Image on panel. -
offsetX
int offsetX
Image x offset for panel. -
offsetY
int offsetY
Image y offset for panel. -
width
int width
Width of panel.
-
-
-
Class nz.ac.vuw.ecs.swen225.gp22.app.MenuMainPanel
class MenuMainPanel extends JPanel implements Serializable -
Class nz.ac.vuw.ecs.swen225.gp22.app.PhasePanel
class PhasePanel extends JPanel implements Serializable-
Serialized Fields
-
components
List<JComponent> components
All components in panel -
gamePanel
JPanel gamePanel
Main square panel. -
sidePanel
JPanel sidePanel
Side panel.
-
-
-
-
Package nz.ac.vuw.ecs.swen225.gp22.recorder
-
Class nz.ac.vuw.ecs.swen225.gp22.recorder.Player
class Player extends JPanel implements Serializable-
Serialized Fields
-
base
Base base
The base window. -
currentAction
int currentAction
The current action index. -
gamePanel
PhasePanel gamePanel
The game panel. -
gameStates
List<GameState> gameStates
The list of game states to play back. -
isPlaying
boolean isPlaying
If the player is currently playing. -
isRewinding
boolean isRewinding
If the player is currently rewinding. -
playPause
GameButton playPause
The play/pause button. -
scrubber
JSlider scrubber
The slider for playback scrubbing. -
speed
int speed
The playback speed. -
speedBtn
GameButton speedBtn
The speed button for increasing playback speed.
-
-
-
-
Package nz.ac.vuw.ecs.swen225.gp22.renderer
-
Class nz.ac.vuw.ecs.swen225.gp22.renderer.SidePanel
class SidePanel extends JPanel implements Serializable-
Serialized Fields
-
inventory
JLabel inventory
JLabel for the inventory. -
level
JLabel level
JLabel for the current game level. -
lvl
int lvl
The current game level. -
time
JLabel time
JLabel for the current game time left. -
timer
int timer
Timer counting down from 60 seconds. -
uncollectedTreasures
JLabel uncollectedTreasures
JLabel for the number of uncollected treasures in the level. -
xOffset
int xOffset
X offset for the JLabels and inventory display.
-
-
-
Class nz.ac.vuw.ecs.swen225.gp22.renderer.Viewport
class Viewport extends JPanel implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
boundariesX
int boundariesX
Accounts for the width of the maze for each level. -
boundariesY
int boundariesY
Accounts for the height of the maze for each level. -
currentMaze
Tile[][] currentMaze
A 9x9 maze. -
sfxPlayer
SFXPlayer sfxPlayer
An SFXPlayer that plays a sound depending on the actions performed in the game. -
soundList
HashMap<String,
SFX> soundList Stores the names of the sound and the SFX object itself. -
timer
Timer timer
The timer that triggers the actionPerformed method.
-
-