Package game.controllers.ghosts
Class GhostsActions
java.lang.Object
game.controllers.ghosts.GhostsActions
public final class GhostsActions
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description GhostAction[]
actions
int
ghostCount
boolean
nextFrame
boolean
pauseSimulation
-
Constructor Summary
Constructors Constructor Description GhostsActions(int ghostCount)
-
Method Summary
Modifier and Type Method Description GhostAction
blinky()
GhostsActions
clone()
GhostAction
clyde()
GhostAction
ghost(int index)
GhostAction
inky()
void
pause()
GhostAction
pinky()
void
reset()
void
resume()
void
set(int[] directions)
void
togglePause()
-
Field Details
-
actions
-
ghostCount
public final int ghostCount -
pauseSimulation
public boolean pauseSimulation -
nextFrame
public boolean nextFrame
-
-
Constructor Details
-
GhostsActions
public GhostsActions(int ghostCount)
-
-
Method Details