Packageimpression.simulation
Interfacepublic interface ISimulationEx extends ISimulation, flash.events.IEventDispatcher

ISimulationEx defines additional functionality for a simulation process. This additional functionality is not used by the Base Class Framework, but is included to help standardize common capabilities. Note that the behavior of any of the ISimulationEx members is simulation-specific.



Public Properties
 PropertyDefined By
  freeze : Boolean
The freeze state of the simulation.
ISimulationEx
 InheritedownerSetsData : Boolean
[read-only] Determines how data is set.
ISimulation
Public Methods
 MethodDefined By
  
calculate():void
Performs a single calculation step.
ISimulationEx
 Inherited
getData(items:* = null):*
Returns specific simulation data.
ISimulation
  
reset(type:* = null):void
Resets the simulation.
ISimulationEx
 Inherited
setData(items:*):void
Sets simulation data.
ISimulation
Property Detail
freezeproperty
freeze:Boolean

The freeze state of the simulation. This is typically supported by simulations that run on a timer.


Implementation
    public function get freeze():Boolean
    public function set freeze(value:Boolean):void
Method Detail
calculate()method
public function calculate():void

Performs a single calculation step.

reset()method 
public function reset(type:* = null):void

Resets the simulation.

Parameters

type:* (default = null) — Specifies the type of reset.