|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use FreeColGameObjectType | |
---|---|
net.sf.freecol.client.gui.action | Contains the Action s used by the GUI in menus and other places. |
net.sf.freecol.client.gui.i18n | |
net.sf.freecol.client.gui.panel | Contains the panels and dialogs. |
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 FreeColGameObjectType in net.sf.freecol.client.gui.action |
---|
Subclasses of FreeColGameObjectType in net.sf.freecol.client.gui.action | |
---|---|
class |
ImprovementActionType
A storage class for ImprovementActionType used to create ImprovementActions. |
Uses of FreeColGameObjectType in net.sf.freecol.client.gui.i18n |
---|
Methods in net.sf.freecol.client.gui.i18n with parameters of type FreeColGameObjectType | |
---|---|
static java.lang.String |
Messages.getName(FreeColGameObjectType object)
Returns the localized name of a FreeColGameObjectType. |
Uses of FreeColGameObjectType in net.sf.freecol.client.gui.panel |
---|
Methods in net.sf.freecol.client.gui.panel with parameters of type FreeColGameObjectType | |
---|---|
void |
ColopediaPanel.initialize(ColopediaPanel.PanelType panelType,
FreeColGameObjectType type)
Prepares this panel to be displayed. |
void |
ColopediaPanel.initialize(FreeColGameObjectType type)
Prepares this panel to be displayed. |
void |
ColopediaPanel.selectDetail(ColopediaPanel.PanelType panelType,
FreeColGameObjectType type)
|
Constructors in net.sf.freecol.client.gui.panel with parameters of type FreeColGameObjectType | |
---|---|
ColopediaPanel(Canvas parent,
ColopediaPanel.PanelType panelType,
FreeColGameObjectType objectType)
The constructor that will add the items to this panel. |
Uses of FreeColGameObjectType in net.sf.freecol.common |
---|
Fields in net.sf.freecol.common declared as FreeColGameObjectType | |
---|---|
static FreeColGameObjectType |
Specification.AMBUSH_BONUS_SOURCE
|
static FreeColGameObjectType |
Specification.ARTILLERY_PENALTY_SOURCE
|
static FreeColGameObjectType |
Specification.ATTACK_BONUS_SOURCE
|
static FreeColGameObjectType |
Specification.BASE_DEFENCE_SOURCE
|
static FreeColGameObjectType |
Specification.BASE_OFFENCE_SOURCE
|
static FreeColGameObjectType |
Specification.CARGO_PENALTY_SOURCE
|
static FreeColGameObjectType |
Specification.COLONY_GOODS_PARTY
|
static FreeColGameObjectType |
Specification.FORTIFICATION_BONUS_SOURCE
|
static FreeColGameObjectType |
Specification.IN_CAPITAL
|
static FreeColGameObjectType |
Specification.IN_SETTLEMENT
|
static FreeColGameObjectType |
Specification.INDIAN_RAID_BONUS_SOURCE
|
static FreeColGameObjectType |
Specification.MOVEMENT_PENALTY_SOURCE
|
Methods in net.sf.freecol.common with type parameters of type FreeColGameObjectType | ||
---|---|---|
|
Specification.getType(java.lang.String Id,
java.lang.Class<T> type)
Returns the FreeColGameObjectType with the given
ID. |
|
|
Specification.getType(javax.xml.stream.XMLStreamReader in,
java.lang.String attributeName,
java.lang.Class<T> returnClass,
T defaultValue)
Returns the FreeColGameObjectType identified by the attributeName, or the default value if there is no such attribute. |
|
|
Specification.getTypesWithAbility(java.lang.Class<T> resultType,
java.lang.String... abilities)
Return all types which have any of the given abilities. |
Methods in net.sf.freecol.common that return FreeColGameObjectType | |
---|---|
FreeColGameObjectType |
Specification.getType(java.lang.String Id)
|
Methods in net.sf.freecol.common that return types with arguments of type FreeColGameObjectType | |
---|---|
java.util.List<FreeColGameObjectType> |
Specification.getTypesProviding(java.lang.String id,
boolean value)
Return a list of FreeColGameObjectTypes that provide the required ability. |
Uses of FreeColGameObjectType in net.sf.freecol.common.model |
---|
Classes in net.sf.freecol.common.model with type parameters of type FreeColGameObjectType | |
---|---|
class |
TypeCountMap<T extends FreeColGameObjectType>
|
interface |
Typed<T extends FreeColGameObjectType>
An object, in particular a FreeColGameObject, that has a FreeColGameObjectType. |
Subclasses of FreeColGameObjectType in net.sf.freecol.common.model | |
---|---|
class |
BuildableType
Contains information on buildable types. |
class |
BuildingType
Contains information on building types, like the number of upgrade levels a given building type can have. |
class |
DifficultyLevel
Represents a difficulty level. |
class |
EquipmentType
|
class |
EuropeanNationType
Represents one of the European nations present in the game, i.e. |
class |
FoundingFather
Represents one FoundingFather to be contained in a Player object. |
class |
GoodsType
|
class |
IndianNationType
Represents one of the Indian nations present in the game. |
class |
Nation
Represents one of the nations present in the game. |
class |
NationType
Represents one of the nations present in the game. |
class |
ResourceType
|
class |
TileImprovementType
|
class |
TileType
|
class |
UnitType
|
Fields in net.sf.freecol.common.model declared as FreeColGameObjectType | |
---|---|
static FreeColGameObjectType |
Colony.SOL_MODIFIER_SOURCE
|
Methods in net.sf.freecol.common.model that return FreeColGameObjectType | |
---|---|
FreeColGameObjectType |
Feature.getSource()
Get the Source value. |
FreeColGameObjectType |
BuildingType.getType()
|
Methods in net.sf.freecol.common.model with parameters of type FreeColGameObjectType | |
---|---|
boolean |
Feature.appliesTo(FreeColGameObjectType objectType)
Returns true if the appliesTo method of at least
one Scope object returns true. |
boolean |
Feature.appliesTo(FreeColGameObjectType objectType,
Turn turn)
Returns true if the appliesTo method of at least
one Scope object returns true. |
float |
FeatureContainer.applyModifier(float number,
java.lang.String id,
FreeColGameObjectType objectType)
Applies a Set of Modifiers with the given ID which match the given FreeColGameObjectType to the given float value. |
float |
FeatureContainer.applyModifier(float number,
java.lang.String id,
FreeColGameObjectType objectType,
Turn turn)
Applies a Set of Modifiers with the given ID which match the given FreeColGameObjectType and Turn to the given float value. |
java.util.Set<Ability> |
FeatureContainer.getAbilitySet(java.lang.String id,
FreeColGameObjectType objectType)
Returns a Set of Abilities with the given ID which apply to the given FreeColGameObjectType. |
java.util.Set<Ability> |
FeatureContainer.getAbilitySet(java.lang.String id,
FreeColGameObjectType objectType,
Turn turn)
Returns a Set of Abilities with the given ID which apply to the given FreeColGameObjectType and Turn. |
java.util.Set<Modifier> |
FeatureContainer.getModifierSet(java.lang.String id,
FreeColGameObjectType objectType)
Returns a Set of Abilities with the given ID which apply to the given FreeColGameObjectType. |
java.util.Set<Modifier> |
FeatureContainer.getModifierSet(java.lang.String id,
FreeColGameObjectType objectType,
Turn turn)
Returns a Set of Abilities with the given ID which apply to the given FreeColGameObjectType and Turn. |
boolean |
FreeColGameObjectType.hasAbility(java.lang.String id,
FreeColGameObjectType type)
|
boolean |
FeatureContainer.hasAbility(java.lang.String id,
FreeColGameObjectType objectType)
Returns true if this Player has the ability with the given ID. |
boolean |
Colony.hasAbility(java.lang.String id,
FreeColGameObjectType type)
Returns true if the Colony, or its owner has the ability identified by id . |
boolean |
FeatureContainer.hasAbility(java.lang.String id,
FreeColGameObjectType objectType,
Turn turn)
Returns true if this Player has the ability with the given ID. |
void |
Feature.setSource(FreeColGameObjectType newSource)
Set the Source value. |
Constructors in net.sf.freecol.common.model with parameters of type FreeColGameObjectType | |
---|---|
Ability(java.lang.String id,
FreeColGameObjectType source,
boolean value)
Creates a new Ability instance. |
|
Modifier(java.lang.String id,
FreeColGameObjectType source,
float value,
Modifier.Type type)
Creates a new Modifier instance. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |