|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.gatech.cs2335.lemmings.physics.Point
This class stores the Lemming positions for use in the Physics engine and Graphics engine
| Constructor Summary | |
Point()
Default Constructor Sets all fields to zero |
|
Point(int x,
int y,
int z)
Primary Constructor |
|
| Method Summary | |
int |
getX()
Method getX |
int |
getY()
Method getY |
int |
getZ()
Method getZ |
void |
setPoint(int xx,
int yy,
int zz)
Method setPoint sets the Coordinates |
void |
setX(int x)
Method setX |
void |
setY(int y)
Method setY |
void |
setZ(int z)
Method setZ |
java.lang.String |
toString()
Describe toString method here. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Point()
public Point(int x,
int y,
int z)
x - the X-Coordinatey - the Y-Coordinatez - the Z-Coordinate| Method Detail |
public void setX(int x)
x - the X-Coordinatepublic void setY(int y)
y - the Y-Coordinatepublic void setZ(int z)
z - the Z-Coordinate
public void setPoint(int xx,
int yy,
int zz)
xx - the X-Coordinateyy - the Y-Coordinatezz - the Z-Coordinatepublic int getX()
public int getY()
public int getZ()
public java.lang.String toString()
toString method here.
String value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||