Uses of Enum Class
wizardquest.abilities.UpgradeEnum
Packages that use UpgradeEnum
Package
Description
-
Uses of UpgradeEnum in wizardquest.abilities
Methods in wizardquest.abilities that return UpgradeEnumModifier and TypeMethodDescriptionstatic UpgradeEnumReturns the enum constant of this class with the specified name.static UpgradeEnum[]UpgradeEnum.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in wizardquest.abilities that return types with arguments of type UpgradeEnumModifier and TypeMethodDescriptionAbsolutePulseUnlockUpgrade.getUpgrades()FireBallUnlockUpgrade.getUpgrades()FireDamageResistanceUpgrade.getUpgrades()PhysicalDamageResistanceUpgrade.getUpgrades()SlashUnlockUpgrade.getUpgrades()ThunderDamageResistanceUpgrade.getUpgrades()ThunderStormUnlockUpgrade.getUpgrades()UpgradeBase.getUpgrades()WaterDamageResistanceUpgrade.getUpgrades()WaterJetUnlockUpgrade.getUpgrades() -
Uses of UpgradeEnum in wizardquest.entity
Methods in wizardquest.entity that return UpgradeEnumModifier and TypeMethodDescriptionEntityAIInterface.pickUpgrade(UpgradeEnum[] upgrades, int coins) Called when an Entity AI attempts to purchase an upgrade from the shop between encounters.Methods in wizardquest.entity that return types with arguments of type UpgradeEnumModifier and TypeMethodDescriptionPlayer.getUpgrades()PlayerInterface.getUpgrades()List the upgrades that have been purchased between encounters by the player.Methods in wizardquest.entity with parameters of type UpgradeEnumModifier and TypeMethodDescriptionEntityAIInterface.pickUpgrade(UpgradeEnum[] upgrades, int coins) Called when an Entity AI attempts to purchase an upgrade from the shop between encounters. -
Uses of UpgradeEnum in wizardquest.gamemanager
Methods in wizardquest.gamemanager that return UpgradeEnumModifier and TypeMethodDescriptionGameManagerInterface.viewShop()Opens shop interface after level completion.GameRun.viewShop()GameRunInterface.viewShop()Picks a number of upgrades from the shop determined by the ShopItemCount design parameter and returns an array of references to them.Methods in wizardquest.gamemanager with parameters of type UpgradeEnumModifier and TypeMethodDescriptionvoidGameManagerInterface.purchaseUpgrade(UpgradeEnum upgrade) Attempts to purchase an upgrade from the shop.voidGameRun.purchaseUpgrade(UpgradeEnum upgrade) voidGameRunInterface.purchaseUpgrade(UpgradeEnum upgrade) Attempts to buy the selected upgrade, throwing an error if the player doesn't have enough coins, and otherwise reducing their number of coins by the upgrade's price. -
Uses of UpgradeEnum in wizardquest.telemetry
Methods in wizardquest.telemetry that return UpgradeEnumModifier and TypeMethodDescriptionBuyUpgradeEvent.getUpgrade_bought()Gets the stored upgrade bought.Constructors in wizardquest.telemetry with parameters of type UpgradeEnumModifierConstructorDescriptionBuyUpgradeEvent(String userID, int sessionID, Instant timeStamp, EncounterEnum encounterName, DifficultyEnum difficulty, int stageNumber, UpgradeEnum upgradeBought, int coinsSpent) Constructor for BuyUpgradeEvent.