public interface PhaseHandler
| Modifier and Type | Method and Description |
|---|---|
void |
executePhase(SimulationContext context)
Called when a phase is being processed.
|
Collection<String> |
getPhaseSubcription()
Returns an array of phases this handler needs to process.
|
Collection<String> getPhaseSubcription()
executePhase(SimulationContext) will be called only for these
phases. If this method returns null, it is called only for the default
"tick" phase (see Simulation.TICK_PHASE).void executePhase(SimulationContext context)
context - The SimulationContext representing the current state of
the simulation.Copyright © 2015. All rights reserved.