Package mgui.models.environments
Class SimpleEnvironmentEvent
java.lang.Object
mgui.models.events.SimpleEvent
mgui.models.environments.SimpleEnvironmentEvent
- All Implemented Interfaces:
DynamicModelEnvironmentEvent
,DynamicModelEvent
,TimeStepListener
public class SimpleEnvironmentEvent extends SimpleEvent implements DynamicModelEnvironmentEvent
-
Field Summary
Fields Modifier and Type Field Description SimpleEnvironment
environment
Fields inherited from class mgui.models.events.SimpleEvent
code, delay
-
Constructor Summary
Constructors Constructor Description SimpleEnvironmentEvent(SimpleEnvironment environment)
-
Method Summary
Modifier and Type Method Description DynamicModelEnvironment
getEnvironment()
double[]
getInputState()
Methods inherited from class mgui.models.events.SimpleEvent
getCode, getDelay, timeElapsed
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
environment
-
-
Constructor Details
-
SimpleEnvironmentEvent
-
-
Method Details
-
getEnvironment
- Specified by:
getEnvironment
in interfaceDynamicModelEnvironmentEvent
-
getInputState
public double[] getInputState()
-