Package game
Class SimulatorConfig
java.lang.Object
game.SimulatorConfig
public class SimulatorConfig
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description PacManSimulator.GameConfiggameIGhostsControllerghostsControllerbooleanmayBePausedIPacManControllerpacManControllerbooleanreplayjava.io.FilereplayFileintthinkTimeMillisHow long can PacMan / Ghost controller think about the game before we compute next frame.booleanvisualizationScale2xbooleanvisualize -
Constructor Summary
Constructors Constructor Description SimulatorConfig() -
Method Summary
Modifier and Type Method Description SimulatorConfigclone()static SimulatorConfigfromOptions(java.lang.String options)java.lang.StringgetCSV()java.lang.StringgetCSVHeader()java.lang.StringgetOptions()
-
Field Details
-
game
-
visualize
public boolean visualize -
visualizationScale2x
public boolean visualizationScale2x -
mayBePaused
public boolean mayBePaused -
pacManController
-
ghostsController
-
thinkTimeMillis
public int thinkTimeMillisHow long can PacMan / Ghost controller think about the game before we compute next frame. If {@ #visualize} than it also determines the speed of the game. DEFAULT: 25 FPS -
replay
public boolean replay -
replayFile
public java.io.File replayFile
-
-
Constructor Details
-
SimulatorConfig
public SimulatorConfig()
-
-
Method Details
-
clone
- Overrides:
clonein classjava.lang.Object
-
getCSVHeader
public java.lang.String getCSVHeader() -
getCSV
public java.lang.String getCSV() -
getOptions
public java.lang.String getOptions() -
fromOptions
-