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