|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Locatable | |
---|---|
net.sf.freecol.common.model | Contains the game model. |
net.sf.freecol.server.ai | The main package of the ai package tree. |
Uses of Locatable in net.sf.freecol.common.model |
---|
Classes in net.sf.freecol.common.model that implement Locatable | |
---|---|
class |
Goods
Represents locatable goods of a specified type and amount. |
class |
LostCityRumour
Represents a lost city rumour. |
class |
Resource
Represents a locatable goods of a specified type and quantity. |
class |
TileImprovement
Represents a tile improvement, such as a river or road. |
class |
TileItem
Represents a TileItem item on a Tile . |
class |
Unit
Represents all pieces that can be moved on the map-board. |
Methods in net.sf.freecol.common.model with parameters of type Locatable | |
---|---|
void |
Unit.add(Locatable locatable)
Adds a locatable to this Unit . |
void |
Tile.add(Locatable locatable)
Adds a Locatable to this Location. |
abstract void |
Settlement.add(Locatable locatable)
Adds a Locatable to this Location. |
void |
Location.add(Locatable locatable)
Adds a Locatable to this Location. |
void |
IndianSettlement.add(Locatable locatable)
Adds a Locatable to this Location. |
void |
Europe.add(Locatable locatable)
Adds a Locatable to this Location. |
void |
ColonyTile.add(Locatable locatable)
Add the specified Locatable to this WorkLocation . |
void |
Colony.add(Locatable locatable)
Adds a Locatable to this Location. |
void |
Building.add(Locatable locatable)
Adds the specified Locatable to this
WorkLocation . |
boolean |
Unit.canAdd(Locatable locatable)
Checks wether or not the specified locatable may be added to this Unit . |
boolean |
Tile.canAdd(Locatable locatable)
Checks whether or not the specified locatable may be added to this Location . |
abstract boolean |
Settlement.canAdd(Locatable locatable)
|
boolean |
Location.canAdd(Locatable locatable)
Checks whether or not the specified locatable may be added to this Location . |
boolean |
IndianSettlement.canAdd(Locatable locatable)
|
boolean |
Europe.canAdd(Locatable locatable)
Checks whether or not the specified locatable may be added to this Location . |
boolean |
ColonyTile.canAdd(Locatable locatable)
Checks if the specified Locatable may be added to
this WorkLocation . |
boolean |
Colony.canAdd(Locatable locatable)
|
boolean |
Building.canAdd(Locatable locatable)
Checks if the specified Locatable may be added to this
WorkLocation . |
boolean |
Unit.contains(Locatable locatable)
Checks if this Unit contains the specified
Locatable . |
boolean |
Tile.contains(Locatable locatable)
Checks if this Tile contains the specified
Locatable . |
abstract boolean |
Settlement.contains(Locatable locatable)
|
boolean |
Location.contains(Locatable locatable)
Checks if this Location contains the specified
Locatable . |
boolean |
IndianSettlement.contains(Locatable locatable)
|
boolean |
Europe.contains(Locatable locatable)
Checks if the specified Locatable is at this
Location . |
boolean |
ColonyTile.contains(Locatable locatable)
Checks if this ColonyTile contains the given Locatable . |
boolean |
Colony.contains(Locatable locatable)
|
boolean |
Building.contains(Locatable locatable)
Checks if this Building contains the specified
Locatable . |
void |
Unit.remove(Locatable locatable)
Removes a Locatable from this Unit . |
void |
Tile.remove(Locatable locatable)
Removes a Locatable from this Location. |
abstract void |
Settlement.remove(Locatable locatable)
Removes a Locatable from this Location. |
void |
Location.remove(Locatable locatable)
Removes a Locatable from this Location. |
void |
IndianSettlement.remove(Locatable locatable)
Removes a Locatable from this Location. |
void |
Europe.remove(Locatable locatable)
Removes a Locatable from this Location. |
void |
ColonyTile.remove(Locatable locatable)
Remove the specified Locatable from this WorkLocation . |
void |
Colony.remove(Locatable locatable)
Removes a Locatable from this Location. |
void |
Building.remove(Locatable locatable)
Removes the specified Locatable from this
WorkLocation . |
Uses of Locatable in net.sf.freecol.server.ai |
---|
Methods in net.sf.freecol.server.ai that return Locatable | |
---|---|
Locatable |
Transportable.getTransportLocatable()
Gets the Locatable which should be transported. |
Locatable |
AIUnit.getTransportLocatable()
Gets the Locatable which should be transported. |
Locatable |
AIGoods.getTransportLocatable()
Gets the Locatable which should be transported. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |