|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ResourceType | |
---|---|
net.sf.freecol.client.gui | Contains the GUI classes. |
net.sf.freecol.common | Contains classes in use by both the server and the client. |
net.sf.freecol.common.model | Contains the game model. |
Uses of ResourceType in net.sf.freecol.client.gui |
---|
Methods in net.sf.freecol.client.gui with parameters of type ResourceType | |
---|---|
java.awt.Image |
ImageLibrary.getBonusImage(ResourceType type)
|
javax.swing.ImageIcon |
ImageLibrary.getBonusImageIcon(ResourceType type)
Returns the bonus-ImageIcon at the given index. |
javax.swing.ImageIcon |
ImageLibrary.getScaledBonusImageIcon(ResourceType type,
float scale)
|
Uses of ResourceType in net.sf.freecol.common |
---|
Methods in net.sf.freecol.common that return ResourceType | |
---|---|
ResourceType |
Specification.getResourceType(java.lang.String id)
|
Methods in net.sf.freecol.common that return types with arguments of type ResourceType | |
---|---|
java.util.List<ResourceType> |
Specification.getResourceTypeList()
|
Uses of ResourceType in net.sf.freecol.common.model |
---|
Methods in net.sf.freecol.common.model that return ResourceType | |
---|---|
ResourceType |
Resource.getType()
Returns the ResourceType of this Resource. |
Methods in net.sf.freecol.common.model that return types with arguments of type ResourceType | |
---|---|
java.util.List<ResourceType> |
TileType.getResourceTypeList()
|
java.util.List<RandomChoice<ResourceType>> |
TileType.getWeightedResources()
|
Methods in net.sf.freecol.common.model with parameters of type ResourceType | |
---|---|
boolean |
TileType.canHaveResourceType(ResourceType resourceType)
Can this TileType contain a specified
ResourceType ? |
void |
Tile.setResource(ResourceType r)
Sets the Resource for this Tile |
Constructors in net.sf.freecol.common.model with parameters of type ResourceType | |
---|---|
Resource(Game game,
Tile tile,
ResourceType type)
Creates a standard Resource -instance. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |