public class Location
extends java.awt.Point
Constructor and Description |
---|
Location(float _x,
float _y) |
Location(int _x,
int _y) |
Location(Location loc) |
Modifier and Type | Method and Description |
---|---|
Location |
above(int dy) |
Location |
below(int dy) |
Location |
left(int dx) |
Location |
negative() |
Location |
offset(int dx,
int dy) |
Location |
right(int dx) |
java.lang.String |
toString() |
equals, getLocation, getX, getY, move, setLocation, setLocation, setLocation, translate
public Location(float _x, float _y)
public Location(int _x, int _y)
public Location(Location loc)
public Location negative()
public Location offset(int dx, int dy)
public Location left(int dx)
public Location right(int dx)
public Location above(int dy)
public Location below(int dy)
public java.lang.String toString()
toString
in class java.awt.Point