public class LeaderFollowingProperties extends SteeringProperties
Modifier and Type | Class and Description |
---|---|
static class |
LeaderFollowingProperties.LFtype |
SteeringProperties.BehaviorType
active, behaviorType, type, weight
Constructor and Description |
---|
LeaderFollowingProperties() |
LeaderFollowingProperties(int leaderForce,
String leaderName,
int distanceFromTheLeader,
int forceDistance,
LeaderFollowingProperties.LFtype myLFtype,
boolean deceleration,
double angleFromTheLeader,
boolean velocityMemory,
int sizeOfMemory,
boolean goRound) |
LeaderFollowingProperties(SteeringProperties.BehaviorType behaviorType) |
LeaderFollowingProperties(XMLLeaderFollowingProperties xml) |
getBehaviorType, getText, getType, getWeight, isActive, setActive, setBehaviorType, setType, setWeight
public LeaderFollowingProperties()
public LeaderFollowingProperties(SteeringProperties.BehaviorType behaviorType)
public LeaderFollowingProperties(XMLLeaderFollowingProperties xml)
public LeaderFollowingProperties(int leaderForce, String leaderName, int distanceFromTheLeader, int forceDistance, LeaderFollowingProperties.LFtype myLFtype, boolean deceleration, double angleFromTheLeader, boolean velocityMemory, int sizeOfMemory, boolean goRound)
leaderForce
- leaderName
- distanceFromTheLeader
- forceDistance
- myLFtype
- deceleration
- angleFromTheLeader
- velocityMemory
- sizeOfMemory
- goRound
- protected void setNewBehaviorType(SteeringProperties.BehaviorType behaviorType)
setNewBehaviorType
in class SteeringProperties
public double getAngleFromTheLeader()
public void setAngleFromTheLeader(double angleFromTheLeader)
public int getDistanceFromTheLeader()
public void setDistanceFromTheLeader(int distanceFromTheLeader)
public int getForceDistance()
public void setForceDistance(int forceDistance)
public String getLeaderName()
public void setLeaderName(String leaderName)
public int getSizeOfMemory()
public void setSizeOfMemory(int sizeOfMemory)
public boolean isVelocityMemory()
public void setVelocityMemory(boolean velocityMemory)
public boolean isDeceleration()
public void setDeceleration(boolean deceleration)
public boolean isCircumvention()
public void setCircumvention(boolean circumvention)
public int getLeaderForce()
public void setLeaderForce(int leaderForce)
public LeaderFollowingProperties.LFtype getMyLFtype()
public void setMyLFtype(LeaderFollowingProperties.LFtype myLFtype)
public String getSpecialText()
getSpecialText
in class SteeringProperties
public void setProperties(SteeringProperties newProperties)
setProperties
in class SteeringProperties
public XMLLeaderFollowingProperties getXMLProperties()
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.