[ Index | Source | Summary | Member Functions ]
Back to the top of Location
Location(int x, int y);
Construct a Location object with the specified x and y coordinates.
Location(int x, int y);
Back to the top of Location
Location();
Construct a Location object at a default location.
Location();
Back to the top of Location
int Xcoord();
Return the current x coordinate of the Location object.
int Xcoord();
Back to the top of Location
int Ycoord();
Return the current y coordinate of the Location object.
int Ycoord();
Back to the top of Location
Location Xmove(int amount);
Create and return a new Location object that differs from the
existing Location object by the specified amount in the x
coordinate. The amount may be positive or negative.
The method does not change the existing Location object.
Location Xmove(int amount);
Back to the top of Location
Location Ymove(int amount);
Create and return a new Location object that differs from the
existing Location object by the specified amount in the y
coordinate. The amount may be positive or negative.
The method does not change the existing Location object.
Location Ymove(int amount);
Back to the top of Location
Back to the top of Location
Report problems to jkotula@unimax.com