game.protocol
Class CartesianCoord

java.lang.Object
  extended by game.protocol.CartesianCoord
All Implemented Interfaces:
CartesianVect

 class CartesianCoord
extends java.lang.Object
implements CartesianVect


Constructor Summary
CartesianCoord(double x, double y)
           
 
Method Summary
 double getX()
          Get the x coordinate.
 double getY()
          Get the y coordinate.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CartesianCoord

public CartesianCoord(double x,
                      double y)
Method Detail

getX

public double getX()
Description copied from interface: CartesianVect
Get the x coordinate.

Specified by:
getX in interface CartesianVect
Returns:
x-axis value in meters or metres/sec. 0 is to the left.

getY

public double getY()
Description copied from interface: CartesianVect
Get the y coordinate.

Specified by:
getY in interface CartesianVect
Returns:
y-axis value in meters or metres/sec. 0 is to the bottom.