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 intstatic final intstatic final intstatic final int - 
Method Summary
Modifier and TypeMethodDescriptiongetName()floatstatic GameSystemProviderDoes not save preferences snapshot and can not produce a valid replaystatic GameSystemProviderinitGSP(SimConfig sCfg, GameValueManager.GameValuesSnapshot gvSnapshot, byte[] preferencesSnapshot) Allows to set a preferences snapshot and save a replaybooleanbooleanbooleanvoidsetSimFinishListener(Runnable onFinish) voidsetSimLogListener(Simulation.LogListener listener) voidstart()voidstop() 
- 
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 
 -