SteeringProperties
Class TargetApproachingProperties
java.lang.Object
SteeringProperties.SteeringProperties
SteeringProperties.TargetApproachingProperties
- All Implemented Interfaces:
- Serializable
public class TargetApproachingProperties
- extends SteeringProperties
The steering properties for the steering Target Approaching. These properties are rather special, because it contains the list of Target_packets.
It means that one bot can have more locations (and it's special defined forces fo each of them), which attract or repuls him.
- Author:
- Marki
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TargetApproachingProperties
public TargetApproachingProperties()
TargetApproachingProperties
public TargetApproachingProperties(SteeringProperties.BehaviorType behaviorType)
TargetApproachingProperties
public TargetApproachingProperties(XMLTargetApproachingProperties xml)
TargetApproachingProperties
public TargetApproachingProperties(int attractiveForce,
cz.cuni.amis.pogamut.base3d.worldview.object.Location endLocation)
setNewBehaviorType
protected void setNewBehaviorType(SteeringProperties.BehaviorType behaviorType)
- Specified by:
setNewBehaviorType
in class SteeringProperties
getAttractiveForce
public int getAttractiveForce()
setAttractiveForce
public void setAttractiveForce(int attractiveForce)
getTargets
public ArrayList<Target_packet> getTargets()
setTargets
public void setTargets(ArrayList<Target_packet> targets)
getTarget_packet
public Target_packet getTarget_packet(int index)
setTarget_packet
public void setTarget_packet(int index,
Target_packet tp)
- Changes the target packet of the index.
removeTarget_packet
public void removeTarget_packet(int index)
- Removes the item at index index of the targets
setTargetLocation
public void setTargetLocation(int index,
cz.cuni.amis.pogamut.base3d.worldview.object.Location loc)
addTarget_packet
public void addTarget_packet(Target_packet tp)
getSpecialText
public String getSpecialText()
- Specified by:
getSpecialText
in class SteeringProperties
setProperties
public void setProperties(SteeringProperties newProperties)
- Specified by:
setProperties
in class SteeringProperties
getXMLProperties
public XMLTargetApproachingProperties getXMLProperties()
Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.