public class BasicMovementModule extends MovementModule
agent, currentVelocity, desiredSpeed, observationModule
Constructor and Description |
---|
BasicMovementModule(double desiredSpeed)
Creates a basic model.
|
Modifier and Type | Method and Description |
---|---|
Vector |
getMove(int timeStep)
Gets the next move.
|
boundSpeed, getChair, getCurrentVelocity, getDesiredSpeed, getPosition, getStopMovingTime, getStopOrder, init, isSitting, setSitDown, setStopOrder, update
public BasicMovementModule(double desiredSpeed)
desiredSpeed
- The desired speed.public Vector getMove(int timeStep)
MovementModule
MovementModule.currentVelocity
to the generated value.getMove
in class MovementModule
timeStep
- The time step (in milliseconds).