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[]actionsintghostCountbooleannextFramebooleanpauseSimulation -
Constructor Summary
Constructors Constructor Description GhostsActions(int ghostCount) -
Method Summary
Modifier and Type Method Description GhostActionblinky()GhostsActionsclone()GhostActionclyde()GhostActionghost(int index)GhostActioninky()voidpause()GhostActionpinky()voidreset()voidresume()voidset(int[] directions)voidtogglePause()
-
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