Class MoveToCentroidAgent.SimpFlockMsg
java.lang.Object
MoveToCentroidAgent.SimpFlockMsg
- All Implemented Interfaces:
- IMsg
- Enclosing class:
- MoveToCentroidAgent
public class MoveToCentroidAgent.SimpFlockMsg
- extends java.lang.Object
- implements IMsg
inner class used for flocking messages
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MoveToCentroidAgent.SimpFlockMsg
public MoveToCentroidAgent.SimpFlockMsg()
MoveToCentroidAgent.SimpFlockMsg
public MoveToCentroidAgent.SimpFlockMsg(double x,
double y)
MoveToCentroidAgent.SimpFlockMsg
public MoveToCentroidAgent.SimpFlockMsg(double[] arrLfPt)
MoveToCentroidAgent.SimpFlockMsg
public MoveToCentroidAgent.SimpFlockMsg(MoveToCentroidAgent.SimpFlockMsg src)
makeCopy
public MoveToCentroidAgent.SimpFlockMsg makeCopy()
- Specified by:
makeCopy
in interface IMsg
addTo
public MoveToCentroidAgent.SimpFlockMsg addTo(MoveToCentroidAgent.SimpFlockMsg addMe)
- adds addMe to this (destructively
getPt
public double[] getPt()
scale
public void scale(double lfScaleBy)