public class ObstacleAvoidanceProperties extends SteeringProperties
SteeringProperties.BehaviorTypeactive, behaviorType, type, weight| Constructor and Description |
|---|
ObstacleAvoidanceProperties()
Creates the dafult ObstacleAvoidanceProperties.
|
ObstacleAvoidanceProperties(int repulsiveForce,
int orderOfTheForce,
boolean frontCollisions,
boolean treeCollisions)
Creates the ObstacleAvoidanceProperties.
|
ObstacleAvoidanceProperties(SteeringProperties.BehaviorType behaviorType)
Creates the dafult ObstacleAvoidanceProperties.
|
ObstacleAvoidanceProperties(XMLObstacleAvoidanceProperties xml)
Creates the ObstacleAvoidanceProperties from the XMLObstacleAvoidanceProperties.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getForceOrder() |
int |
getRepulsiveForce() |
String |
getSpecialText() |
XMLObstacleAvoidanceProperties |
getXMLProperties() |
boolean |
isFrontCollisions() |
boolean |
isTreeCollisions() |
void |
setForceOrder(int orderOfTheForce) |
void |
setFrontCollisions(boolean frontCollisions) |
protected void |
setNewBehaviorType(SteeringProperties.BehaviorType behaviorType) |
void |
setProperties(SteeringProperties newProperties) |
void |
setRepulsiveForce(int repulsiveForce) |
void |
setTreeCollisions(boolean treeCollisions) |
getBehaviorType, getText, getType, getWeight, isActive, setActive, setBehaviorType, setType, setWeightpublic ObstacleAvoidanceProperties()
public ObstacleAvoidanceProperties(SteeringProperties.BehaviorType behaviorType)
public ObstacleAvoidanceProperties(XMLObstacleAvoidanceProperties xml)
public ObstacleAvoidanceProperties(int repulsiveForce,
int orderOfTheForce,
boolean frontCollisions,
boolean treeCollisions)
orderOfTheForce - frontCollisions - treeCollisions - protected void setNewBehaviorType(SteeringProperties.BehaviorType behaviorType)
setNewBehaviorType in class SteeringPropertiespublic int getRepulsiveForce()
public void setRepulsiveForce(int repulsiveForce)
public int getForceOrder()
public void setForceOrder(int orderOfTheForce)
public boolean isFrontCollisions()
public void setFrontCollisions(boolean frontCollisions)
public boolean isTreeCollisions()
public void setTreeCollisions(boolean treeCollisions)
public String getSpecialText()
getSpecialText in class SteeringPropertiespublic void setProperties(SteeringProperties newProperties)
setProperties in class SteeringPropertiespublic XMLObstacleAvoidanceProperties getXMLProperties()
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.