SteeringProperties
Class ObstacleAvoidanceProperties

Package class diagram package ObstacleAvoidanceProperties
java.lang.Object
  extended by SteeringProperties.SteeringProperties
      extended by SteeringProperties.ObstacleAvoidanceProperties
All Implemented Interfaces:
Serializable

public class ObstacleAvoidanceProperties
extends SteeringProperties

The steering properties of the Obstacle 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
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.
 
Method Summary
 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)
           
 
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

ObstacleAvoidanceProperties

public ObstacleAvoidanceProperties()
Creates the dafult ObstacleAvoidanceProperties. The order is 1, front collisions false and tree collision also false.


ObstacleAvoidanceProperties

public ObstacleAvoidanceProperties(SteeringProperties.BehaviorType behaviorType)
Creates the dafult ObstacleAvoidanceProperties. The order is 1, front collisions false and tree collision also false.


ObstacleAvoidanceProperties

public ObstacleAvoidanceProperties(XMLObstacleAvoidanceProperties xml)
Creates the ObstacleAvoidanceProperties from the XMLObstacleAvoidanceProperties.


ObstacleAvoidanceProperties

public ObstacleAvoidanceProperties(int repulsiveForce,
                                   int orderOfTheForce,
                                   boolean frontCollisions,
                                   boolean treeCollisions)
Creates the ObstacleAvoidanceProperties.

Parameters:
orderOfTheForce -
frontCollisions -
treeCollisions -
Method Detail

setNewBehaviorType

protected void setNewBehaviorType(SteeringProperties.BehaviorType behaviorType)
Specified by:
setNewBehaviorType in class SteeringProperties

getRepulsiveForce

public int getRepulsiveForce()

setRepulsiveForce

public void setRepulsiveForce(int repulsiveForce)

getForceOrder

public int getForceOrder()

setForceOrder

public void setForceOrder(int orderOfTheForce)

isFrontCollisions

public boolean isFrontCollisions()

setFrontCollisions

public void setFrontCollisions(boolean frontCollisions)

isTreeCollisions

public boolean isTreeCollisions()

setTreeCollisions

public void setTreeCollisions(boolean treeCollisions)

getSpecialText

public String getSpecialText()
Specified by:
getSpecialText in class SteeringProperties

setProperties

public void setProperties(SteeringProperties newProperties)
Specified by:
setProperties in class SteeringProperties

getXMLProperties

public XMLObstacleAvoidanceProperties getXMLProperties()


Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.