Index
All Classes and Interfaces|All Packages|Serialized Form
A
- AbilityEnum - Enum Class in wizardquest.abilities
- ABSOLUTE - Enum constant in enum class wizardquest.abilities.DamageEnum
- ABSOLUTE_PULSE - Enum constant in enum class wizardquest.abilities.AbilityEnum
- ABSOLUTE_PULSE_UNLOCK - Enum constant in enum class wizardquest.abilities.UpgradeEnum
- AbsolutePulseUnlockUpgrade - Class in wizardquest.abilities
- AbsolutePulseUnlockUpgrade(PlayerInterface) - Constructor for class wizardquest.abilities.AbsolutePulseUnlockUpgrade
- advanceToNextLevel() - Method in interface wizardquest.gamemanager.GameManagerInterface
-
Advances to the next level (Encounter(s) completed).
- applyUpgrade(PlayerInterface) - Method in enum class wizardquest.abilities.UpgradeEnum
-
Applies an upgrade to a given player.
- AuthenticationException - Exception Class in wizardquest.auth
-
Exception representing an issue relating to user authentication.
- AuthenticationException() - Constructor for exception class wizardquest.auth.AuthenticationException
-
Throw the exception without a message or cause
- AuthenticationException(String) - Constructor for exception class wizardquest.auth.AuthenticationException
-
Throws the exception with a message to be displayed to the developer.
- AuthenticationException(String, Throwable) - Constructor for exception class wizardquest.auth.AuthenticationException
-
Throws the exception with a message to be displayed to the developer and a cause for the exception being thrown.
- AuthenticationResult - Record Class in wizardquest.auth
- AuthenticationResult(String, String, RoleEnum) - Constructor for record class wizardquest.auth.AuthenticationResult
-
Creates an instance of a
AuthenticationResultrecord class. - Authenticator - Class in wizardquest.auth
- Authenticator() - Constructor for class wizardquest.auth.Authenticator
- AuthenticatorInterface - Interface in wizardquest.auth
B
- BossEncounterCompleteEvent - Class in wizardquest.telemetry
- BossEncounterCompleteEvent(String, int, Instant, EncounterEnum, DifficultyEnum, int, int) - Constructor for class wizardquest.telemetry.BossEncounterCompleteEvent
-
Constructor for BossEncounterCompleteEvent.
- BossEncounterFailEvent - Class in wizardquest.telemetry
- BossEncounterFailEvent(String, int, Instant, EncounterEnum, DifficultyEnum, int, int) - Constructor for class wizardquest.telemetry.BossEncounterFailEvent
-
Constructor for BossEncounterFailEvent.
- BossEncounterStartEvent - Class in wizardquest.telemetry
- BossEncounterStartEvent(String, int, Instant, EncounterEnum, DifficultyEnum, int) - Constructor for class wizardquest.telemetry.BossEncounterStartEvent
-
Constructor for BossEncounterStartEvent.
- BuyUpgradeEvent - Class in wizardquest.telemetry
- BuyUpgradeEvent(String, int, Instant, EncounterEnum, DifficultyEnum, int, UpgradeEnum, int) - Constructor for class wizardquest.telemetry.BuyUpgradeEvent
-
Constructor for BuyUpgradeEvent.
C
- calcDamage(int, DamageEnum) - Method in class wizardquest.abilities.UpgradeBase
- calcDamage(int, DamageEnum) - Method in class wizardquest.entity.EnemyBase
- calcDamage(int, DamageEnum) - Method in interface wizardquest.entity.EntityInterface
-
Calculate the damage inflicted by one entity onto another.
- calcDamage(int, DamageEnum) - Method in class wizardquest.entity.Player
- completeCurrentEncounter() - Method in interface wizardquest.gamemanager.GameManagerInterface
-
Completes the current encounter if won.
- convertJSONToEnum(String) - Static method in enum class wizardquest.auth.RoleEnum
-
Converts the user's role from string format in the JSON file to a RoleEnum object.
- createEncounter(DifficultyEnum) - Method in enum class wizardquest.gamemanager.EncounterEnum
-
This creates a new instance of an Encounter of this type Uses EntityType reflection for the instantiation of the actual encounters.
- createEnemy(DifficultyEnum) - Method in enum class wizardquest.entity.EntityEnum
-
Creates a new instance of this entity using Java reflection
D
- DamageEnum - Enum Class in wizardquest.abilities
-
Enumerates all damage types in the game.
- DESIGNER - Enum constant in enum class wizardquest.auth.RoleEnum
- DEVELOPER - Enum constant in enum class wizardquest.auth.RoleEnum
- DifficultyEnum - Enum Class in wizardquest.settings
-
Enumerates all difficulty levels in the game.
E
- EASY - Enum constant in enum class wizardquest.settings.DifficultyEnum
- Encounter - Class in wizardquest.gamemanager
- Encounter(EncounterEnum, DifficultyEnum) - Constructor for class wizardquest.gamemanager.Encounter
- EncounterCompleteEvent - Class in wizardquest.telemetry
- EncounterCompleteEvent(String, int, Instant, String, EncounterEnum, DifficultyEnum, int, int) - Constructor for class wizardquest.telemetry.EncounterCompleteEvent
-
Constructor for EncounterCompleteEvent.
- EncounterEnum - Enum Class in wizardquest.gamemanager
-
Enumerates all encounter types in the game.
- EncounterEvent - Class in wizardquest.telemetry
- EncounterEvent(String, int, Instant, String, EncounterEnum, DifficultyEnum, int) - Constructor for class wizardquest.telemetry.EncounterEvent
-
Constructor for the encounter telemetry event.
- EncounterFailEvent - Class in wizardquest.telemetry
- EncounterFailEvent(String, int, Instant, String, EncounterEnum, DifficultyEnum, int, int) - Constructor for class wizardquest.telemetry.EncounterFailEvent
-
Constructor for EncounterFailEvent.
- EncounterInterface - Interface in wizardquest.gamemanager
-
Interface for encounters.
- endGame() - Method in interface wizardquest.gamemanager.GameManagerInterface
-
Ends current game.
- EndSessionEvent - Class in wizardquest.telemetry
- EndSessionEvent(String, int, Instant) - Constructor for class wizardquest.telemetry.EndSessionEvent
-
Constructor for EndSessionEvent.
- ENEMY_DAMAGE_MULTIPLIER - Enum constant in enum class wizardquest.settings.SettingsEnum
- ENEMY_MAX_HEALTH_MULTIPLIER - Enum constant in enum class wizardquest.settings.SettingsEnum
- EnemyBase - Class in wizardquest.entity
-
Abstract base Enemy class for all the enemies that occur in the game This class provides ways to calculate health and damage caused Should be extended by Concrete enemy classes with their own definitions of stats, abilities and entity type
- EnemyBase(int) - Constructor for class wizardquest.entity.EnemyBase
-
Constructor with specified max health.
- EntityAIInterface - Interface in wizardquest.entity
-
Interface for the Entity AI.
- EntityAISingleton - Class in wizardquest.entity
-
Provides global access to the random entity AI.
- EntityEnum - Enum Class in wizardquest.entity
-
Enumerates all entity types in the game.
- EntityInterface - Interface in wizardquest.entity
-
Interface for entities.
- equals(Object) - Method in record class wizardquest.auth.AuthenticationResult
-
Indicates whether some other object is "equal to" this one.
- execute(EntityInterface, EntityInterface) - Method in enum class wizardquest.abilities.AbilityEnum
-
Executes the ability on a target.
F
- FIRE - Enum constant in enum class wizardquest.abilities.DamageEnum
- FIRE_BALL - Enum constant in enum class wizardquest.abilities.AbilityEnum
- FIRE_BALL_UNLOCK - Enum constant in enum class wizardquest.abilities.UpgradeEnum
- FIRE_DAMAGE_RESISTANCE - Enum constant in enum class wizardquest.abilities.UpgradeEnum
- FireBallUnlockUpgrade - Class in wizardquest.abilities
- FireBallUnlockUpgrade(PlayerInterface) - Constructor for class wizardquest.abilities.FireBallUnlockUpgrade
- FireDamageResistanceUpgrade - Class in wizardquest.abilities
- FireDamageResistanceUpgrade(PlayerInterface) - Constructor for class wizardquest.abilities.FireDamageResistanceUpgrade
- FISH_MAN - Enum constant in enum class wizardquest.entity.EntityEnum
- FishMan - Class in wizardquest.entity
-
Fishman - is a water-based beginner-level enemy Uses water based techniques, and is water damage resistant Phase 1 enemy
- FishMan(DifficultyEnum) - Constructor for class wizardquest.entity.FishMan
- FISHMAN_ENCOUNTER - Enum constant in enum class wizardquest.gamemanager.EncounterEnum
G
- GainCoinEvent - Class in wizardquest.telemetry
- GainCoinEvent(String, int, Instant, EncounterEnum, DifficultyEnum, int, int) - Constructor for class wizardquest.telemetry.GainCoinEvent
-
Constructor for GainCoinEvent.
- gainCoins(int) - Method in class wizardquest.abilities.UpgradeBase
- gainCoins(int) - Method in class wizardquest.entity.Player
- gainCoins(int) - Method in interface wizardquest.entity.PlayerInterface
-
Increases a player's coin total by a given amount.
- gainMagic(int) - Method in class wizardquest.abilities.UpgradeBase
- gainMagic(int) - Method in class wizardquest.entity.Player
- gainMagic(int) - Method in interface wizardquest.entity.PlayerInterface
-
Increases a player's magic points by a given amount.
- GameManagerInterface - Interface in wizardquest.gamemanager
-
Interface the game manager implements.
- GameManagerSingleton - Class in wizardquest.gamemanager
-
Provides global access to the game manager.
- GameRun - Class in wizardquest.gamemanager
- GameRun(DifficultyEnum, int) - Constructor for class wizardquest.gamemanager.GameRun
-
Creates a run for the game in the specified difficulty.
- GameRunInterface - Interface in wizardquest.gamemanager
-
Provides the interface for a game run.
- GameUserCLI - Class in wizardquest.ui
- getAbilities() - Method in class wizardquest.abilities.AbsolutePulseUnlockUpgrade
- getAbilities() - Method in class wizardquest.abilities.FireBallUnlockUpgrade
- getAbilities() - Method in class wizardquest.abilities.SlashUnlockUpgrade
- getAbilities() - Method in class wizardquest.abilities.ThunderStormUnlockUpgrade
- getAbilities() - Method in class wizardquest.abilities.UpgradeBase
- getAbilities() - Method in class wizardquest.abilities.WaterJetUnlockUpgrade
- getAbilities() - Method in class wizardquest.entity.EnemyBase
- getAbilities() - Method in interface wizardquest.entity.EntityInterface
-
List the abilities that are currently usable by the entity.
- getAbilities() - Method in class wizardquest.entity.FishMan
- getAbilities() - Method in class wizardquest.entity.Goblin
- getAbilities() - Method in class wizardquest.entity.Player
- getBaseDamage() - Method in enum class wizardquest.abilities.AbilityEnum
-
Gets the base damage for the ability, before any passive abilities (upgrades) modify it.
- getCoins() - Method in class wizardquest.abilities.UpgradeBase
- getCoins() - Method in class wizardquest.entity.Player
- getCoins() - Method in interface wizardquest.entity.PlayerInterface
-
Gets the amount of coins a player currently has.
- getCoins_gained() - Method in class wizardquest.telemetry.GainCoinEvent
-
Gets the stored number of coins gained.
- getCoins_spent() - Method in class wizardquest.telemetry.BuyUpgradeEvent
-
Gets the stored number of coins spent.
- getCurrentDifficulty() - Method in interface wizardquest.gamemanager.GameManagerInterface
-
Returns the current difficulty of the current run.
- getCurrentEncounter() - Method in interface wizardquest.gamemanager.GameManagerInterface
-
Returns the current encounter/fight within a level.
- getCurrentPlayer() - Method in interface wizardquest.gamemanager.GameManagerInterface
-
Returns the current player.
- getCurrentRun() - Method in interface wizardquest.gamemanager.GameManagerInterface
-
Returns the current game run.
- getCurrentTime() - Method in interface wizardquest.gamemanager.TimeManagerInterface
-
Provides access to the current time when the method is called.
- getDamageType() - Method in enum class wizardquest.abilities.AbilityEnum
-
Get the type of damage the ability deals.
- getDeathCount() - Method in class wizardquest.gamemanager.GameRun
- getDeathCount() - Method in interface wizardquest.gamemanager.GameRunInterface
-
Returns the number of deaths the player has had in this run.
- getDescription() - Method in enum class wizardquest.abilities.AbilityEnum
-
Gets the description of the ability.
- getDifficulty() - Method in class wizardquest.gamemanager.GameRun
- getDifficulty() - Method in interface wizardquest.gamemanager.GameRunInterface
-
Gets the difficulty of the run.
- getDifficulty() - Method in class wizardquest.telemetry.EncounterEvent
-
Gets the difficulty setting for the run that generated this event.
- getDifficulty() - Method in class wizardquest.telemetry.StartSessionEvent
-
Gets the difficulty of the session.
- getDisplayName() - Method in enum class wizardquest.abilities.AbilityEnum
-
Gets the human readable display name for the ability.
- getDisplayName() - Method in enum class wizardquest.abilities.UpgradeEnum
-
Get the human readable name for the upgrade.
- getDisplayName() - Method in enum class wizardquest.entity.EntityEnum
-
This method gets the telemetry name for this entity type
- getDisplayName() - Method in enum class wizardquest.gamemanager.EncounterEnum
-
This method gets the display name for this encounter
- getEncounter_name() - Method in class wizardquest.telemetry.EncounterEvent
-
Gets the name for the encounter this event was generated on.
- getEnemies() - Method in class wizardquest.gamemanager.Encounter
- getEnemies() - Method in enum class wizardquest.gamemanager.EncounterEnum
-
Gets the types of enemies that occur during this Encounter
- getEnemies() - Method in interface wizardquest.gamemanager.EncounterInterface
-
Provides a reference to all enemies in the encounter.
- getEnemy_type() - Method in class wizardquest.telemetry.KillEnemyEvent
-
Gets stored enemy type killed.
- getEnemyDamageMultiplier(DifficultyEnum) - Method in interface wizardquest.settings.SettingsInterface
-
Gets the value of the enemy damage multiplier design parameter for the specified difficulty.
- getEnemyMaxHealthMultiplier(DifficultyEnum) - Method in interface wizardquest.settings.SettingsInterface
-
Gets the value of the enemy max health multiplier design parameter for the specified difficulty.
- getEvent() - Method in class wizardquest.telemetry.TelemetryEvent
-
Gets the name of the telemetry event according to the telemetry specification.
- getHealth() - Method in class wizardquest.abilities.UpgradeBase
- getHealth() - Method in class wizardquest.entity.EnemyBase
- getHealth() - Method in interface wizardquest.entity.EntityInterface
-
Gets an entity's current health.
- getHealth() - Method in class wizardquest.entity.Player
- getInstance() - Static method in class wizardquest.entity.EntityAISingleton
-
Provides a reference to the random entity AI.
- getInstance() - Static method in class wizardquest.gamemanager.GameManagerSingleton
-
Provides a reference to the game manager.
- getInstance() - Static method in class wizardquest.gamemanager.TimeManagerSingleton
-
Returns a reference to the time manager.
- getInstance() - Static method in class wizardquest.settings.SettingsSingleton
- getInstance() - Static method in class wizardquest.telemetry.TelemetryListenerSingleton
-
Returns a reference to the telemetry listener.
- getJSONName() - Method in enum class wizardquest.auth.RoleEnum
-
Gets the name of the role according to the settings JSON specification
- getLives() - Method in class wizardquest.abilities.UpgradeBase
- getLives() - Method in class wizardquest.entity.Player
- getLives() - Method in interface wizardquest.entity.PlayerInterface
-
Gets the remaining lives that a player has in a session.
- getLives_left() - Method in class wizardquest.telemetry.EncounterFailEvent
-
Gets stored lives left.
- getMagic() - Method in class wizardquest.abilities.UpgradeBase
- getMagic() - Method in class wizardquest.entity.Player
- getMagic() - Method in interface wizardquest.entity.PlayerInterface
-
Gets the amount of magic points a player currently has.
- getMagicCost() - Method in enum class wizardquest.abilities.AbilityEnum
-
Get the amount of magic this ability consumes when used.
- getMagicRegenRate() - Method in class wizardquest.abilities.UpgradeBase
- getMagicRegenRate() - Method in class wizardquest.entity.Player
- getMagicRegenRate() - Method in interface wizardquest.entity.PlayerInterface
-
Gets the rate at which a player's magic points regenerates between each stage.
- getMagicRegenRate(DifficultyEnum) - Method in interface wizardquest.settings.SettingsInterface
-
Gets the value of the magic regeneration rate design parameter for the specified difficulty.
- getMaxHealth() - Method in class wizardquest.abilities.UpgradeBase
- getMaxHealth() - Method in class wizardquest.entity.EnemyBase
- getMaxHealth() - Method in interface wizardquest.entity.EntityInterface
-
Gets an entity's maximum health.
- getMaxHealth() - Method in class wizardquest.entity.Player
- getMaxMagic() - Method in class wizardquest.abilities.UpgradeBase
- getMaxMagic() - Method in class wizardquest.entity.Player
- getMaxMagic() - Method in interface wizardquest.entity.PlayerInterface
-
Gets the maximum amount of magic points a player can have.
- getMaxMagic(DifficultyEnum) - Method in interface wizardquest.settings.SettingsInterface
-
Gets the value of the max magic design parameter for the specified difficulty.
- getMaxStageReached(DifficultyEnum) - Method in interface wizardquest.settings.SettingsInterface
-
Gets the user's personal best for the furthest stage they've reached of the specified difficulty.
- getPlayer() - Method in class wizardquest.gamemanager.GameRun
- getPlayer() - Method in interface wizardquest.gamemanager.GameRunInterface
-
Returns a reference to the player.
- getPlayer_HP_remaining() - Method in class wizardquest.telemetry.EncounterCompleteEvent
-
Gets stored player HP.
- getPlayerMaxHealth(DifficultyEnum) - Method in interface wizardquest.settings.SettingsInterface
-
Gets the value of the player max health design parameter for the specified difficulty.
- getPrice() - Method in enum class wizardquest.abilities.UpgradeEnum
- getRunStartTime() - Method in class wizardquest.gamemanager.GameRun
- getRunStartTime() - Method in interface wizardquest.gamemanager.GameRunInterface
-
GIves the time when this game run instance was created (and thus the run started).
- getSessionID() - Method in interface wizardquest.gamemanager.GameManagerInterface
-
Gets the ID for the current run's session.
- getSessionID() - Method in class wizardquest.gamemanager.GameRun
- getSessionID() - Method in interface wizardquest.gamemanager.GameRunInterface
-
Gets the session ID for the current run.
- getSessionID() - Method in class wizardquest.telemetry.SessionEvent
-
Gets the stored session ID.
- getSetting() - Method in class wizardquest.telemetry.SettingsChangeEvent
-
Gets the name of the setting being changed
- getSetting_value() - Method in class wizardquest.telemetry.SettingsChangeEvent
-
Gets the new value of the setting being changed
- getShopItemCount(DifficultyEnum) - Method in interface wizardquest.settings.SettingsInterface
-
Gets the value of the shop item count design parameter for the specified difficulty.
- getStage() - Method in class wizardquest.gamemanager.GameRun
- getStage() - Method in interface wizardquest.gamemanager.GameRunInterface
-
Gets the current stage's number.
- getStage_number() - Method in class wizardquest.telemetry.EncounterEvent
-
Gets the stage number the player is on when this event was created.
- getStartingLives(DifficultyEnum) - Method in interface wizardquest.settings.SettingsInterface
-
Gets the value of the starting lives design parameter for the specified difficulty.
- getTelemetryName() - Method in enum class wizardquest.abilities.UpgradeEnum
-
Returns the name of the upgrade following the telemetry specification.
- getTelemetryName() - Method in enum class wizardquest.entity.EntityEnum
-
This method gets the telemetry name for this entity type
- getTelemetryName() - Method in enum class wizardquest.gamemanager.EncounterEnum
-
This method gets the telemetry name for this encounter
- getTelemetryName() - Method in enum class wizardquest.settings.DifficultyEnum
- getTelemetryName() - Method in enum class wizardquest.settings.SettingsEnum
- getTimestamp() - Method in class wizardquest.telemetry.TelemetryEvent
-
Gets the stored timestamp.
- getType() - Method in class wizardquest.abilities.UpgradeBase
- getType() - Method in interface wizardquest.entity.EntityInterface
-
Get the enumerated type of the entity.
- getType() - Method in class wizardquest.entity.FishMan
- getType() - Method in class wizardquest.entity.Goblin
- getType() - Method in class wizardquest.entity.Player
- getType() - Method in class wizardquest.gamemanager.Encounter
- getType() - Method in interface wizardquest.gamemanager.EncounterInterface
-
returns the type (name) of the encounter.
- getUpgrade_bought() - Method in class wizardquest.telemetry.BuyUpgradeEvent
-
Gets the stored upgrade bought.
- getUpgrades() - Method in class wizardquest.abilities.AbsolutePulseUnlockUpgrade
- getUpgrades() - Method in class wizardquest.abilities.FireBallUnlockUpgrade
- getUpgrades() - Method in class wizardquest.abilities.FireDamageResistanceUpgrade
- getUpgrades() - Method in class wizardquest.abilities.PhysicalDamageResistanceUpgrade
- getUpgrades() - Method in class wizardquest.abilities.SlashUnlockUpgrade
- getUpgrades() - Method in class wizardquest.abilities.ThunderDamageResistanceUpgrade
- getUpgrades() - Method in class wizardquest.abilities.ThunderStormUnlockUpgrade
- getUpgrades() - Method in class wizardquest.abilities.UpgradeBase
- getUpgrades() - Method in class wizardquest.abilities.WaterDamageResistanceUpgrade
- getUpgrades() - Method in class wizardquest.abilities.WaterJetUnlockUpgrade
- getUpgrades() - Method in class wizardquest.entity.Player
- getUpgrades() - Method in interface wizardquest.entity.PlayerInterface
-
List the upgrades that have been purchased between encounters by the player.
- getUserID() - Method in interface wizardquest.settings.SettingsInterface
-
Hashes the username of the currently authenticated user and returns it (as their ID).
- getUserID() - Method in class wizardquest.telemetry.TelemetryEvent
-
Gets the stored user ID.
- getUserRole() - Method in interface wizardquest.settings.SettingsInterface
-
Returns the role of the currently authenticated user or throws an exception if no user is authenticated.
- Goblin - Class in wizardquest.entity
-
Goblin: beginner level enemy They have low health and use only physical attacks Phase 1 enemy
- Goblin(DifficultyEnum) - Constructor for class wizardquest.entity.Goblin
- GOBLIN - Enum constant in enum class wizardquest.entity.EntityEnum
- GOBLIN_ENCOUNTER - Enum constant in enum class wizardquest.gamemanager.EncounterEnum
H
- HARD - Enum constant in enum class wizardquest.settings.DifficultyEnum
- hashCode() - Method in record class wizardquest.auth.AuthenticationResult
-
Returns a hash code value for this object.
I
- incrementDeathCount() - Method in class wizardquest.gamemanager.GameRun
- incrementDeathCount() - Method in interface wizardquest.gamemanager.GameRunInterface
-
Marks that the player has died, incrementing the death count, reducing the player's lives by 1, and resetting their health.
- isComplete() - Method in class wizardquest.gamemanager.Encounter
- isComplete() - Method in interface wizardquest.gamemanager.EncounterInterface
-
Gives whether the encounter has been marked as complete or not.
- isGameRunning() - Method in interface wizardquest.gamemanager.GameManagerInterface
-
Returns whether there is a instance of the game running.
- isTelemetryEnabled() - Method in interface wizardquest.settings.SettingsInterface
-
Returns whether the user has telemetry enabled.
K
- KillEnemyEvent - Class in wizardquest.telemetry
- KillEnemyEvent(String, int, Instant, EncounterEnum, DifficultyEnum, int, EntityEnum) - Constructor for class wizardquest.telemetry.KillEnemyEvent
-
Constructor for KillEnemyEvent.
L
- LackingResourceException - Exception Class in wizardquest.gamemanager
-
Exception representing an issue relating to a lack of entity resources.
- LackingResourceException() - Constructor for exception class wizardquest.gamemanager.LackingResourceException
-
Throw the exception without a message or cause
- LackingResourceException(String) - Constructor for exception class wizardquest.gamemanager.LackingResourceException
-
Throws the exception with a message to be displayed to the developer.
- LackingResourceException(String, Throwable) - Constructor for exception class wizardquest.gamemanager.LackingResourceException
-
Throws the exception with a message to be displayed to the developer and a cause for the exception being thrown.
- login() - Method in class wizardquest.auth.Authenticator
- login() - Method in interface wizardquest.auth.AuthenticatorInterface
-
Prompts the user to log in via Google, and returns the result.
- loginWithResult(AuthenticationResult) - Method in interface wizardquest.settings.SettingsInterface
-
Logs in the user using the result from the Authenticator (Python OAuth).
- loseCoins(int) - Method in class wizardquest.abilities.UpgradeBase
- loseCoins(int) - Method in class wizardquest.entity.Player
- loseCoins(int) - Method in interface wizardquest.entity.PlayerInterface
-
Decrements a player's coin total by a given amount.
- loseHealth(int, DamageEnum) - Method in class wizardquest.abilities.FireDamageResistanceUpgrade
- loseHealth(int, DamageEnum) - Method in class wizardquest.abilities.PhysicalDamageResistanceUpgrade
- loseHealth(int, DamageEnum) - Method in class wizardquest.abilities.ThunderDamageResistanceUpgrade
- loseHealth(int, DamageEnum) - Method in class wizardquest.abilities.UpgradeBase
- loseHealth(int, DamageEnum) - Method in class wizardquest.abilities.WaterDamageResistanceUpgrade
- loseHealth(int, DamageEnum) - Method in class wizardquest.entity.EnemyBase
- loseHealth(int, DamageEnum) - Method in interface wizardquest.entity.EntityInterface
-
Decrements an entity's health by a given amount, as a result of a certain damage type being inflicted upon them.
- loseHealth(int, DamageEnum) - Method in class wizardquest.entity.FishMan
- loseHealth(int, DamageEnum) - Method in class wizardquest.entity.Player
- loseLives(int) - Method in class wizardquest.abilities.UpgradeBase
- loseLives(int) - Method in class wizardquest.entity.Player
- loseLives(int) - Method in interface wizardquest.entity.PlayerInterface
-
Decrements a player's remaining lives by a given amount.
- loseMagic(int) - Method in class wizardquest.abilities.UpgradeBase
- loseMagic(int) - Method in class wizardquest.entity.Player
- loseMagic(int) - Method in interface wizardquest.entity.PlayerInterface
-
Decrements a player's magic total by a given amount.
M
- MAGIC_REGEN_RATE - Enum constant in enum class wizardquest.settings.SettingsEnum
- main(String[]) - Static method in class wizardquest.ui.GameUserCLI
- markComplete() - Method in class wizardquest.gamemanager.Encounter
- markComplete() - Method in interface wizardquest.gamemanager.EncounterInterface
-
Marks the encounter as complete, meaning all entities within it are dead.
- MAX_MAGIC - Enum constant in enum class wizardquest.settings.SettingsEnum
- MEDIUM - Enum constant in enum class wizardquest.settings.DifficultyEnum
N
- name() - Method in record class wizardquest.auth.AuthenticationResult
-
Returns the value of the
namerecord component. - nextStage() - Method in class wizardquest.gamemanager.GameRun
- nextStage() - Method in interface wizardquest.gamemanager.GameRunInterface
-
Increments the stage count, so the pickEncounter method can draw from the encounter pool for the correct stage.
- NormalEncounterCompleteEvent - Class in wizardquest.telemetry
- NormalEncounterCompleteEvent(String, int, Instant, EncounterEnum, DifficultyEnum, int, int) - Constructor for class wizardquest.telemetry.NormalEncounterCompleteEvent
-
Constructor for NormalEncounterCompleteEvent.
- NormalEncounterFailEvent - Class in wizardquest.telemetry
- NormalEncounterFailEvent(String, int, Instant, EncounterEnum, DifficultyEnum, int, int) - Constructor for class wizardquest.telemetry.NormalEncounterFailEvent
-
Constructor for NormalEncounterFailEvent.
- NormalEncounterStartEvent - Class in wizardquest.telemetry
- NormalEncounterStartEvent(String, int, Instant, EncounterEnum, DifficultyEnum, int) - Constructor for class wizardquest.telemetry.NormalEncounterStartEvent
-
Constructor for NormalEncounterStartEvent.
O
- onBossEncounterComplete(BossEncounterCompleteEvent) - Method in interface wizardquest.telemetry.TelemetryListenerInterface
-
Called when a boss encounter is completed.
- onBossEncounterFail(BossEncounterFailEvent) - Method in interface wizardquest.telemetry.TelemetryListenerInterface
-
Called when a boss encounter is failed as the player has died and has no lives remaining.
- onBossEncounterStart(BossEncounterStartEvent) - Method in interface wizardquest.telemetry.TelemetryListenerInterface
-
Called when a boss encounter is started.
- onBuyUpgrade(BuyUpgradeEvent) - Method in interface wizardquest.telemetry.TelemetryListenerInterface
-
Called when the player buys an upgrade.
- onEndSession(EndSessionEvent) - Method in interface wizardquest.telemetry.TelemetryListenerInterface
-
Called when the user signs out or disables telemetry.
- onGainCoin(GainCoinEvent) - Method in interface wizardquest.telemetry.TelemetryListenerInterface
-
Called when the player gains coins.
- onKillEnemy(KillEnemyEvent) - Method in interface wizardquest.telemetry.TelemetryListenerInterface
-
Called when an enemy is killed.
- onNormalEncounterComplete(NormalEncounterCompleteEvent) - Method in interface wizardquest.telemetry.TelemetryListenerInterface
-
Called when a normal encounter is completed.
- onNormalEncounterFail(NormalEncounterFailEvent) - Method in interface wizardquest.telemetry.TelemetryListenerInterface
-
Called when a normal encounter is failed as the player has died and ran out of lives.
- onNormalEncounterStart(NormalEncounterStartEvent) - Method in interface wizardquest.telemetry.TelemetryListenerInterface
-
Called when a normal encounter starts.
- onSettingsChange(SettingsChangeEvent) - Method in interface wizardquest.telemetry.TelemetryListenerInterface
-
Called when a setting is changed by the user.
- onStartSession(StartSessionEvent) - Method in interface wizardquest.telemetry.TelemetryListenerInterface
-
Called when a user logs in or enables telemetry.
P
- PHYSICAL - Enum constant in enum class wizardquest.abilities.DamageEnum
- PHYSICAL_DAMAGE_RESISTANCE - Enum constant in enum class wizardquest.abilities.UpgradeEnum
- PhysicalDamageResistanceUpgrade - Class in wizardquest.abilities
- PhysicalDamageResistanceUpgrade(PlayerInterface) - Constructor for class wizardquest.abilities.PhysicalDamageResistanceUpgrade
- pickAbility(EntityInterface) - Method in interface wizardquest.entity.EntityAIInterface
-
Picks which ability to use and returns it, validating it has enough magic to do so in the case of a simulated player.
- pickEncounter() - Method in interface wizardquest.gamemanager.GameManagerInterface
-
Picks a new (random) encounter/fight for the current level.
- pickEncounter() - Method in class wizardquest.gamemanager.GameRun
- pickEncounter() - Method in interface wizardquest.gamemanager.GameRunInterface
-
Picks a random encounter for the current stage from the encounter pool for that stage and returns a reference to it.
- pickTarget(EntityInterface[]) - Method in interface wizardquest.entity.EntityAIInterface
-
Picks which enemy to target with an ability
- pickUpgrade(UpgradeEnum[], int) - Method in interface wizardquest.entity.EntityAIInterface
-
Called when an Entity AI attempts to purchase an upgrade from the shop between encounters.
- player - Variable in class wizardquest.abilities.UpgradeBase
- Player - Class in wizardquest.entity
- Player(DifficultyEnum) - Constructor for class wizardquest.entity.Player
- PLAYER - Enum constant in enum class wizardquest.auth.RoleEnum
- PLAYER - Enum constant in enum class wizardquest.entity.EntityEnum
- PLAYER_MAX_HEALTH - Enum constant in enum class wizardquest.settings.SettingsEnum
- PlayerInterface - Interface in wizardquest.entity
- PUNCH - Enum constant in enum class wizardquest.abilities.AbilityEnum
- purchaseUpgrade(UpgradeEnum) - Method in interface wizardquest.gamemanager.GameManagerInterface
-
Attempts to purchase an upgrade from the shop.
- purchaseUpgrade(UpgradeEnum) - Method in class wizardquest.gamemanager.GameRun
- purchaseUpgrade(UpgradeEnum) - Method in interface wizardquest.gamemanager.GameRunInterface
-
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.
R
- resetDestinationFile() - Method in interface wizardquest.telemetry.TelemetryListenerInterface
-
Resets the filepath to the real JSON file, events.json, after running a JUnit test.
- resetEnemyHealth() - Method in class wizardquest.gamemanager.Encounter
- resetEnemyHealth() - Method in interface wizardquest.gamemanager.EncounterInterface
-
Resets the health of all enemies in the encounter.
- resetFailedEncounter() - Method in interface wizardquest.gamemanager.GameManagerInterface
-
Resets the current encounter if failed.
- resetHealth() - Method in class wizardquest.abilities.UpgradeBase
- resetHealth() - Method in class wizardquest.entity.EnemyBase
- resetHealth() - Method in interface wizardquest.entity.EntityInterface
-
Reset an entity's health to its starting value.
- resetHealth() - Method in class wizardquest.entity.Player
- resetLoginsDestinationFile() - Method in interface wizardquest.settings.SettingsInterface
-
Resets the filepath to the real JSON file, logins_file.json, after running a JUnit test.
- resetMagic() - Method in class wizardquest.abilities.UpgradeBase
- resetMagic() - Method in class wizardquest.entity.Player
- resetMagic() - Method in interface wizardquest.entity.PlayerInterface
-
Resets the player's magic to 0.
- resetSettingsDestinationFile() - Method in interface wizardquest.settings.SettingsInterface
-
Resets the filepath to the real JSON file, settings_file.json, after running a JUnit test.
- role() - Method in record class wizardquest.auth.AuthenticationResult
-
Returns the value of the
rolerecord component. - RoleEnum - Enum Class in wizardquest.auth
-
Enumerates the roles a user can have.
S
- SessionEvent - Class in wizardquest.telemetry
- SessionEvent(String, int, Instant, String) - Constructor for class wizardquest.telemetry.SessionEvent
- SessionValidationException - Exception Class in wizardquest.telemetry
-
Exception representing an issue relating to an incorrect userID for telemetry.
- SessionValidationException() - Constructor for exception class wizardquest.telemetry.SessionValidationException
-
Throw the exception without a message or cause
- SessionValidationException(String) - Constructor for exception class wizardquest.telemetry.SessionValidationException
-
Throws the exception with a message to be displayed to the developer.
- SessionValidationException(String, Throwable) - Constructor for exception class wizardquest.telemetry.SessionValidationException
-
Throws the exception with a message to be displayed to the developer and a cause for the exception being thrown.
- setDestinationFile(File) - Method in interface wizardquest.telemetry.TelemetryListenerInterface
-
Allows JUnit tests to write to a temporary JSON file rather than events.json, mitigating any risk of test data corrupting the real JSON file.
- setEnemyDamageMultiplier(DifficultyEnum, float) - Method in interface wizardquest.settings.SettingsInterface
-
Sets the value of the enemy damage multiplier design parameter for the specified difficulty.
- setEnemyMaxHealthMultiplier(DifficultyEnum, float) - Method in interface wizardquest.settings.SettingsInterface
-
Sets the value of the enemy max health multiplier design parameter for the specified difficulty.
- setLoginsDestinationFile(File) - Method in interface wizardquest.settings.SettingsInterface
-
Allows JUnit tests to write to a temporary JSON file rather than logins_file.json, mitigating any risk of test data corrupting the real JSON file.
- setMagicRegenRate(DifficultyEnum, int) - Method in interface wizardquest.settings.SettingsInterface
-
Sets the value of the starting lives design parameter for the specified difficulty.
- setMaxMagic(DifficultyEnum, int) - Method in interface wizardquest.settings.SettingsInterface
-
Sets the value of the max magic multiplier design parameter for the specified difficulty.
- setMaxStageReached(DifficultyEnum, int) - Method in interface wizardquest.settings.SettingsInterface
-
Sets the value for the furthest stage the user has gotten to for th specified difficulty.
- setPlayerMaxHealth(DifficultyEnum, int) - Method in interface wizardquest.settings.SettingsInterface
-
Sets the value of the player max health multiplier design parameter for the specified difficulty.
- setSettingsDestinationFile(File) - Method in interface wizardquest.settings.SettingsInterface
-
Allows JUnit tests to write to a temporary JSON file rather than settings_file.json, mitigating any risk of test data corrupting the real JSON file.
- setShopItemCount(DifficultyEnum, int) - Method in interface wizardquest.settings.SettingsInterface
-
Sets the value of the shop item count design parameter for the specified difficulty.
- setStartingLives(DifficultyEnum, int) - Method in interface wizardquest.settings.SettingsInterface
-
Sets the value of the starting lives design parameter for the specified difficulty.
- setTelemetryEnabled(boolean) - Method in interface wizardquest.settings.SettingsInterface
-
Attempts to set the user's preference for whether they have telemetry enabled, writing this to their settings in the user database JSON.
- SettingsChangeEvent - Class in wizardquest.telemetry
- SettingsChangeEvent(String, Instant, SettingsEnum, String) - Constructor for class wizardquest.telemetry.SettingsChangeEvent
-
Constructor for the settings change telemetry event.
- SettingsEnum - Enum Class in wizardquest.settings
-
Enumerates all settings types in the game.
- SettingsInterface - Interface in wizardquest.settings
-
Interface for settings.
- SettingsSingleton - Class in wizardquest.settings
-
Provides singleton access to settings and user properties
- setUserRole(String, RoleEnum) - Method in interface wizardquest.settings.SettingsInterface
-
Sets the role of the specified user or throws an exception if the authenticated user is not a developer.
- SHOP_ITEM_COUNT - Enum constant in enum class wizardquest.settings.SettingsEnum
- SLASH - Enum constant in enum class wizardquest.abilities.AbilityEnum
- SLASH_UNLOCK - Enum constant in enum class wizardquest.abilities.UpgradeEnum
- SlashUnlockUpgrade - Class in wizardquest.abilities
- SlashUnlockUpgrade(PlayerInterface) - Constructor for class wizardquest.abilities.SlashUnlockUpgrade
- start() - Method in class wizardquest.ui.GameUserCLI
- STARTING_LIVES - Enum constant in enum class wizardquest.settings.SettingsEnum
- startNewGame(DifficultyEnum) - Method in interface wizardquest.gamemanager.GameManagerInterface
-
Starts a new game, with difficulty.
- StartSessionEvent - Class in wizardquest.telemetry
- StartSessionEvent(String, int, Instant, DifficultyEnum) - Constructor for class wizardquest.telemetry.StartSessionEvent
-
Constructor for StartSessionEvent.
T
- TELEMETRY_ENABLED - Enum constant in enum class wizardquest.settings.SettingsEnum
- TelemetryEvent - Class in wizardquest.telemetry
- TelemetryEvent(String, Instant, String) - Constructor for class wizardquest.telemetry.TelemetryEvent
-
Constructor for the base telemetry event.
- TelemetryListenerInterface - Interface in wizardquest.telemetry
-
Interface for the telemetry listener.
- TelemetryListenerSingleton - Class in wizardquest.telemetry
-
Provides a single global access point to the telemetry listener for notifying it.
- THUNDER - Enum constant in enum class wizardquest.abilities.DamageEnum
- THUNDER_DAMAGE_RESISTANCE - Enum constant in enum class wizardquest.abilities.UpgradeEnum
- THUNDER_STORM - Enum constant in enum class wizardquest.abilities.AbilityEnum
- THUNDER_STORM_UNLOCK - Enum constant in enum class wizardquest.abilities.UpgradeEnum
- ThunderDamageResistanceUpgrade - Class in wizardquest.abilities
- ThunderDamageResistanceUpgrade(PlayerInterface) - Constructor for class wizardquest.abilities.ThunderDamageResistanceUpgrade
- ThunderStormUnlockUpgrade - Class in wizardquest.abilities
- ThunderStormUnlockUpgrade(PlayerInterface) - Constructor for class wizardquest.abilities.ThunderStormUnlockUpgrade
- TimeManagerInterface - Interface in wizardquest.gamemanager
-
Interface the time manager implements.
- TimeManagerSingleton - Class in wizardquest.gamemanager
-
Provides a singleton global access point to the time manager
- TimestampValidationException - Exception Class in wizardquest.telemetry
-
Exception representing an issue relating to an incorrect time stamp for telemetry.
- TimestampValidationException() - Constructor for exception class wizardquest.telemetry.TimestampValidationException
-
Throw the exception without a message or cause
- TimestampValidationException(String) - Constructor for exception class wizardquest.telemetry.TimestampValidationException
-
Throws the exception with a message to be displayed to the developer.
- TimestampValidationException(String, Throwable) - Constructor for exception class wizardquest.telemetry.TimestampValidationException
-
Throws the exception with a message to be displayed to the developer and a cause for the exception being thrown.
- toString() - Method in record class wizardquest.auth.AuthenticationResult
-
Returns a string representation of this record class.
U
- UpgradeBase - Class in wizardquest.abilities
- UpgradeBase(PlayerInterface) - Constructor for class wizardquest.abilities.UpgradeBase
-
Constructs an upgrade from a player, decorating them.
- UpgradeEnum - Enum Class in wizardquest.abilities
- userID() - Method in record class wizardquest.auth.AuthenticationResult
-
Returns the value of the
userIDrecord component. - UserValidationException - Exception Class in wizardquest.telemetry
-
Exception representing an issue relating to an incorrect userID for telemetry.
- UserValidationException() - Constructor for exception class wizardquest.telemetry.UserValidationException
-
Throw the exception without a message or cause
- UserValidationException(String) - Constructor for exception class wizardquest.telemetry.UserValidationException
-
Throws the exception with a message to be displayed to the developer.
- UserValidationException(String, Throwable) - Constructor for exception class wizardquest.telemetry.UserValidationException
-
Throws the exception with a message to be displayed to the developer and a cause for the exception being thrown.
V
- valueOf(String) - Static method in enum class wizardquest.abilities.AbilityEnum
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class wizardquest.abilities.DamageEnum
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class wizardquest.abilities.UpgradeEnum
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class wizardquest.auth.RoleEnum
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class wizardquest.entity.EntityEnum
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class wizardquest.gamemanager.EncounterEnum
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class wizardquest.settings.DifficultyEnum
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class wizardquest.settings.SettingsEnum
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class wizardquest.abilities.AbilityEnum
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class wizardquest.abilities.DamageEnum
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class wizardquest.abilities.UpgradeEnum
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class wizardquest.auth.RoleEnum
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class wizardquest.entity.EntityEnum
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class wizardquest.gamemanager.EncounterEnum
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class wizardquest.settings.DifficultyEnum
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class wizardquest.settings.SettingsEnum
-
Returns an array containing the constants of this enum class, in the order they are declared.
- viewShop() - Method in interface wizardquest.gamemanager.GameManagerInterface
-
Opens shop interface after level completion.
- viewShop() - Method in class wizardquest.gamemanager.GameRun
- viewShop() - Method in interface wizardquest.gamemanager.GameRunInterface
-
Picks a number of upgrades from the shop determined by the ShopItemCount design parameter and returns an array of references to them.
W
- WATER - Enum constant in enum class wizardquest.abilities.DamageEnum
- WATER_DAMAGE_RESISTANCE - Enum constant in enum class wizardquest.abilities.UpgradeEnum
- WATER_JET - Enum constant in enum class wizardquest.abilities.AbilityEnum
- WATER_JET_UNLOCK - Enum constant in enum class wizardquest.abilities.UpgradeEnum
- WaterDamageResistanceUpgrade - Class in wizardquest.abilities
- WaterDamageResistanceUpgrade(PlayerInterface) - Constructor for class wizardquest.abilities.WaterDamageResistanceUpgrade
- WaterJetUnlockUpgrade - Class in wizardquest.abilities
- WaterJetUnlockUpgrade(PlayerInterface) - Constructor for class wizardquest.abilities.WaterJetUnlockUpgrade
- wizardquest.abilities - package wizardquest.abilities
- wizardquest.auth - package wizardquest.auth
- wizardquest.entity - package wizardquest.entity
- wizardquest.gamemanager - package wizardquest.gamemanager
- wizardquest.settings - package wizardquest.settings
- wizardquest.telemetry - package wizardquest.telemetry
- wizardquest.ui - package wizardquest.ui
All Classes and Interfaces|All Packages|Serialized Form