All Packages Class Hierarchy This Package Previous Next Index
Class pinball.player.Location
java.lang.Object
|
+----pinball.player.Location
- public class Location
- extends Object
Used to define the location of an object. Used by flippers at the moment.
-
Location()
- Make a new location.
-
Location(int, int)
- Make a new location.
-
x()
- Get the x location of the object.
-
x(int)
- X location.
-
y()
- Get the y location of the object.
-
y(int)
- Y location.
Location
public Location(int x,
int y)
- Make a new location.
Location
public Location()
- Make a new location. Default is -1,-1.
x
public void x(int x)
- X location.
- Parameters:
- x - set x location.
y
public void y(int y)
- Y location.
- Parameters:
- y - set y location.
x
public int x()
- Get the x location of the object.
- Returns:
- x location.
y
public int y()
- Get the y location of the object.
- Returns:
- y location.
All Packages Class Hierarchy This Package Previous Next Index