|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Ability | |
---|---|
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 Ability in net.sf.freecol.common |
---|
Methods in net.sf.freecol.common that return types with arguments of type Ability | |
---|---|
java.util.List<Ability> |
Specification.getAbilities(java.lang.String id)
Return a list of all Abilities with the given id. |
Methods in net.sf.freecol.common with parameters of type Ability | |
---|---|
void |
Specification.addAbility(Ability ability)
Registers an Ability as defined. |
Uses of Ability in net.sf.freecol.common.model |
---|
Fields in net.sf.freecol.common.model declared as Ability | |
---|---|
static Ability |
Colony.HAS_PORT
|
Methods in net.sf.freecol.common.model that return Ability | |
---|---|
Ability |
FeatureContainer.removeAbility(Ability oldAbility)
Removes and returns a Ability from this ability set. |
Methods in net.sf.freecol.common.model that return types with arguments of type Ability | |
---|---|
java.util.Set<Ability> |
FeatureContainer.getAbilities()
|
java.util.Set<Ability> |
FeatureContainer.getAbilitySet(java.lang.String id)
Returns a Set of Abilities with the given ID. |
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. |
Methods in net.sf.freecol.common.model with parameters of type Ability | |
---|---|
void |
FreeColGameObjectType.addAbility(Ability ability)
|
boolean |
FeatureContainer.addAbility(Ability ability)
Add the given Ability to the set of Abilities present. |
Ability |
FeatureContainer.removeAbility(Ability oldAbility)
Removes and returns a Ability from this ability set. |
Method parameters in net.sf.freecol.common.model with type arguments of type Ability | |
---|---|
static boolean |
FeatureContainer.hasAbility(java.util.Set<Ability> abilitySet)
Returns true if the given Set of Abilities is not empty and does not contain any Abilities with the value false. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |