Interface Simulation
- All Known Implementing Classes:
AbstractSimulation
,LJ_TDI_utils.Simulation_BY.LIP
,PerformanceBenchmarkSim
,SyncCheckSim
,TowerBenchmarkSim
public interface Simulation
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
float
static GameSystemProvider
Does not save preferences snapshot and can not produce a valid replaystatic GameSystemProvider
initGSP
(SimConfig sCfg, GameValueManager.GameValuesSnapshot gvSnapshot, byte[] preferencesSnapshot) Allows to set a preferences snapshot and save a replayboolean
boolean
boolean
void
setSimFinishListener
(Runnable onFinish) void
setSimLogListener
(Simulation.LogListener listener) void
start()
void
stop()
-
Field Details
-
LOG_LEVEL_DEBUG
static final int LOG_LEVEL_DEBUG- See Also:
-
LOG_LEVEL_INFO
static final int LOG_LEVEL_INFO- See Also:
-
LOG_LEVEL_WARNING
static final int LOG_LEVEL_WARNING- See Also:
-
LOG_LEVEL_ERROR
static final int LOG_LEVEL_ERROR- See Also:
-
-
Method Details
-
getName
CharSequence getName() -
setSimLogListener
-
setSimFinishListener
-
getProgress
float getProgress() -
start
void start() -
isRunning
boolean isRunning() -
isReadyToStart
boolean isReadyToStart() -
isSuccessful
boolean isSuccessful() -
stop
void stop() -
initGSP
Does not save preferences snapshot and can not produce a valid replay -
initGSP
static GameSystemProvider initGSP(SimConfig sCfg, GameValueManager.GameValuesSnapshot gvSnapshot, byte[] preferencesSnapshot) Allows to set a preferences snapshot and save a replay
-