edu.gatech.cs2335.lemmings.physics
Class Point

java.lang.Object
  extended byedu.gatech.cs2335.lemmings.physics.Point

public final class Point
extends java.lang.Object

This class stores the Lemming positions for use in the Physics engine and Graphics engine

Author:
Jose Caban

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

Point

public Point()
Default Constructor Sets all fields to zero


Point

public Point(int x,
             int y,
             int z)
Primary Constructor

Parameters:
x - the X-Coordinate
y - the Y-Coordinate
z - the Z-Coordinate
Method Detail

setX

public void setX(int x)
Method setX

Parameters:
x - the X-Coordinate

setY

public void setY(int y)
Method setY

Parameters:
y - the Y-Coordinate

setZ

public void setZ(int z)
Method setZ

Parameters:
z - the Z-Coordinate

setPoint

public void setPoint(int xx,
                     int yy,
                     int zz)
Method setPoint sets the Coordinates

Parameters:
xx - the X-Coordinate
yy - the Y-Coordinate
zz - the Z-Coordinate

getX

public int getX()
Method getX

Returns:
the X-Coordinate

getY

public int getY()
Method getY

Returns:
the Y-Coordinate

getZ

public int getZ()
Method getZ

Returns:
the Z-Coordinate

toString

public java.lang.String toString()
Describe toString method here.

Returns:
a String value