Class MoveToCentroidAgent.SimpFlockMsg

java.lang.Object
  extended by 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


Constructor Summary
MoveToCentroidAgent.SimpFlockMsg()
           
MoveToCentroidAgent.SimpFlockMsg(double[] arrLfPt)
           
MoveToCentroidAgent.SimpFlockMsg(double x, double y)
           
MoveToCentroidAgent.SimpFlockMsg(MoveToCentroidAgent.SimpFlockMsg src)
           
 
Method Summary
 MoveToCentroidAgent.SimpFlockMsg addTo(MoveToCentroidAgent.SimpFlockMsg addMe)
          adds addMe to this (destructively
 double[] getPt()
           
 MoveToCentroidAgent.SimpFlockMsg makeCopy()
           
 void scale(double lfScaleBy)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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)