Class RunningPedestrian
-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.NodeProperty
,it.unibo.alchemist.model.cognitive.RunningPedestrianProperty
,java.io.Serializable
public final class RunningPedestrian<T extends Object> extends AbstractNodeProperty<T> implements RunningPedestrianProperty<T>
Implementation of a basic RunningPedestrianProperty.
-
-
Field Summary
Fields Modifier and Type Field Description private final Node<T>
node
private final Double
runningSpeed
-
Constructor Summary
Constructors Constructor Description RunningPedestrian(Node<T> node, Double runningSpeed)
RunningPedestrian(Node<T> node)
-
Method Summary
Modifier and Type Method Description Node<T>
getNode()
Double
getRunningSpeed()
The node's running speed. RunningPedestrian<T>
cloneOnNewNode(Node<T> node)
-
-
Method Detail
-
getRunningSpeed
Double getRunningSpeed()
The node's running speed.
-
cloneOnNewNode
RunningPedestrian<T> cloneOnNewNode(Node<T> node)
-
-
-
-