Exemplo n.º 1
0
 /**
  * Calculates distance from associated mote to another mote.
  *
  * @param m Another mote
  * @return Distance
  */
 public double getDistanceTo(Mote m) {
   return getDistanceTo(m.getInterfaces().getPosition());
 }
Exemplo n.º 2
0
 public Position getPosition() {
   return mote.getInterfaces().getPosition();
 }