SteeringProperties
Class WalkAlongProperties

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

public class WalkAlongProperties
extends SteeringProperties

The steering properties of the Walk Along 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
WalkAlongProperties()
           
WalkAlongProperties(int partnerForce, String partnerName, cz.cuni.amis.pogamut.base3d.worldview.object.Location targetLocation, int distanceFromThePartner, boolean giveWayToPartner, boolean waitForPartner)
           
WalkAlongProperties(SteeringProperties.BehaviorType behaviorType)
           
WalkAlongProperties(XMLWalkAlongProperties xml)
           
 
Method Summary
 int getDistanceFromThePartner()
           
 int getPartnerForce()
           
 String getPartnerName()
           
 String getSpecialText()
           
 cz.cuni.amis.pogamut.base3d.worldview.object.Location getTargetLocation()
           
 XMLWalkAlongProperties getXMLProperties()
           
 boolean isGiveWayToPartner()
           
 boolean isWaitForPartner()
           
 void setDistanceFromThePartner(int distanceFromThePartner)
           
 void setGiveWayToPartner(boolean giveWayToPartner)
           
protected  void setNewBehaviorType(SteeringProperties.BehaviorType behaviorType)
           
 void setPartnerForce(int attractiveForce)
           
 void setPartnerName(String partnerName)
           
 void setProperties(SteeringProperties newProperties)
           
 void setTargetLocation(cz.cuni.amis.pogamut.base3d.worldview.object.Location targetLocation)
           
 void setWaitForPartner(boolean waitForPartner)
           
 
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

WalkAlongProperties

public WalkAlongProperties()

WalkAlongProperties

public WalkAlongProperties(SteeringProperties.BehaviorType behaviorType)

WalkAlongProperties

public WalkAlongProperties(XMLWalkAlongProperties xml)

WalkAlongProperties

public WalkAlongProperties(int partnerForce,
                           String partnerName,
                           cz.cuni.amis.pogamut.base3d.worldview.object.Location targetLocation,
                           int distanceFromThePartner,
                           boolean giveWayToPartner,
                           boolean waitForPartner)
Method Detail

setNewBehaviorType

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

getPartnerForce

public int getPartnerForce()

setPartnerForce

public void setPartnerForce(int attractiveForce)

getDistanceFromThePartner

public int getDistanceFromThePartner()

setDistanceFromThePartner

public void setDistanceFromThePartner(int distanceFromThePartner)

getTargetLocation

public cz.cuni.amis.pogamut.base3d.worldview.object.Location getTargetLocation()

setTargetLocation

public void setTargetLocation(cz.cuni.amis.pogamut.base3d.worldview.object.Location targetLocation)

getPartnerName

public String getPartnerName()

setPartnerName

public void setPartnerName(String partnerName)

isGiveWayToPartner

public boolean isGiveWayToPartner()

setGiveWayToPartner

public void setGiveWayToPartner(boolean giveWayToPartner)

isWaitForPartner

public boolean isWaitForPartner()

setWaitForPartner

public void setWaitForPartner(boolean waitForPartner)

getSpecialText

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

setProperties

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

getXMLProperties

public XMLWalkAlongProperties getXMLProperties()


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