public class TargetApproachingProperties extends SteeringProperties
SteeringProperties.BehaviorType
active, behaviorType, type, weight
Constructor and Description |
---|
TargetApproachingProperties() |
TargetApproachingProperties(int attractiveForce,
cz.cuni.amis.pogamut.base3d.worldview.object.Location endLocation) |
TargetApproachingProperties(SteeringProperties.BehaviorType behaviorType) |
TargetApproachingProperties(XMLTargetApproachingProperties xml) |
Modifier and Type | Method and Description |
---|---|
void |
addTarget_packet(Target_packet tp) |
int |
getAttractiveForce() |
String |
getSpecialText() |
Target_packet |
getTarget_packet(int index) |
ArrayList<Target_packet> |
getTargets() |
XMLTargetApproachingProperties |
getXMLProperties() |
void |
removeTarget_packet(int index)
Removes the item at index index of the targets
|
void |
setAttractiveForce(int attractiveForce) |
protected void |
setNewBehaviorType(SteeringProperties.BehaviorType behaviorType) |
void |
setProperties(SteeringProperties newProperties) |
void |
setTarget_packet(int index,
Target_packet tp)
Changes the target packet of the index.
|
void |
setTargetLocation(int index,
cz.cuni.amis.pogamut.base3d.worldview.object.Location loc) |
void |
setTargets(ArrayList<Target_packet> targets) |
getBehaviorType, getText, getType, getWeight, isActive, setActive, setBehaviorType, setType, setWeight
public TargetApproachingProperties()
public TargetApproachingProperties(SteeringProperties.BehaviorType behaviorType)
public TargetApproachingProperties(XMLTargetApproachingProperties xml)
public TargetApproachingProperties(int attractiveForce, cz.cuni.amis.pogamut.base3d.worldview.object.Location endLocation)
protected void setNewBehaviorType(SteeringProperties.BehaviorType behaviorType)
setNewBehaviorType
in class SteeringProperties
public int getAttractiveForce()
public void setAttractiveForce(int attractiveForce)
public ArrayList<Target_packet> getTargets()
public void setTargets(ArrayList<Target_packet> targets)
public Target_packet getTarget_packet(int index)
public void setTarget_packet(int index, Target_packet tp)
public void removeTarget_packet(int index)
public void setTargetLocation(int index, cz.cuni.amis.pogamut.base3d.worldview.object.Location loc)
public void addTarget_packet(Target_packet tp)
public String getSpecialText()
getSpecialText
in class SteeringProperties
public void setProperties(SteeringProperties newProperties)
setProperties
in class SteeringProperties
public XMLTargetApproachingProperties getXMLProperties()
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.