|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Locatable
An object that can be put in a Location
.
Method Summary | |
---|---|
Location |
getLocation()
Gets the location of this Locatable . |
int |
getSpaceTaken()
Gets the amount of space this Locatable take. |
Tile |
getTile()
Returns the Tile where this Locatable is located,
or null if it's location is Europe . |
void |
setLocation(Location newLocation)
Sets the location for this Locatable . |
Method Detail |
---|
void setLocation(Location newLocation)
Locatable
.
newLocation
- The new Location
for the Locatable
.Location getLocation()
Locatable
.
Locatable
.Tile getTile()
Tile
where this Locatable
is located,
or null
if it's location is Europe
.
int getSpaceTaken()
Locatable
take.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |