|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Turn | |
---|---|
net.sf.freecol.common.model | Contains the game model. |
Uses of Turn in net.sf.freecol.common.model |
---|
Methods in net.sf.freecol.common.model that return Turn | |
---|---|
Turn |
Region.getDiscoveredIn()
Get the DiscoveredIn value. |
Turn |
Feature.getFirstTurn()
Get the firstTurn value. |
Turn |
Feature.getLastTurn()
Get the LastTurn value. |
Turn |
Game.getTurn()
|
Methods in net.sf.freecol.common.model with parameters of type Turn | |
---|---|
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,
Turn turn)
Applies a Set of Modifiers with the given ID which match the given FreeColGameObjectType and Turn to the given float value. |
static float |
FeatureContainer.applyModifierSet(float number,
Turn turn,
java.util.Set<Modifier> modifierSet)
Applies a given Set of Modifiers to the given float value. |
static Modifier |
Modifier.createTeaPartyModifier(Turn turn)
|
void |
Region.discover(Player player,
Turn turn,
java.lang.String newName)
Mark the Region as discovered. |
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,
Turn turn)
Returns a Set of Abilities with the given ID which apply to the given FreeColGameObjectType and Turn. |
boolean |
FeatureContainer.hasAbility(java.lang.String id,
FreeColGameObjectType objectType,
Turn turn)
Returns true if this Player has the ability with the given ID. |
boolean |
Feature.isOutOfDate(Turn turn)
Returns true if the Feature has an lastTurn turn smaller than the turn given. |
void |
Region.setDiscoveredIn(Turn newDiscoveredIn)
Set the DiscoveredIn value. |
void |
Feature.setFirstTurn(Turn newFirstTurn)
Set the firstTurn value. |
void |
Modifier.setIncrement(float newIncrement,
Modifier.Type type,
Turn firstTurn,
Turn lastTurn)
Set the Increment increment. |
void |
Feature.setLastTurn(Turn newLastTurn)
Set the LastTurn value. |
void |
Game.setTurn(Turn newTurn)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |