kaos.robots.util
Class SonarReading

java.lang.Object
  extended by kaos.robots.util.SonarReading
All Implemented Interfaces:
java.io.Serializable

public class SonarReading
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
SonarReading(double range, double x, double y, boolean isNew)
           
 
Method Summary
 Coordinate getCoordinate()
           
 double getRange()
           
 boolean isNew()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SonarReading

public SonarReading(double range,
                    double x,
                    double y,
                    boolean isNew)
Method Detail

getRange

public double getRange()

getCoordinate

public Coordinate getCoordinate()

isNew

public boolean isNew()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object