Class WarpPad
java.lang.Object
org.kingdoms.constants.base.CompressedSmartObject
org.kingdoms.constants.base.KingdomsObject
org.kingdoms.constants.base.KeyedKingdomsObject<SimpleLocation>
org.kingdoms.constants.land.KingdomBlock
org.kingdoms.constants.land.abstraction.KingdomBuilding<StructureStyle>
org.kingdoms.constants.land.structures.Structure
org.kingdoms.constants.land.structures.objects.WarpPad
- All Implemented Interfaces:
org.kingdoms.abstraction.Levellable,Keyed<SimpleLocation>,SmartObject,org.kingdoms.constants.group.model.logs.Loggable,FuelContainer,org.kingdoms.data.Deserializable,org.kingdoms.data.Serializable,org.kingdoms.locale.provider.CascadingMessageContextProvider,org.kingdoms.locale.provider.MessageContextProvider
-
Field Summary
Fields inherited from class org.kingdoms.constants.land.abstraction.KingdomBuilding
building, durability, level, styleFields inherited from class org.kingdoms.constants.land.KingdomBlock
originFields inherited from class org.kingdoms.constants.base.KingdomsObject
lastLogsExpirationCheck, logs, metadata, statisticsFields inherited from class org.kingdoms.constants.base.CompressedSmartObject
objectState -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddMessageContextEdits(MessagePlaceholderProvider context, Kingdom kingdom) voiddeserialize(DeserializationContext<org.kingdoms.data.database.dataprovider.SectionableDataGetter> context) doublegetFuel()doubleinthashCode()voidserialize(SerializationContext<org.kingdoms.data.database.dataprovider.SectionableDataSetter> context) voidsetFuel(double fuel) Methods inherited from class org.kingdoms.constants.land.structures.Structure
getDataMap, getDisplayName, getKingdomBlockHandler, getNameOrDefault, place, remove, setNameMethods inherited from class org.kingdoms.constants.land.abstraction.KingdomBuilding
addMessageContextEdits, canFunction, decreaseDurability, displayParticle, displayParticle, dropItem, equals, eval, eval, getBlock, getBuilding, getBuildingSettings, getContext, getDurability, getItem, getKey, getLevel, getMaxLevel, getParticleDisplay, getPlaceholderContext, getStyle, getUpgradeCost, getVisualsManager, isEnabled, modifyData, ofSection, ofSection, ofSection, onBuildFinish, playSound, playSound, playSound, prepareBuilding, remove, repair, requireRepair, setBuilding, setDurability, setLevel, toString, update, upgradeMethods inherited from class org.kingdoms.constants.land.KingdomBlock
getLand, getOriginMethods inherited from class org.kingdoms.constants.base.KingdomsObject
getLogs, getMetadata, getNewestLog, getNewestLog, getStatistics, log, setLogs, setMetadata, setStatisticsMethods inherited from class org.kingdoms.constants.base.CompressedSmartObject
ensureValidObject, getCompressedData, getDataHandler, hasObjectExpired, invalidateObject, isNewData, isObjectStateSaved, saveObjectState, shouldSaveMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.kingdoms.locale.provider.CascadingMessageContextProvider
getMessageContextMethods inherited from interface org.kingdoms.constants.land.FuelContainer
addFuel, hasFuelMethods inherited from interface org.kingdoms.constants.base.SmartObject
isDataEmpty
-
Constructor Details
-
WarpPad
-
-
Method Details
-
hashCode
public int hashCode()- Overrides:
hashCodein classKingdomBuilding<StructureStyle>
-
getFuel
public double getFuel()- Specified by:
getFuelin interfaceFuelContainer
-
setFuel
public void setFuel(double fuel) - Specified by:
setFuelin interfaceFuelContainer
-
addMessageContextEdits
public MessagePlaceholderProvider addMessageContextEdits(MessagePlaceholderProvider context, Kingdom kingdom) - Overrides:
addMessageContextEditsin classStructure
-
getMaxFuel
public double getMaxFuel()- Specified by:
getMaxFuelin interfaceFuelContainer
-
serialize
@MustBeInvokedByOverriders public void serialize(SerializationContext<org.kingdoms.data.database.dataprovider.SectionableDataSetter> context) -
deserialize
@MustBeInvokedByOverriders public void deserialize(DeserializationContext<org.kingdoms.data.database.dataprovider.SectionableDataGetter> context) - Specified by:
deserializein interfaceorg.kingdoms.data.Deserializable- Overrides:
deserializein classStructure
-