Armorypublic interface IArmory
| 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.
|
double |
getExperience() |
Retrieve the experience of the blacksmith.
|
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 |
javafx.beans.property.ReadOnlyIntegerProperty swordAmountProperty()
javafx.beans.property.ReadOnlyIntegerProperty bowAmountProperty()
javafx.beans.property.ReadOnlyIntegerProperty crossbowAmountProperty()
javafx.beans.property.ReadOnlyIntegerProperty musketAmountProperty()
javafx.beans.property.ReadOnlyIntegerProperty cutlassAmountProperty()
javafx.beans.property.ReadOnlyIntegerProperty trebuchetSmallAmountProperty()
javafx.beans.property.ReadOnlyIntegerProperty trebuchetBigAmountProperty()
javafx.beans.property.ReadOnlyIntegerProperty ballistaSmallAmountProperty()
javafx.beans.property.ReadOnlyIntegerProperty ballistaBigAmountProperty()
javafx.beans.property.ReadOnlyIntegerProperty bombardAmountProperty()
javafx.beans.property.ReadOnlyIntegerProperty canonAmountProperty()
boolean isSwordPriority()
boolean isBowPriority()
boolean isCrossbowPriority()
boolean isMusketPriority()
void toggleSwordPriority()
void toggleBowPriority()
void toggleCrossbowPriority()
void toggleMusketPriority()
void updateSwordAmount(int delta)
delta amountdelta - amount to be changed.void updateBowAmount(int delta)
delta amountdelta - amount to be changed.void updateCrossbowAmount(int delta)
delta amountdelta - amount to be changed.void updateMusketAmount(int delta)
delta amountdelta - amount to be changed.void updateCutlassAmount(int delta)
delta amountdelta - amount to be changed.void updateTrebuchetSmallAmount(int delta)
delta amountdelta - amount to be changed.void updateTrebuchetBigAmount(int delta)
delta amountdelta - amount to be changed.void updateBallistaSmallAmount(int delta)
delta amountdelta - amount to be changed.void updateBallistaBigAmount(int delta)
delta amountdelta - amount to be changed.void updateBombardAmount(int delta)
delta amountdelta - amount to be changed.void updateCanonAmount(int delta)
delta amountdelta - amount to be changed.double getExperience()
void gainExperience()
java.time.LocalDateTime occupiedUntil()
void occupy(java.time.LocalDateTime date)
date - set the date until the blacksmith is workingCopyright © 2011-2018 Sahits GmbH. All Rights Reserved.