|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjjil.core.Point
public class Point
Point: an object holding a 2-dimensional point coordinate
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 |
---|
public Point(int wX, int wY)
wX
- the Point's x positionwY
- the Point's y positionMethod Detail |
---|
public int getX()
public int getY()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |