public class MarioManager2WithInertia extends java.lang.Object implements StudiedSystem
Constructor and Description |
---|
MarioManager2WithInertia()
Instantiates a new mario manager 2 with inertia.
|
Modifier and Type | Method and Description |
---|---|
AMOEBA |
getAmoeba()
Gets the amoeba.
|
java.util.HashMap<java.lang.String,java.lang.Double> |
getOutput()
Gets the output.
|
void |
playOneStep(double action)
When the scheduler of AMOEBA has run one cycle, playOneStep is called to allow the studied system to perform it's own cycle.
|
void |
setAmoeba(AMOEBA amoeba)
Sets the amoeba.
|
void |
startMario()
Start mario.
|
void |
switchControlMode()
Switch control mode.
|
public MarioManager2WithInertia()
public void startMario()
public void playOneStep(double action)
StudiedSystem
playOneStep
in interface StudiedSystem
action
- : output action of AMOEBA.public java.util.HashMap<java.lang.String,java.lang.Double> getOutput()
StudiedSystem
getOutput
in interface StudiedSystem
public void switchControlMode()
StudiedSystem
switchControlMode
in interface StudiedSystem
public AMOEBA getAmoeba()
public void setAmoeba(AMOEBA amoeba)
amoeba
- the new amoeba