| Modifier and Type | Method | Description |
|---|---|---|
javafx.beans.property.ReadOnlyIntegerProperty |
ballistaBigAmountProperty() |
Property holding the amount of big ballista in the storage.
|
javafx.beans.property.ReadOnlyIntegerProperty |
ballistaSmallAmountProperty() |
Property holding the amount of small ballista in the storage.
|
javafx.beans.property.ReadOnlyIntegerProperty |
bombardAmountProperty() |
Property holding the amount of bombard in the storage.
|
javafx.beans.property.ReadOnlyIntegerProperty |
bowAmountProperty() |
Property holding the amount of bows in the storage.
|
javafx.beans.property.ReadOnlyIntegerProperty |
canonAmountProperty() |
Property holding the amount of canon in the storage.
|
javafx.beans.property.ReadOnlyIntegerProperty |
crossbowAmountProperty() |
Property holding the amount of crossbows in the storage.
|
javafx.beans.property.ReadOnlyIntegerProperty |
cutlassAmountProperty() |
Property holding the amount of hand weapons in the storage.
|
void |
gainExperience() |
Increase the experience.
|
boolean |
isBowPriority() |
Indicate that the bow should be produced with priority
|
boolean |
isCrossbowPriority() |
Indicate that the crossbow should be produced with priority
|
boolean |
isMusketPriority() |
Indicate that the musket should be produced with priority
|
boolean |
isSwordPriority() |
Indicate that the sword should be produced with priority
|
javafx.beans.property.ReadOnlyIntegerProperty |
musketAmountProperty() |
Property holding the amount of musket in the storage.
|
java.time.LocalDateTime |
occupiedUntil() |
Date until the blacksmith has work.
|
void |
occupy(java.time.LocalDateTime date) |
Date in the future until which the blacksmith has work.
|
javafx.beans.property.ReadOnlyIntegerProperty |
swordAmountProperty() |
Property holding the amount of swords in the storage.
|
void |
toggleBowPriority() |
Toggle the priority of the bow.
|
void |
toggleCrossbowPriority() |
Toggle the priority of the crossbow.
|
void |
toggleMusketPriority() |
Toggle the priority of the musket.
|
void |
toggleSwordPriority() |
Toggle the priority of the sword.
|
javafx.beans.property.ReadOnlyIntegerProperty |
trebuchetBigAmountProperty() |
Property holding the amount of big trebuchet in the storage.
|
javafx.beans.property.ReadOnlyIntegerProperty |
trebuchetSmallAmountProperty() |
Property holding the amount of small trebuchet in the storage.
|
void |
updateBallistaBigAmount(int delta) |
Update the amount of big ballista by the
delta amount |
void |
updateBallistaSmallAmount(int delta) |
Update the amount of small ballista by the
delta amount |
void |
updateBombardAmount(int delta) |
Update the amount of bombard by the
delta amount |
void |
updateBowAmount(int delta) |
Update the amount of bows by the
delta amount |
void |
updateCanonAmount(int delta) |
Update the amount of canon by the
delta amount |
void |
updateCrossbowAmount(int delta) |
Update the amount of crossbows by the
delta amount |
void |
updateCutlassAmount(int delta) |
Update the amount of hand weapon by the
delta amount |
void |
updateMusketAmount(int delta) |
Update the amount of musket by the
delta amount |
void |
updateSwordAmount(int delta) |
Update the amount of swords by the
delta amount |
void |
updateTrebuchetBigAmount(int delta) |
Update the amount of big trebuchet by the
delta amount |
void |
updateTrebuchetSmallAmount(int delta) |
Update the amount of small trebuchet by the
delta amount |
getExperiencepublic Armory(ICity city)
public javafx.beans.property.ReadOnlyIntegerProperty swordAmountProperty()
IArmoryswordAmountProperty in interface IArmorypublic javafx.beans.property.ReadOnlyIntegerProperty bowAmountProperty()
IArmorybowAmountProperty in interface IArmorypublic javafx.beans.property.ReadOnlyIntegerProperty crossbowAmountProperty()
IArmorycrossbowAmountProperty in interface IArmorypublic javafx.beans.property.ReadOnlyIntegerProperty musketAmountProperty()
IArmorymusketAmountProperty in interface IArmorypublic javafx.beans.property.ReadOnlyIntegerProperty cutlassAmountProperty()
IArmorycutlassAmountProperty in interface IArmorypublic javafx.beans.property.ReadOnlyIntegerProperty trebuchetSmallAmountProperty()
IArmorytrebuchetSmallAmountProperty in interface IArmorypublic javafx.beans.property.ReadOnlyIntegerProperty trebuchetBigAmountProperty()
IArmorytrebuchetBigAmountProperty in interface IArmorypublic javafx.beans.property.ReadOnlyIntegerProperty ballistaSmallAmountProperty()
IArmoryballistaSmallAmountProperty in interface IArmorypublic javafx.beans.property.ReadOnlyIntegerProperty ballistaBigAmountProperty()
IArmoryballistaBigAmountProperty in interface IArmorypublic javafx.beans.property.ReadOnlyIntegerProperty bombardAmountProperty()
IArmorybombardAmountProperty in interface IArmorypublic javafx.beans.property.ReadOnlyIntegerProperty canonAmountProperty()
IArmorycanonAmountProperty in interface IArmorypublic boolean isSwordPriority()
IArmoryisSwordPriority in interface IArmorypublic boolean isBowPriority()
IArmoryisBowPriority in interface IArmorypublic boolean isCrossbowPriority()
IArmoryisCrossbowPriority in interface IArmorypublic boolean isMusketPriority()
IArmoryisMusketPriority in interface IArmorypublic void toggleSwordPriority()
IArmorytoggleSwordPriority in interface IArmorypublic void toggleBowPriority()
IArmorytoggleBowPriority in interface IArmorypublic void toggleCrossbowPriority()
IArmorytoggleCrossbowPriority in interface IArmorypublic void toggleMusketPriority()
IArmorytoggleMusketPriority in interface IArmorypublic void updateSwordAmount(int delta)
IArmorydelta amountupdateSwordAmount in interface IArmorydelta - amount to be changed.public void updateBowAmount(int delta)
IArmorydelta amountupdateBowAmount in interface IArmorydelta - amount to be changed.public void updateCrossbowAmount(int delta)
IArmorydelta amountupdateCrossbowAmount in interface IArmorydelta - amount to be changed.public void updateMusketAmount(int delta)
IArmorydelta amountupdateMusketAmount in interface IArmorydelta - amount to be changed.public void updateCutlassAmount(int delta)
IArmorydelta amountupdateCutlassAmount in interface IArmorydelta - amount to be changed.public void updateTrebuchetSmallAmount(int delta)
IArmorydelta amountupdateTrebuchetSmallAmount in interface IArmorydelta - amount to be changed.public void updateTrebuchetBigAmount(int delta)
IArmorydelta amountupdateTrebuchetBigAmount in interface IArmorydelta - amount to be changed.public void updateBallistaSmallAmount(int delta)
IArmorydelta amountupdateBallistaSmallAmount in interface IArmorydelta - amount to be changed.public void updateBallistaBigAmount(int delta)
IArmorydelta amountupdateBallistaBigAmount in interface IArmorydelta - amount to be changed.public void updateBombardAmount(int delta)
IArmorydelta amountupdateBombardAmount in interface IArmorydelta - amount to be changed.public void updateCanonAmount(int delta)
IArmorydelta amountupdateCanonAmount in interface IArmorydelta - amount to be changed.public void gainExperience()
IArmorygainExperience in interface IArmorypublic java.time.LocalDateTime occupiedUntil()
IArmoryoccupiedUntil in interface IArmoryCopyright © 2011-2018 Sahits GmbH. All Rights Reserved.