SteeringProperties
Class PeopleAvoidanceProperties
java.lang.Object
SteeringProperties.SteeringProperties
SteeringProperties.PeopleAvoidanceProperties
- All Implemented Interfaces:
- Serializable
public class PeopleAvoidanceProperties
- extends SteeringProperties
The steering properties of the People Avoidance Steering.
- Author:
- Marki
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PeopleAvoidanceProperties
public PeopleAvoidanceProperties()
PeopleAvoidanceProperties
public PeopleAvoidanceProperties(SteeringProperties.BehaviorType behaviorType)
PeopleAvoidanceProperties
public PeopleAvoidanceProperties(XMLPeopleAvoidanceProperties xml)
PeopleAvoidanceProperties
public PeopleAvoidanceProperties(int forceFromOtherPeople,
int distanceFromOtherPeople,
boolean goRoundPartner,
boolean deceleration,
boolean acceleration,
double visionInTicks)
setNewBehaviorType
protected void setNewBehaviorType(SteeringProperties.BehaviorType behaviorType)
- Specified by:
setNewBehaviorType
in class SteeringProperties
getRepulsiveForce
public int getRepulsiveForce()
setRepulsiveForce
public void setRepulsiveForce(int orderOfTheForce)
getDistanceFromOtherPeople
public int getDistanceFromOtherPeople()
setDistanceFromOtherPeople
public void setDistanceFromOtherPeople(int distanceFromOtherPeople)
isCircumvention
public boolean isCircumvention()
setCircumvention
public void setCircumvention(boolean goRoundPartner)
getProjection
public double getProjection()
- Returns:
- projection in ticks (how many ticks ahead we anticipate).
setProjection
public void setProjection(double projection)
- Sets the projection - how many tick ahead we anticipate.
- Parameters:
projection
-
isAcceleration
public boolean isAcceleration()
setAcceleration
public void setAcceleration(boolean acceleration)
isDeceleration
public boolean isDeceleration()
setDeceleration
public void setDeceleration(boolean deceleration)
getSpecialText
public String getSpecialText()
- Specified by:
getSpecialText
in class SteeringProperties
setProperties
public void setProperties(SteeringProperties newProperties)
- Specified by:
setProperties
in class SteeringProperties
getXMLProperties
public XMLPeopleAvoidanceProperties getXMLProperties()
Copyright © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.