SteeringProperties
Class PeopleAvoidanceProperties

Package class diagram package PeopleAvoidanceProperties
java.lang.Object
  extended by SteeringProperties.SteeringProperties
      extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from class SteeringProperties.SteeringProperties
SteeringProperties.BehaviorType
 
Field Summary
 
Fields inherited from class SteeringProperties.SteeringProperties
active, behaviorType, type, weight
 
Constructor Summary
PeopleAvoidanceProperties()
           
PeopleAvoidanceProperties(int forceFromOtherPeople, int distanceFromOtherPeople, boolean goRoundPartner, boolean deceleration, boolean acceleration, double visionInTicks)
           
PeopleAvoidanceProperties(SteeringProperties.BehaviorType behaviorType)
           
PeopleAvoidanceProperties(XMLPeopleAvoidanceProperties xml)
           
 
Method Summary
 int getDistanceFromOtherPeople()
           
 double getProjection()
           
 int getRepulsiveForce()
           
 String getSpecialText()
           
 XMLPeopleAvoidanceProperties getXMLProperties()
           
 boolean isAcceleration()
           
 boolean isCircumvention()
           
 boolean isDeceleration()
           
 void setAcceleration(boolean acceleration)
           
 void setCircumvention(boolean goRoundPartner)
           
 void setDeceleration(boolean deceleration)
           
 void setDistanceFromOtherPeople(int distanceFromOtherPeople)
           
protected  void setNewBehaviorType(SteeringProperties.BehaviorType behaviorType)
           
 void setProjection(double projection)
          Sets the projection - how many tick ahead we anticipate.
 void setProperties(SteeringProperties newProperties)
           
 void setRepulsiveForce(int orderOfTheForce)
           
 
Methods inherited from class SteeringProperties.SteeringProperties
getBehaviorType, getText, getType, getWeight, isActive, setActive, setBehaviorType, setType, setWeight
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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 © 2015 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.