|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ILocatable
The interface that defines the capabilties for an object that can have its location accessed/mutated
Method Summary | |
---|---|
Point |
getLocation()
Gets the location of this Object |
Vector |
move(Vector v)
Moves the Object from one location to another by a specific vector |
void |
setLocation(Point p)
Sets the Location of this Object to be the specified point |
Method Detail |
---|
void setLocation(Point p)
p
- the point at which to locate this ObjectPoint getLocation()
Vector move(Vector v)
v
- The vector representing where this should move
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |