public class WalkAlongProperties extends SteeringProperties
SteeringProperties.BehaviorType
active, behaviorType, type, weight
Constructor and Description |
---|
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) |
Modifier and Type | Method and Description |
---|---|
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) |
getBehaviorType, getText, getType, getWeight, isActive, setActive, setBehaviorType, setType, setWeight
public WalkAlongProperties()
public WalkAlongProperties(SteeringProperties.BehaviorType behaviorType)
public WalkAlongProperties(XMLWalkAlongProperties xml)
public WalkAlongProperties(int partnerForce, String partnerName, cz.cuni.amis.pogamut.base3d.worldview.object.Location targetLocation, int distanceFromThePartner, boolean giveWayToPartner, boolean waitForPartner)
protected void setNewBehaviorType(SteeringProperties.BehaviorType behaviorType)
setNewBehaviorType
in class SteeringProperties
public int getPartnerForce()
public void setPartnerForce(int attractiveForce)
public int getDistanceFromThePartner()
public void setDistanceFromThePartner(int distanceFromThePartner)
public cz.cuni.amis.pogamut.base3d.worldview.object.Location getTargetLocation()
public void setTargetLocation(cz.cuni.amis.pogamut.base3d.worldview.object.Location targetLocation)
public String getPartnerName()
public void setPartnerName(String partnerName)
public boolean isGiveWayToPartner()
public void setGiveWayToPartner(boolean giveWayToPartner)
public boolean isWaitForPartner()
public void setWaitForPartner(boolean waitForPartner)
public String getSpecialText()
getSpecialText
in class SteeringProperties
public void setProperties(SteeringProperties newProperties)
setProperties
in class SteeringProperties
public XMLWalkAlongProperties getXMLProperties()
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.