jjil.core
Class Point

java.lang.Object
  extended by jjil.core.Point

public class Point
extends java.lang.Object

Point: an object holding a 2-dimensional point coordinate

Author:
webb

Constructor Summary
Point(int wX, int wY)
          Creates a new instance of Point
 
Method Summary
 int getX()
          Return the point's x-coordinate.
 int getY()
          Return the point's y-coordinate.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Point

public Point(int wX,
             int wY)
Creates a new instance of Point

Parameters:
wX - the Point's x position
wY - the Point's y position
Method Detail

getX

public int getX()
Return the point's x-coordinate.

Returns:
the horizontal position of the point.

getY

public int getY()
Return the point's y-coordinate.

Returns:
the vertical position of the point.