Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- ABSOLUTE - Enum constant in enum class com.deco2800.game.files.FileLoader.Location
- act(float) - Method in class com.deco2800.game.components.combatitemscomponents.AnimatedImage
- action(ArrayList<String>) - Method in interface com.deco2800.game.services.commands.Command
-
Action a command.
- action(ArrayList<String>) - Method in class com.deco2800.game.services.commands.DebugCommand
-
Toggles debug mode on or off if the corresponding argument is received.
- action(ArrayList<String>) - Method in interface com.deco2800.game.ui.terminal.commands.Command
-
Action a command.
- action(ArrayList<String>) - Method in class com.deco2800.game.ui.terminal.commands.DebugCommand
-
Toggles debug mode on or off if the corresponding argument is received.
- ACTIVE - Enum constant in enum class com.deco2800.game.ai.tasks.Task.Status
- addAnimation(String, float) - Method in class com.deco2800.game.rendering.AnimationRenderComponent
-
Register an animation from the texture atlas.
- addAnimation(String, float, Animation.PlayMode) - Method in class com.deco2800.game.rendering.AnimationRenderComponent
-
Register an animation from the texture atlas.
- addCommand(String, Command) - Method in class com.deco2800.game.ui.terminal.Terminal
-
Adds a command to the list of valid terminal commands.
- addComponent(Component) - Method in class com.deco2800.game.entities.Entity
-
Add a component to the entity.
- addHealth(int) - Method in class com.deco2800.game.components.CombatStatsComponent
-
Adds to the player's health.
- addItem(Entity) - Method in class com.deco2800.game.components.player.InventoryComponent
-
Adds an item to player's inventory.
- addListener(String, EventListener0) - Method in class com.deco2800.game.events.EventHandler
-
Add a listener to an event with zero arguments
- addListener(String, EventListener1<T>) - Method in class com.deco2800.game.events.EventHandler
-
Add a listener to an event with one argument
- addListener(String, EventListener2<T0, T1>) - Method in class com.deco2800.game.events.EventHandler
-
Add a listener to an event with two arguments
- addListener(String, EventListener3<T0, T1, T2>) - Method in class com.deco2800.game.events.EventHandler
-
Add a listener to an event with three arguments
- addMana(int) - Method in class com.deco2800.game.components.CombatStatsComponent
-
Adds to the player's mana.
- addQuickBarItems(Entity) - Method in class com.deco2800.game.components.player.InventoryComponent
-
Adding potion to the quickbar.
- addSkillIcon(Image) - Method in class com.deco2800.game.components.player.CooldownBarDisplay
- addSkillPoints(int) - Method in class com.deco2800.game.components.player.PlayerSkillComponent
- addStamina(int) - Method in class com.deco2800.game.components.CombatStatsComponent
-
Adds to the player's stamina.
- addTask(PriorityTask) - Method in class com.deco2800.game.ai.tasks.AITaskComponent
-
Add a priority task to the list of tasks.
- AITaskComponent - Class in com.deco2800.game.ai.tasks
-
Task-based AI component.
- AITaskComponent() - Constructor for class com.deco2800.game.ai.tasks.AITaskComponent
- ALL - Static variable in class com.deco2800.game.physics.PhysicsLayer
- AllHitCallback - Class in com.deco2800.game.physics.raycast
-
Cast a ray against all colliders that match the layer mask.
- AllHitCallback() - Constructor for class com.deco2800.game.physics.raycast.AllHitCallback
- angleFromTo(Vector2, Vector2) - Static method in class com.deco2800.game.utils.math.Vector2Utils
-
Calculate the angle in degrees between two vectors
- angleTo(Vector2) - Static method in class com.deco2800.game.utils.math.Vector2Utils
-
Calculate the angle in degrees of a vector.
- AnimatedImage - Class in com.deco2800.game.components.combatitemscomponents
- AnimatedImage(Animation<TextureRegion>) - Constructor for class com.deco2800.game.components.combatitemscomponents.AnimatedImage
- animateHera() - Method in class com.deco2800.game.components.player.PlayerCombatAnimationController
-
Triggers the hera item animation of the combat item animator.
- animation - Variable in class com.deco2800.game.components.combatitemscomponents.AnimatedImage
- AnimationRenderComponent - Class in com.deco2800.game.rendering
-
Renders animations from a texture atlas on an entity.
- AnimationRenderComponent(TextureAtlas) - Constructor for class com.deco2800.game.rendering.AnimationRenderComponent
-
Create the component for a given texture atlas.
- AOE - Enum constant in enum class com.deco2800.game.components.player.PlayerSkillComponent.SkillTypes
- aoeAttack() - Method in class com.deco2800.game.components.player.PlayerSkillComponent
-
Damages all enemies around player and knocks them back.
- appendToMessage(char) - Method in class com.deco2800.game.ui.terminal.Terminal
-
Appends the character to the end of the entered message.
- applyArmourEffect(Entity, boolean) - Method in class com.deco2800.game.components.player.InventoryComponent
-
Modify the player's stat according to the armour stat.
- applyAura(Entity, Entity) - Method in class com.deco2800.game.components.combatitemscomponents.WeaponAuraManager
-
Applies the given aura to the given weapon.
- applyEffect(Entity) - Method in class com.deco2800.game.components.player.PotionEffectComponent
-
Applies component effect
- applySettings(UserSettings.Settings) - Static method in class com.deco2800.game.files.UserSettings
-
Apply the given settings without storing them.
- applyWeaponEffect(Entity, boolean) - Method in class com.deco2800.game.components.player.InventoryComponent
-
Modify the player's stat according to the weapon stat.
- areaEntities - Variable in class com.deco2800.game.areas.GameArea
- areaMultiplier - Variable in class com.deco2800.game.entities.configs.combatitemsconfig.AuraConfig
- AreaOfEffectStatsComponent - Class in com.deco2800.game.components.combatitemscomponents
-
Component used to store information and methods related to combat for aoe weapons.
- AreaOfEffectStatsComponent(double, double, double, double, Map<Materials, Integer>, String) - Constructor for class com.deco2800.game.components.combatitemscomponents.AreaOfEffectStatsComponent
- ARMOUR - Enum constant in enum class com.deco2800.game.entities.factories.EntityTypes
- ArmourConfig - Class in com.deco2800.game.components.DefensiveItemsComponents
-
This is where armour stats are originally configured.
- ArmourConfig() - Constructor for class com.deco2800.game.components.DefensiveItemsComponents.ArmourConfig
- ArmourFactory - Class in com.deco2800.game.entities.factories
- ArmourFactory() - Constructor for class com.deco2800.game.entities.factories.ArmourFactory
- ArmourFactory.ArmourType - Enum Class in com.deco2800.game.entities.factories
-
Armour types from ArmourTypeConfig which are used in the game.
- armourName - Variable in class com.deco2800.game.components.DefensiveItemsComponents.ArmourConfig
- ArmourStatsComponent - Class in com.deco2800.game.components.DefensiveItemsComponents
- ArmourStatsComponent(double, double, double, double, double, HashMap<Materials, Integer>) - Constructor for class com.deco2800.game.components.DefensiveItemsComponents.ArmourStatsComponent
- ArmourTypeConfig - Class in com.deco2800.game.components.DefensiveItemsComponents
-
made to hold all different armour types in the game
- ArmourTypeConfig() - Constructor for class com.deco2800.game.components.DefensiveItemsComponents.ArmourTypeConfig
- athenaDag - Variable in class com.deco2800.game.entities.configs.combatitemsconfig.WeaponConfigSetup
- attackRanged() - Method in class com.deco2800.game.components.player.PlayerTouchAttackComponent
-
Method triggered when the player is holding a ranged weapon, which creates the projectiles on the map
- attackWithNoWeapon() - Method in class com.deco2800.game.components.player.PlayerTouchAttackComponent
-
Method which sets the base cooldown to 4 seconds when attack with a fist
- attackWithPhysicalWeapon(Entity, Entity) - Method in class com.deco2800.game.components.player.PlayerTouchAttackComponent
-
Method to set attack cooldown and trigger attack animation dependent on the weapon and aura equipped
- AURA - Enum constant in enum class com.deco2800.game.entities.factories.EntityTypes
- auraApplied - Variable in class com.deco2800.game.components.combatitemscomponents.WeaponAuraManager
- AuraConfig - Class in com.deco2800.game.entities.configs.combatitemsconfig
-
Defines a basic set of properties stored in aura config files to be loaded by Aura Factory.
- AuraConfig() - Constructor for class com.deco2800.game.entities.configs.combatitemsconfig.AuraConfig
- auraDuration - Variable in class com.deco2800.game.entities.configs.combatitemsconfig.AuraConfig
- AuraFactory - Class in com.deco2800.game.entities.factories
-
Factory to create Aura entities.
- auraName - Variable in class com.deco2800.game.entities.configs.combatitemsconfig.AuraConfig
- AuraPickupComponent - Class in com.deco2800.game.components.combatitemscomponents
- AuraPickupComponent(short) - Constructor for class com.deco2800.game.components.combatitemscomponents.AuraPickupComponent
-
Creates a component which allows an aura entity to be picked up from the map
B
- BackgroundSoundComponent - Class in com.deco2800.game.components
-
Reusable sound component to create background music Loads, plays and unloads music automatically.
- BackgroundSoundComponent(String, float, boolean) - Constructor for class com.deco2800.game.components.BackgroundSoundComponent
- baseArmour - Enum constant in enum class com.deco2800.game.entities.factories.ArmourFactory.ArmourType
- baseArmour - Variable in class com.deco2800.game.components.DefensiveItemsComponents.ArmourTypeConfig
- baseAttack - Variable in class com.deco2800.game.entities.configs.BaseEntityConfig
- baseAttack - Variable in class com.deco2800.game.entities.configs.ChildConfig
- baseAttack - Variable in class com.deco2800.game.entities.configs.FemaleCitizenConfig
- baseAttack - Variable in class com.deco2800.game.entities.configs.FriendlyCreatureConfig
- baseAttack - Variable in class com.deco2800.game.entities.configs.FriendPetConfig
- baseAttack - Variable in class com.deco2800.game.entities.configs.GuardConfig
- baseAttack - Variable in class com.deco2800.game.entities.configs.HumanGuardConfig
- baseAttack - Variable in class com.deco2800.game.entities.configs.maleCitizenConfig
- baseAttack - Variable in class com.deco2800.game.entities.configs.PlumberFriendConfig
- BASEATTACKGYMBRO - Static variable in class com.deco2800.game.entities.configs.GymBroConfig
- BASEATTACKHERACLES - Static variable in class com.deco2800.game.entities.configs.HeraclesConfig
- BaseAuraConfig - Class in com.deco2800.game.entities.configs.combatitemsconfig
-
Defines all Aura configs to be loaded by the Aura Factory.
- BaseAuraConfig() - Constructor for class com.deco2800.game.entities.configs.combatitemsconfig.BaseAuraConfig
- BaseEntityConfig - Class in com.deco2800.game.entities.configs
-
Defines a basic set of properties stored in entities config files to be loaded by Entity Factories.
- BaseEntityConfig() - Constructor for class com.deco2800.game.entities.configs.BaseEntityConfig
- beginContact(Contact) - Method in class com.deco2800.game.physics.PhysicsContactListener
- BLEED - Enum constant in enum class com.deco2800.game.components.player.PlayerSkillComponent.SkillTypes
- bleedActive() - Method in class com.deco2800.game.components.player.PlayerSkillComponent
-
Checks if the player is in the bleed skill state
- BLOCK - Enum constant in enum class com.deco2800.game.components.player.PlayerSkillComponent.SkillTypes
- BodyUserData - Class in com.deco2800.game.physics
-
POJO which contains the custom data attached to each box2D entity.
- BodyUserData() - Constructor for class com.deco2800.game.physics.BodyUserData
- BOSS - Enum constant in enum class com.deco2800.game.entities.factories.EntityTypes
- BOTTOM - Enum constant in enum class com.deco2800.game.physics.components.PhysicsComponent.AlignY
- BuffDisplayComponent - Class in com.deco2800.game.components.combatitemscomponents
- BuffDisplayComponent() - Constructor for class com.deco2800.game.components.combatitemscomponents.BuffDisplayComponent
- buildItem(Object) - Method in class com.deco2800.game.crafting.CraftingSystem
-
Checks if an item can be build, then adds it to the list of built items if possible.
C
- CameraComponent - Class in com.deco2800.game.components
- CameraComponent() - Constructor for class com.deco2800.game.components.CameraComponent
- CameraComponent(Camera) - Constructor for class com.deco2800.game.components.CameraComponent
- canBuild(List<Materials>) - Static method in class com.deco2800.game.crafting.CraftingLogic
-
Method that determines what items can be built based on items present in users' inventory.
- cancelAnimation() - Method in class com.deco2800.game.components.player.InventoryComponent
-
Cancel the animation registered for equipped weapon
- canOpen - Static variable in class com.deco2800.game.components.mainmenu.MainMenuTransitionAnimation
- CENTER - Enum constant in enum class com.deco2800.game.physics.components.PhysicsComponent.AlignX
- CENTER - Enum constant in enum class com.deco2800.game.physics.components.PhysicsComponent.AlignY
- CHARGE - Enum constant in enum class com.deco2800.game.components.player.PlayerSkillComponent.SkillTypes
- chargeHit(Entity) - Method in class com.deco2800.game.components.player.PlayerSkillComponent
-
Ensures enemy is not a projectile then sets entity enemy variable
- chargeMove() - Method in class com.deco2800.game.components.player.PlayerSkillComponent
-
Speeds up player movement for charge attack
- ChaseTask - Class in com.deco2800.game.components.tasks
-
Chases a target entity until they get too far away or line of sight is lost
- ChaseTask(Entity, int, float, float) - Constructor for class com.deco2800.game.components.tasks.ChaseTask
- ChaseTask(Entity, int, float, float, float) - Constructor for class com.deco2800.game.components.tasks.ChaseTask
- checkAuraEffect() - Method in class com.deco2800.game.components.combatitemscomponents.WeaponAuraManager
-
Check if the aura is expired, if it is reverts the weapon stats to default and remove the aura.
- checkBleed(Entity) - Method in class com.deco2800.game.components.player.PlayerSkillComponent
-
Does damage over time to target.
- checkCanAttack() - Method in class com.deco2800.game.components.player.PlayerTouchAttackComponent
-
Method called to check if the player can attack
- checkEntityType(EntityTypes) - Method in class com.deco2800.game.entities.Entity
- checkImage(int) - Method in class com.deco2800.game.components.player.PlayerStatsDisplay
-
Changes the image depending on the value given
- checkMana(int) - Method in class com.deco2800.game.components.CombatStatsComponent
-
check whether the mana is enough
- checkModifier(String, float, boolean, int) - Method in class com.deco2800.game.components.player.PlayerModifier
-
Public function to check if there is an already existing modifier with matching parameters
- checkSkillEnd(PlayerSkillComponent.SkillTypes) - Method in class com.deco2800.game.components.player.PlayerSkillComponent
-
Checks for the end of a skill, should be polled continuously in update.
- checkStamina(int) - Method in class com.deco2800.game.components.CombatStatsComponent
-
check whether the stamina is enough
- child - Variable in class com.deco2800.game.entities.configs.NPCConfigs
- CHILD - Enum constant in enum class com.deco2800.game.entities.factories.EntityTypes
- ChildConfig - Class in com.deco2800.game.entities.configs
-
Defines the properties stored in child config files to be loaded by the NPC Factory.
- ChildConfig() - Constructor for class com.deco2800.game.entities.configs.ChildConfig
- childDialoguePosition - Static variable in class com.deco2800.game.areas.ForestGameArea
- childPosition - Static variable in class com.deco2800.game.areas.ForestGameArea
- chooseMap(int) - Method in class com.deco2800.game.screens.MainGameScreen
-
Disposes of the current level and loads the next one - Team 5 1map4all @otili9890
- CLASSPATH - Enum constant in enum class com.deco2800.game.files.FileLoader.Location
- clear() - Static method in class com.deco2800.game.services.ServiceLocator
- clear() - Method in class com.deco2800.game.utils.SortedIntMap
-
Clear the map
- clearAllAssets() - Method in class com.deco2800.game.services.ResourceService
-
Clears all loaded assets and assets in the preloading queue.
- clearBuff() - Method in class com.deco2800.game.components.combatitemscomponents.BuffDisplayComponent
-
Clears the buff from the display
- clearCountdownListeners() - Method in class com.deco2800.game.components.player.Countdown
- clearMenuOpening() - Static method in class com.deco2800.game.components.player.KeyboardPlayerInputComponent
- clearSkillIcons() - Method in class com.deco2800.game.components.player.CooldownBarDisplay
- closeKeyBindings() - Method in class com.deco2800.game.components.player.OpenPauseComponent
-
Utility function to CLOSE key binding window.
- closePauseMenu() - Method in class com.deco2800.game.components.player.OpenPauseComponent
-
Utility function to CLOSE pause window and UNPAUSE the game.
- closePlayerGuide() - Method in class com.deco2800.game.components.player.OpenPauseComponent
-
Utility function to CLOSE pause player guide window.
- ColliderComponent - Class in com.deco2800.game.physics.components
-
Attaches a physics collider to an entity.
- ColliderComponent() - Constructor for class com.deco2800.game.physics.components.ColliderComponent
- com.deco2800.game - package com.deco2800.game
- com.deco2800.game.ai.movement - package com.deco2800.game.ai.movement
- com.deco2800.game.ai.tasks - package com.deco2800.game.ai.tasks
- com.deco2800.game.areas - package com.deco2800.game.areas
- com.deco2800.game.areas.terrain - package com.deco2800.game.areas.terrain
- com.deco2800.game.components - package com.deco2800.game.components
- com.deco2800.game.components.combatitemscomponents - package com.deco2800.game.components.combatitemscomponents
- com.deco2800.game.components.deathscreen - package com.deco2800.game.components.deathscreen
- com.deco2800.game.components.DefensiveItemsComponents - package com.deco2800.game.components.DefensiveItemsComponents
- com.deco2800.game.components.gamearea - package com.deco2800.game.components.gamearea
- com.deco2800.game.components.leveltransition - package com.deco2800.game.components.leveltransition
- com.deco2800.game.components.maingame - package com.deco2800.game.components.maingame
- com.deco2800.game.components.mainmenu - package com.deco2800.game.components.mainmenu
- com.deco2800.game.components.npc - package com.deco2800.game.components.npc
- com.deco2800.game.components.player - package com.deco2800.game.components.player
- com.deco2800.game.components.settingsmenu - package com.deco2800.game.components.settingsmenu
- com.deco2800.game.components.tasks - package com.deco2800.game.components.tasks
- com.deco2800.game.concurrency - package com.deco2800.game.concurrency
- com.deco2800.game.crafting - package com.deco2800.game.crafting
- com.deco2800.game.entities - package com.deco2800.game.entities
- com.deco2800.game.entities.configs - package com.deco2800.game.entities.configs
- com.deco2800.game.entities.configs.combatitemsconfig - package com.deco2800.game.entities.configs.combatitemsconfig
- com.deco2800.game.entities.factories - package com.deco2800.game.entities.factories
- com.deco2800.game.events - package com.deco2800.game.events
- com.deco2800.game.events.listeners - package com.deco2800.game.events.listeners
- com.deco2800.game.files - package com.deco2800.game.files
- com.deco2800.game.input - package com.deco2800.game.input
- com.deco2800.game.physics - package com.deco2800.game.physics
- com.deco2800.game.physics.components - package com.deco2800.game.physics.components
- com.deco2800.game.physics.raycast - package com.deco2800.game.physics.raycast
- com.deco2800.game.rendering - package com.deco2800.game.rendering
- com.deco2800.game.screens - package com.deco2800.game.screens
- com.deco2800.game.services - package com.deco2800.game.services
- com.deco2800.game.services.commands - package com.deco2800.game.services.commands
- com.deco2800.game.SkillsTree - package com.deco2800.game.SkillsTree
- com.deco2800.game.ui - package com.deco2800.game.ui
- com.deco2800.game.ui.terminal - package com.deco2800.game.ui.terminal
- com.deco2800.game.ui.terminal.commands - package com.deco2800.game.ui.terminal.commands
- com.deco2800.game.utils - package com.deco2800.game.utils
- com.deco2800.game.utils.math - package com.deco2800.game.utils.math
- CombatStatsComponent - Class in com.deco2800.game.components
-
Component used to store information related to combat such as health, attack, etc.
- CombatStatsComponent(int, int, int, int) - Constructor for class com.deco2800.game.components.CombatStatsComponent
- Command - Interface in com.deco2800.game.services.commands
-
A generic command class.
- Command - Interface in com.deco2800.game.ui.terminal.commands
-
A generic command class.
- compareTo(Renderable) - Method in class com.deco2800.game.rendering.RenderComponent
- Component - Class in com.deco2800.game.components
-
Core component class from which all components inherit.
- Component() - Constructor for class com.deco2800.game.components.Component
- ComponentType - Class in com.deco2800.game.components
-
Internal type system for components.
- coneProjectile() - Method in class com.deco2800.game.components.player.PlayerActions
-
Makes the player cast their cone projectile skill.
- configs - Static variable in class com.deco2800.game.crafting.CraftingLogic
- configs - Static variable in class com.deco2800.game.crafting.CraftingSystem
- consumePotion(int) - Method in class com.deco2800.game.components.player.InventoryComponent
-
Consume the potion from quickbar based on the input index.
- consumePotionSlot1() - Method in class com.deco2800.game.components.player.PlayerActions
-
Pressing the '1' button triggers the player to consume potion slot 1
- consumePotionSlot2() - Method in class com.deco2800.game.components.player.PlayerActions
-
Pressing the '2' button triggers the player to consume potion slot 2
- consumePotionSlot3() - Method in class com.deco2800.game.components.player.PlayerActions
-
Pressing the '3' button triggers the player to consume potion slot 3
- contains(short, short) - Static method in class com.deco2800.game.physics.PhysicsLayer
- contains(V) - Method in class com.deco2800.game.utils.SortedIntMap
- containsAsset(String, Class<T>) - Method in class com.deco2800.game.services.ResourceService
-
Check if an asset has been loaded already
- containsKey(int) - Method in class com.deco2800.game.utils.SortedIntMap
- coolDown - Variable in class com.deco2800.game.components.combatitemscomponents.WeaponStatsComponent
- coolDown - Variable in class com.deco2800.game.entities.configs.combatitemsconfig.WeaponConfig
- CooldownBarDisplay - Class in com.deco2800.game.components.player
- CooldownBarDisplay() - Constructor for class com.deco2800.game.components.player.CooldownBarDisplay
- cooldownFinished(String, long) - Method in class com.deco2800.game.components.player.PlayerSkillComponent
-
Checks if the cooldown period is over for the given skill and updates cooldown map.
- coolDownMultiplier - Variable in class com.deco2800.game.entities.configs.combatitemsconfig.AuraConfig
- Countdown - Class in com.deco2800.game.components.player
- Countdown() - Constructor for class com.deco2800.game.components.player.Countdown
- CRAFTABLE - Enum constant in enum class com.deco2800.game.entities.factories.EntityTypes
- CRAFTING - Enum constant in enum class com.deco2800.game.components.player.KeyboardPlayerInputComponent.MenuTypes
- CraftingLogic - Class in com.deco2800.game.crafting
-
Supporting class containing static methods that can be used to support other classes in using the crafting system.
- craftingStatus - Static variable in class com.deco2800.game.components.player.OpenCraftingComponent
- CraftingSystem - Class in com.deco2800.game.crafting
-
Public class that creates a new crafting system which allows users to combine materials in their inventory to make new items.
- CraftingSystem() - Constructor for class com.deco2800.game.crafting.CraftingSystem
-
Constructor that creates an instance of the crafting system class which creates a set of the users inventory and determines what items the users can build with it.
- CRAFTINGTABLE - Enum constant in enum class com.deco2800.game.entities.factories.EntityTypes
- create() - Method in class com.deco2800.game.areas.ForestGameArea
-
Create the game area, including terrain, static entities (trees), dynamic entities (player)
- create() - Method in class com.deco2800.game.areas.GameArea
-
Create the game area in the world.
- create() - Method in class com.deco2800.game.areas.UndergroundGameArea
-
Create the game area, including terrain, static entities (trees), dynamic entities (player)
- create() - Method in class com.deco2800.game.components.BackgroundSoundComponent
- create() - Method in class com.deco2800.game.components.combatitemscomponents.AuraPickupComponent
- create() - Method in class com.deco2800.game.components.combatitemscomponents.BuffDisplayComponent
-
Creates reusable ui styles and adds actors to the stage.
- create() - Method in class com.deco2800.game.components.combatitemscomponents.WeaponArrowProjectileComponent
- create() - Method in class com.deco2800.game.components.CombatStatsComponent
- create() - Method in class com.deco2800.game.components.Component
-
Called when the entity is created and registered.
- create() - Method in class com.deco2800.game.components.deathscreen.DeathScreenActions
-
Creates the event listeners relevant to DeathScreen
- create() - Method in class com.deco2800.game.components.deathscreen.DeathScreenDisplay
- create() - Method in class com.deco2800.game.components.gamearea.GameAreaDisplay
- create() - Method in class com.deco2800.game.components.gamearea.PerformanceDisplay
- create() - Method in class com.deco2800.game.components.ItemPickupComponent
- create() - Method in class com.deco2800.game.components.leveltransition.LevelTransitionActions
-
Creates the event listeners relevant to the transition screen
- create() - Method in class com.deco2800.game.components.leveltransition.LevelTransitionDisplay
- create() - Method in class com.deco2800.game.components.maingame.DialogueDisplay
- create() - Method in class com.deco2800.game.components.maingame.MainGameActions
- create() - Method in class com.deco2800.game.components.maingame.MainGameExitDisplay
- create() - Method in class com.deco2800.game.components.maingame.PauseMenuActions
- create() - Method in class com.deco2800.game.components.mainmenu.MainMenuActions
- create() - Method in class com.deco2800.game.components.mainmenu.MainMenuDisplay
- create() - Method in class com.deco2800.game.components.mainmenu.MainMenuDisplayProMax
- create() - Method in class com.deco2800.game.components.mainmenu.MainMenuTransitionAnimation
- create() - Method in class com.deco2800.game.components.npc.DialogueAnimationController
- create() - Method in class com.deco2800.game.components.npc.DialogueDisplay
- create() - Method in class com.deco2800.game.components.npc.EnemyProjectileComponent
-
Create enemy projectile component
- create() - Method in class com.deco2800.game.components.npc.GymBroAnimationController
-
Creates the gym bro animation controller
- create() - Method in class com.deco2800.game.components.npc.HeraclesAnimationController
-
Creates the Heracles animation controller
- create() - Method in class com.deco2800.game.components.npc.MegaPoopAnimationController
-
Creates the Mega Poop animation controller
- create() - Method in class com.deco2800.game.components.npc.NPCAnimationController
- create() - Method in class com.deco2800.game.components.npc.PoopAnimationController
-
Creates the poop animation controller
- create() - Method in class com.deco2800.game.components.player.CooldownBarDisplay
- create() - Method in class com.deco2800.game.components.player.Countdown
-
Creates reusable ui styles and adds actors to the stage.
- create() - Method in class com.deco2800.game.components.player.OpenCraftingComponent
- create() - Method in class com.deco2800.game.components.player.OpenPauseComponent
- create() - Method in class com.deco2800.game.components.player.PlayerActions
- create() - Method in class com.deco2800.game.components.player.PlayerAnimationController
- create() - Method in class com.deco2800.game.components.player.PlayerCombatAnimationController
-
Initialises all the required animation listeners
- create() - Method in class com.deco2800.game.components.player.PlayerKeyPrompt
- create() - Method in class com.deco2800.game.components.player.PlayerKPAnimationController
-
Initialises all the required animation listeners and triggers the regular (initial) animation
- create() - Method in class com.deco2800.game.components.player.PlayerModifier
-
Creation function to gather all necessary components for PlayerModified component to function.
- create() - Method in class com.deco2800.game.components.player.PlayerSkillAnimationController
-
Initialises all the required animation listeners and triggers the regular (initial) animation
- create() - Method in class com.deco2800.game.components.player.PlayerSkillProjectileComponent
- create() - Method in class com.deco2800.game.components.player.PlayerSkillScreenOverlay
-
Creates reusable ui styles and adds actors to the stage.
- create() - Method in class com.deco2800.game.components.player.PlayerStatsDisplay
-
Creates reusable ui styles and adds actors to the stage.
- create() - Method in class com.deco2800.game.components.player.PlayerTouchAttackComponent
- create() - Method in class com.deco2800.game.components.player.PotionEffectComponent
-
Creates component attached to potion entity
- create() - Method in class com.deco2800.game.components.player.QuickBarDisplay
-
Creates reusable ui styles and adds actors to the stage.
- create() - Method in class com.deco2800.game.components.player.TransitionMapComponent
- create() - Method in class com.deco2800.game.components.settingsmenu.SettingsMenuDisplay
- create() - Method in class com.deco2800.game.components.TouchAttackComponent
- create() - Method in class com.deco2800.game.entities.Entity
-
Create the entity and start running.
- create() - Method in class com.deco2800.game.GdxGame
- create() - Method in class com.deco2800.game.input.InputComponent
- create() - Method in class com.deco2800.game.physics.components.ColliderComponent
- create() - Method in class com.deco2800.game.physics.components.HitboxComponent
- create() - Method in class com.deco2800.game.physics.components.PhysicsComponent
- create() - Method in class com.deco2800.game.physics.components.PhysicsMovementComponent
- create() - Method in class com.deco2800.game.rendering.RenderComponent
- create() - Method in class com.deco2800.game.SkillsTree.SkillsTreeActions
- create() - Method in class com.deco2800.game.SkillsTree.SkillsTreeDisplay
- create() - Method in class com.deco2800.game.ui.terminal.KeyboardTerminalInputComponent
- create() - Method in class com.deco2800.game.ui.terminal.TerminalDisplay
- create() - Method in class com.deco2800.game.ui.terminal.TouchTerminalInputComponent
- create() - Method in class com.deco2800.game.ui.UIComponent
- create(TaskRunner) - Method in class com.deco2800.game.ai.tasks.DefaultTask
- create(TaskRunner) - Method in interface com.deco2800.game.ai.tasks.Task
-
Create the task and attach it to the task runner.
- createArmour(ArmourFactory.ArmourType) - Static method in class com.deco2800.game.entities.factories.ArmourFactory
-
Gets the stats for the specific armour type being referred to and then creates that armour
- createBaseArmour() - Static method in class com.deco2800.game.entities.factories.ArmourFactory
-
Creates a generic Armour to be used as a base Armour entity.
- createBaseAura() - Static method in class com.deco2800.game.entities.factories.AuraFactory
-
Creates a generic Aura to be used as a base Aura entity by more specific aura creation methods.
- createBaseMaterial() - Static method in class com.deco2800.game.entities.factories.MaterialFactory
-
Creates a base material with the physics, hitbox and possibility to pick up.
- createBaseNPC() - Static method in class com.deco2800.game.entities.factories.NPCFactory
-
Creates a generic NPC to be used as a base entity by more specific NPC creation methods.
- createBasePlayerProjectile(Entity, double) - Static method in class com.deco2800.game.entities.factories.ProjectileFactory
-
Creates a non-colliding projectile shooting in the walk direction of the player which damages enemies.
- createBasePotion() - Static method in class com.deco2800.game.entities.factories.PotionFactory
-
Creates the base potion which can be modified to other types of potion.
- createBaseProjectile(Entity, Entity) - Static method in class com.deco2800.game.entities.factories.ProjectileFactory
-
Creates base entity of projectile
- createBaseWeapon() - Static method in class com.deco2800.game.entities.factories.WeaponFactory
-
Creates a generic Weapon to be used as a base Weapon entity by more specific aura creation methods.
- createBody(BodyDef) - Method in class com.deco2800.game.physics.PhysicsEngine
- createCamera() - Static method in class com.deco2800.game.entities.factories.RenderFactory
- createChild(Entity) - Static method in class com.deco2800.game.entities.factories.NPCFactory
-
Creates an atlantis child NPC entity.
- createColumn() - Static method in class com.deco2800.game.entities.factories.ObstacleFactory
-
Creates a column entity on the map.
- createCombatAnimator(Entity) - Static method in class com.deco2800.game.entities.factories.PlayerFactory
-
Create combat item animator
- createCraftingTableForest() - Static method in class com.deco2800.game.entities.factories.ObstacleFactory
-
Creates the crafting table entity for the forest map
- createCraftingTableUnderground() - Static method in class com.deco2800.game.entities.factories.ObstacleFactory
-
Creates the crafting table entity for the underground map
- createDagger() - Static method in class com.deco2800.game.entities.factories.WeaponFactory
-
Creates Level 2 dagger - Athena's Dagger
- createDefencePotion() - Static method in class com.deco2800.game.entities.factories.PotionFactory
-
creates a defence potion.
- createDialogue() - Static method in class com.deco2800.game.entities.factories.DialogueFactory
-
Create a dialogue box entity
- createDiscus(Entity, Entity) - Static method in class com.deco2800.game.entities.factories.ProjectileFactory
-
Create discus projectile
- createDumbbell() - Static method in class com.deco2800.game.entities.factories.WeaponFactory
-
Creates basic weapon for enemy character
- createFireBuff() - Static method in class com.deco2800.game.entities.factories.AuraFactory
-
Creating weapon Fire buff using BaseAuraConfig file that takes in the Aura stats
- createForPlayer() - Method in class com.deco2800.game.input.InputFactory
-
Creates an input handler for the player
- createForPlayer() - Method in class com.deco2800.game.input.KeyboardInputFactory
-
Creates an input handler for the player.
- createForPlayer() - Method in class com.deco2800.game.input.TouchInputFactory
-
Creates an input handler for the player
- createForTerminal() - Method in class com.deco2800.game.input.InputFactory
-
Creates an input handler for the terminal
- createForTerminal() - Method in class com.deco2800.game.input.KeyboardInputFactory
-
Creates an input handler for the terminal.
- createForTerminal() - Method in class com.deco2800.game.input.TouchInputFactory
-
Creates an input handler for the terminal
- createFriendlyCreature(Entity) - Static method in class com.deco2800.game.entities.factories.NPCFactory
-
Creates a friendly creature NPC entity.
- createFromInputType(InputFactory.InputType) - Static method in class com.deco2800.game.input.InputFactory
- createGold() - Static method in class com.deco2800.game.entities.factories.MaterialFactory
-
Creates a gold material with the image and entity types set.
- createGoldenPlungerBow() - Static method in class com.deco2800.game.entities.factories.WeaponFactory
-
Create a golden plunger bow
- createGuard(Entity) - Static method in class com.deco2800.game.entities.factories.NPCFactory
-
Creates an atlantis guard NPC entity.
- createGymBro(Entity) - Static method in class com.deco2800.game.entities.factories.NPCFactory
-
Creates an atlantis citizen entity.
- createHealthPotion() - Static method in class com.deco2800.game.entities.factories.PotionFactory
-
Creates a health potion which gives the player health all at once
- createHealthRegenPotion() - Static method in class com.deco2800.game.entities.factories.PotionFactory
-
Create a health regen potion which slows gives the player health every few frames
- createHera() - Static method in class com.deco2800.game.entities.factories.WeaponFactory
-
Creates Level 2 dagger 2 - Hera's Dagger
- createHeraAthenaDag() - Static method in class com.deco2800.game.entities.factories.WeaponFactory
-
Creates hera and Athena's Dagger
- createHeracles(Entity) - Static method in class com.deco2800.game.entities.factories.NPCFactory
-
Creates Heracles, the boss of the first level.
- createHumanGuard(Entity) - Static method in class com.deco2800.game.entities.factories.NPCFactory
- createIron() - Static method in class com.deco2800.game.entities.factories.MaterialFactory
-
Creates a Iron material with the image and entity types set.
- createJoint(JointDef) - Method in class com.deco2800.game.physics.PhysicsEngine
- createKeyBindings() - Method in class com.deco2800.game.components.gamearea.GameAreaDisplay
-
Creates the appropriate image and label entries for key labelling as actors then returns them.
- createKeyPromptAnimator(Entity) - Static method in class com.deco2800.game.entities.factories.PlayerFactory
- createmaleCitizen(Entity) - Static method in class com.deco2800.game.entities.factories.NPCFactory
-
Creates an atlantis male NPC entity.
- createMegaPoop(Entity) - Static method in class com.deco2800.game.entities.factories.NPCFactory
-
Creates Mega Poop, the boss of the second level.
- createModifier(String, float, boolean, int) - Method in class com.deco2800.game.components.player.PlayerModifier
-
Public function for creating player modifiers.
- createOneLegGirl(Entity) - Static method in class com.deco2800.game.entities.factories.NPCFactory
-
Creates an atlantis female NPC entity.
- createPipe() - Static method in class com.deco2800.game.entities.factories.WeaponFactory
-
Creates the PVC pipe weapon
- createPlastic() - Static method in class com.deco2800.game.entities.factories.MaterialFactory
-
Creates a plastic material with the image and entity types set.
- createPlatinum() - Static method in class com.deco2800.game.entities.factories.MaterialFactory
-
Creates a platinum material with the image and entity types set.
- createPlayer() - Static method in class com.deco2800.game.entities.factories.PlayerFactory
-
Create a player entity.
- createPlayerAOE(Entity, double) - Static method in class com.deco2800.game.entities.factories.ProjectileFactory
-
Creates an AOE attack.
- createPlug(Entity) - Static method in class com.deco2800.game.entities.factories.NPCFactory
- createPlumberFriend(Entity) - Static method in class com.deco2800.game.entities.factories.NPCFactory
- createPlunger() - Static method in class com.deco2800.game.entities.factories.WeaponFactory
-
Creates the plunger weapon
- createPlungerBow() - Static method in class com.deco2800.game.entities.factories.WeaponFactory
-
Create plunger bow
- createPoisonBuff() - Static method in class com.deco2800.game.entities.factories.AuraFactory
-
Creating weapon Poison buff using BaseAuraConfig file that takes in the Aura stats
- createPoop() - Static method in class com.deco2800.game.entities.factories.MaterialFactory
-
Creates a poop material with the image and entity types set.
- createPoops(Entity) - Static method in class com.deco2800.game.entities.factories.NPCFactory
-
Creates Heracles, the boss of the first level.
- createPoopsSludge(Entity, Entity) - Static method in class com.deco2800.game.entities.factories.ProjectileFactory
-
Create poop sludge projectile
- createRenderer() - Static method in class com.deco2800.game.entities.factories.RenderFactory
- createRock() - Static method in class com.deco2800.game.entities.factories.ObstacleFactory
-
Creates a rock entity on the map.
- createRubber() - Static method in class com.deco2800.game.entities.factories.MaterialFactory
-
Creates a rubber material with the image and entity types set.
- createSilver() - Static method in class com.deco2800.game.entities.factories.MaterialFactory
-
Creates a silver material with the image and entity types set.
- createSkillAnimator(Entity) - Static method in class com.deco2800.game.entities.factories.PlayerFactory
- createSmallTree() - Static method in class com.deco2800.game.entities.factories.ObstacleFactory
-
Creates a small tree entity.
- createSpeedPotion() - Static method in class com.deco2800.game.entities.factories.PotionFactory
-
Creates speed potion which increases the players movement speed by a set amount
- createStaminaPotion() - Static method in class com.deco2800.game.entities.factories.PotionFactory
-
Creates a stamina potion which gives the player health all at once
- createSteel() - Static method in class com.deco2800.game.entities.factories.MaterialFactory
-
Creates a steel material with the image and entity types set.
- createSwordLvl2() - Static method in class com.deco2800.game.entities.factories.WeaponFactory
-
Creates the level 2 swords for player
- createTerrain(TerrainFactory.TerrainType) - Method in class com.deco2800.game.areas.terrain.TerrainFactory
-
Create a terrain of the given type, using the orientation of the factory.
- createTestArmour() - Static method in class com.deco2800.game.entities.factories.ArmourFactory
- createTestAura() - Static method in class com.deco2800.game.entities.factories.AuraFactory
-
Creates a dagger for testing
- createTestDagger() - Static method in class com.deco2800.game.entities.factories.WeaponFactory
-
Creates a dagger for testing
- createTestHealthPotion() - Static method in class com.deco2800.game.entities.factories.PotionFactory
-
Creates health potion without rendering Component.
- createTestHealthRegenPotion() - Static method in class com.deco2800.game.entities.factories.PotionFactory
-
Creates health regen potion without rendering Component.
- createTestPlayer() - Static method in class com.deco2800.game.entities.factories.PlayerFactory
-
Create a player entity for test.
- createTestSpeedPotion() - Static method in class com.deco2800.game.entities.factories.PotionFactory
-
Creates speed potion without rendering Component.
- createTestWeapon(String) - Static method in class com.deco2800.game.entities.factories.WeaponFactory
-
Creates the specified type of weapon for testing
- createToiletPaper() - Static method in class com.deco2800.game.entities.factories.MaterialFactory
-
Creates a ToiletPaper material with the image and entity types set.
- createTree() - Static method in class com.deco2800.game.entities.factories.ObstacleFactory
-
Creates a tree entity.
- createTridentLvl2() - Static method in class com.deco2800.game.entities.factories.WeaponFactory
-
Creates the level 2 trident for the player
- createWall(float, float) - Static method in class com.deco2800.game.entities.factories.ObstacleFactory
-
Creates an invisible physics wall.
- createWeaponDmgBuff() - Static method in class com.deco2800.game.entities.factories.AuraFactory
-
Creating weapon Damage Buff using BaseAuraConfig file that takes in the Aura stats
- createWeaponDmgDebuff() - Static method in class com.deco2800.game.entities.factories.AuraFactory
-
Creating weapon Damage Debuff using BaseAuraConfig file that takes in the Aura stats
- createWeaponProjectile(Entity, double) - Static method in class com.deco2800.game.entities.factories.ProjectileFactory
-
Creates a non-colliding projectile shooting in the walk direction of the player (thank YOU TEAM 08 KURT) which damages enemies.
- createWeaponSpeedBuff() - Static method in class com.deco2800.game.entities.factories.AuraFactory
-
Creates weapon speed buff aura using BaseAuraConfig file that takes in the Aura stats
- createWeaponSpeedDeBuff() - Static method in class com.deco2800.game.entities.factories.AuraFactory
-
Creating weapon Speed Debuff using BaseAuraConfig file that takes in the Aura stats
- createWood() - Static method in class com.deco2800.game.entities.factories.MaterialFactory
-
Creates a wood material with the image and entity types set.
- createWrenchPlayerProjectile(Entity, double) - Static method in class com.deco2800.game.entities.factories.ProjectileFactory
-
Creates a non-colliding wrench projectile shooting in the walk direction of the player which damages enemies.
- creatTestNPC(String) - Static method in class com.deco2800.game.entities.factories.NPCFactory
- CREATURE - Enum constant in enum class com.deco2800.game.entities.factories.EntityTypes
D
- damage - Variable in class com.deco2800.game.components.combatitemscomponents.WeaponStatsComponent
- damage - Variable in class com.deco2800.game.entities.configs.combatitemsconfig.WeaponConfig
- damageMultiplier - Variable in class com.deco2800.game.entities.configs.combatitemsconfig.AuraConfig
- damageReturner - Enum constant in enum class com.deco2800.game.entities.factories.ArmourFactory.ArmourType
- damageReturner - Variable in class com.deco2800.game.components.DefensiveItemsComponents.ArmourTypeConfig
- damageToWeapon(WeaponConfig) - Static method in class com.deco2800.game.crafting.CraftingLogic
-
Supporter method that takes a weapon config of any type and converts it to a weapon entity.
- darkArmour - Enum constant in enum class com.deco2800.game.entities.factories.ArmourFactory.ArmourType
- darkArmour - Variable in class com.deco2800.game.components.DefensiveItemsComponents.ArmourTypeConfig
- DASH - Enum constant in enum class com.deco2800.game.components.player.PlayerSkillComponent.SkillTypes
- DeadTask - Class in com.deco2800.game.components.tasks
- DeadTask(Entity, int) - Constructor for class com.deco2800.game.components.tasks.DeadTask
-
Create DeadTask
- DEATH_SCREEN_L1 - Enum constant in enum class com.deco2800.game.GdxGame.ScreenType
- DEATH_SCREEN_L2 - Enum constant in enum class com.deco2800.game.GdxGame.ScreenType
- DeathScreen - Class in com.deco2800.game.screens
-
The game screen containing the death screen.
- DeathScreen(GdxGame, int) - Constructor for class com.deco2800.game.screens.DeathScreen
-
DeathScreen constructor
- DeathScreenActions - Class in com.deco2800.game.components.deathscreen
-
This class listens to events relevant to the Main Menu Screen and does something when one of the events is triggered.
- DeathScreenActions(GdxGame) - Constructor for class com.deco2800.game.components.deathscreen.DeathScreenActions
- DeathScreenDisplay - Class in com.deco2800.game.components.deathscreen
-
AN ui component for displaying the Death Screen.
- DeathScreenDisplay() - Constructor for class com.deco2800.game.components.deathscreen.DeathScreenDisplay
-
Constructor of DeathScreenDisplay, default empty
- DeathScreenDisplay(int) - Constructor for class com.deco2800.game.components.deathscreen.DeathScreenDisplay
-
Constructor of DeathScreenDisplay, instantiates the variables given
- deathScreenStart() - Method in class com.deco2800.game.screens.MainGameScreen
-
Sets dead to true, changing the render of the game
- DebugCommand - Class in com.deco2800.game.services.commands
-
A command for toggling debug mode on and off.
- DebugCommand - Class in com.deco2800.game.ui.terminal.commands
-
A command for toggling debug mode on and off.
- DebugCommand() - Constructor for class com.deco2800.game.services.commands.DebugCommand
- DebugCommand() - Constructor for class com.deco2800.game.ui.terminal.commands.DebugCommand
- DebugRenderer - Class in com.deco2800.game.rendering
-
Provides functionality to draw lines/shapes to the screen for debug purposes.
- DebugRenderer() - Constructor for class com.deco2800.game.rendering.DebugRenderer
- DebugRenderer(Box2DDebugRenderer, ShapeRenderer) - Constructor for class com.deco2800.game.rendering.DebugRenderer
- DEFAULT - Static variable in class com.deco2800.game.physics.PhysicsLayer
- DefaultTask - Class in com.deco2800.game.ai.tasks
-
A default task implementation that stores the associated entity and updates status when starting/stopping a task.
- DefaultTask() - Constructor for class com.deco2800.game.ai.tasks.DefaultTask
- destroyBody(Body) - Method in class com.deco2800.game.physics.PhysicsEngine
- destroyJoint(Joint) - Method in class com.deco2800.game.physics.PhysicsEngine
- DialogueAnimationController - Class in com.deco2800.game.components.npc
- DialogueAnimationController() - Constructor for class com.deco2800.game.components.npc.DialogueAnimationController
- dialogueContainerChild - Static variable in class com.deco2800.game.components.npc.DialogueDisplay
- dialogueContainerFemale - Static variable in class com.deco2800.game.components.npc.DialogueDisplay
- dialogueContainerFriendlyCreature - Static variable in class com.deco2800.game.components.npc.DialogueDisplay
- dialogueContainerGuard - Static variable in class com.deco2800.game.components.npc.DialogueDisplay
- dialogueContainerHumanGuard - Static variable in class com.deco2800.game.components.npc.DialogueDisplay
- dialogueContainerMale - Static variable in class com.deco2800.game.components.npc.DialogueDisplay
- dialogueContainerPlumberFriend - Static variable in class com.deco2800.game.components.npc.DialogueDisplay
- DialogueDisplay - Class in com.deco2800.game.components.maingame
-
Displays a dialog box that allows the Player to interact with NPCs - Team 7 all-mid-npc
- DialogueDisplay - Class in com.deco2800.game.components.npc
-
Displays a dialog box that allows the Player to interact with NPCs - Team 7 all-mid-npc
- DialogueDisplay() - Constructor for class com.deco2800.game.components.maingame.DialogueDisplay
- DialogueDisplay() - Constructor for class com.deco2800.game.components.npc.DialogueDisplay
- DialogueFactory - Class in com.deco2800.game.entities.factories
-
Factory to create non-playable dialogue box entities.
- DialogueFactory() - Constructor for class com.deco2800.game.entities.factories.DialogueFactory
- dialogueImageChild - Variable in class com.deco2800.game.components.npc.DialogueDisplay
- dialogueImageFemale - Variable in class com.deco2800.game.components.npc.DialogueDisplay
- dialogueImageFriendlyCreature - Variable in class com.deco2800.game.components.npc.DialogueDisplay
- dialogueImageGuard - Variable in class com.deco2800.game.components.npc.DialogueDisplay
- dialogueImageHumanGuard - Variable in class com.deco2800.game.components.npc.DialogueDisplay
- dialogueImageMale - Variable in class com.deco2800.game.components.npc.DialogueDisplay
- dialogueImagePlumberFriend - Variable in class com.deco2800.game.components.npc.DialogueDisplay
- DialogueKeybordInputComponent - Class in com.deco2800.game.components.npc
- DialogueKeybordInputComponent() - Constructor for class com.deco2800.game.components.npc.DialogueKeybordInputComponent
- didHit - Variable in class com.deco2800.game.physics.raycast.SingleHitCallback
- displayCatOne() - Method in class com.deco2800.game.components.gamearea.GameAreaDisplay
-
Displays the first page of the catalogue menu and adds event handlers for buttons
- displayCatTwo() - Method in class com.deco2800.game.components.gamearea.GameAreaDisplay
-
Displays the second page of the catalogue menu and adds event handlers for buttons.
- displayEquipables() - Method in class com.deco2800.game.components.gamearea.GameAreaDisplay
-
Displays the items that the player has equipped.
- displayInventoryMenu() - Method in class com.deco2800.game.components.gamearea.GameAreaDisplay
-
Displays the inventory UI.
- displayItems() - Method in class com.deco2800.game.components.gamearea.GameAreaDisplay
-
Displays each item in the inventory in the inventory storage blocks.
- displayMinimap() - Method in class com.deco2800.game.components.gamearea.GameAreaDisplay
- displayMode - Variable in class com.deco2800.game.files.UserSettings.Settings
- DisplaySettings() - Constructor for class com.deco2800.game.files.UserSettings.DisplaySettings
- DisplaySettings(Graphics.DisplayMode) - Constructor for class com.deco2800.game.files.UserSettings.DisplaySettings
- dispose() - Method in class com.deco2800.game.ai.tasks.AITaskComponent
-
Dispose of current task
- dispose() - Method in class com.deco2800.game.areas.ForestGameArea
- dispose() - Method in class com.deco2800.game.areas.GameArea
-
Dispose of all internal entities in the area
- dispose() - Method in class com.deco2800.game.areas.terrain.TerrainComponent
- dispose() - Method in class com.deco2800.game.areas.UndergroundGameArea
- dispose() - Method in class com.deco2800.game.components.BackgroundSoundComponent
- dispose() - Method in class com.deco2800.game.components.Component
-
Called when the component is disposed.
- dispose() - Method in class com.deco2800.game.components.deathscreen.DeathScreenDisplay
- dispose() - Method in class com.deco2800.game.components.gamearea.GameAreaDisplay
- dispose() - Method in class com.deco2800.game.components.gamearea.PerformanceDisplay
- dispose() - Method in class com.deco2800.game.components.leveltransition.LevelTransitionDisplay
- dispose() - Method in class com.deco2800.game.components.maingame.DialogueDisplay
- dispose() - Method in class com.deco2800.game.components.maingame.MainGameExitDisplay
- dispose() - Method in class com.deco2800.game.components.mainmenu.MainMenuDisplay
- dispose() - Method in class com.deco2800.game.components.mainmenu.MainMenuDisplayProMax
- dispose() - Method in class com.deco2800.game.components.mainmenu.MainMenuTransitionAnimation
- dispose() - Method in class com.deco2800.game.components.npc.DialogueDisplay
- dispose() - Method in class com.deco2800.game.components.player.CooldownBarDisplay
- dispose() - Method in class com.deco2800.game.components.player.Countdown
- dispose() - Method in class com.deco2800.game.components.player.PlayerSkillScreenOverlay
- dispose() - Method in class com.deco2800.game.components.player.PlayerStatsDisplay
-
Disposes of all images and labels
- dispose() - Method in class com.deco2800.game.components.player.QuickBarDisplay
- dispose() - Method in class com.deco2800.game.components.settingsmenu.SettingsMenuDisplay
- dispose() - Method in class com.deco2800.game.entities.Entity
-
Dispose of the entity.
- dispose() - Method in class com.deco2800.game.entities.EntityService
-
Dispose all entities.
- dispose() - Method in class com.deco2800.game.GdxGame
- dispose() - Method in class com.deco2800.game.input.InputComponent
- dispose() - Method in class com.deco2800.game.physics.components.ColliderComponent
- dispose() - Method in class com.deco2800.game.physics.components.PhysicsComponent
- dispose() - Method in class com.deco2800.game.physics.PhysicsEngine
- dispose() - Method in class com.deco2800.game.rendering.AnimationRenderComponent
- dispose() - Method in class com.deco2800.game.rendering.RenderComponent
- dispose() - Method in class com.deco2800.game.rendering.Renderer
- dispose() - Method in class com.deco2800.game.rendering.RenderService
- dispose() - Method in class com.deco2800.game.screens.DeathScreen
- dispose() - Method in class com.deco2800.game.screens.LevelTransitionScreen
- dispose() - Method in class com.deco2800.game.screens.MainGameScreen
- dispose() - Method in class com.deco2800.game.screens.MainMenuScreen
- dispose() - Method in class com.deco2800.game.screens.MainMenuTransitionScreen
- dispose() - Method in class com.deco2800.game.screens.SettingsScreen
- dispose() - Method in class com.deco2800.game.screens.SkillsTreeScreen
- dispose() - Method in class com.deco2800.game.services.ResourceService
- dispose() - Method in class com.deco2800.game.SkillsTree.SkillsTreeDisplay
- dispose() - Method in class com.deco2800.game.ui.terminal.TerminalDisplay
- disposeCraftingMenu() - Method in class com.deco2800.game.components.gamearea.GameAreaDisplay
-
Disposes the crafting menu by deleting all the elements from the screen and also resets the boxes to make it like new when opened again.
- disposeInventoryMenu() - Method in class com.deco2800.game.components.gamearea.GameAreaDisplay
-
Disposes the inventory display group.
- disposeKeyBindMenu() - Method in class com.deco2800.game.components.gamearea.GameAreaDisplay
-
Dispose the keybinding menu group
- disposeMinimap() - Method in class com.deco2800.game.components.gamearea.GameAreaDisplay
-
Disposes of the minimap when it is open and M is pressed.
- disposePauseMenu() - Method in class com.deco2800.game.components.gamearea.GameAreaDisplay
-
Method that disposes the pause menu by removing all the elements present on the screen
- disposePlayerGuideMenu() - Method in class com.deco2800.game.components.gamearea.GameAreaDisplay
-
Removes the elements of the player guide menu from the map.
- dmgBuff - Variable in class com.deco2800.game.entities.configs.combatitemsconfig.BaseAuraConfig
- dmgDebuff - Variable in class com.deco2800.game.entities.configs.combatitemsconfig.BaseAuraConfig
- DMGREDUCTION - Static variable in class com.deco2800.game.components.player.PlayerModifier
- dmgReturn - Variable in class com.deco2800.game.components.DefensiveItemsComponents.ArmourConfig
- dmgReturn - Variable in class com.deco2800.game.components.DefensiveItemsComponents.ArmourStatsComponent
- DMGRETURN - Static variable in class com.deco2800.game.components.player.PlayerModifier
- DODGE - Enum constant in enum class com.deco2800.game.components.player.PlayerSkillComponent.SkillTypes
- DOWN - Static variable in class com.deco2800.game.utils.math.Vector2Utils
- draw(SpriteBatch) - Method in class com.deco2800.game.areas.terrain.TerrainComponent
- draw(SpriteBatch) - Method in class com.deco2800.game.components.combatitemscomponents.BuffDisplayComponent
- draw(SpriteBatch) - Method in class com.deco2800.game.components.deathscreen.DeathScreenDisplay
- draw(SpriteBatch) - Method in class com.deco2800.game.components.gamearea.GameAreaDisplay
- draw(SpriteBatch) - Method in class com.deco2800.game.components.gamearea.PerformanceDisplay
- draw(SpriteBatch) - Method in class com.deco2800.game.components.leveltransition.LevelTransitionDisplay
- draw(SpriteBatch) - Method in class com.deco2800.game.components.maingame.DialogueDisplay
- draw(SpriteBatch) - Method in class com.deco2800.game.components.maingame.MainGameExitDisplay
- draw(SpriteBatch) - Method in class com.deco2800.game.components.mainmenu.MainMenuDisplay
- draw(SpriteBatch) - Method in class com.deco2800.game.components.mainmenu.MainMenuDisplayProMax
- draw(SpriteBatch) - Method in class com.deco2800.game.components.mainmenu.MainMenuTransitionAnimation
- draw(SpriteBatch) - Method in class com.deco2800.game.components.npc.DialogueDisplay
- draw(SpriteBatch) - Method in class com.deco2800.game.components.player.CooldownBarDisplay
- draw(SpriteBatch) - Method in class com.deco2800.game.components.player.Countdown
- draw(SpriteBatch) - Method in class com.deco2800.game.components.player.PlayerSkillScreenOverlay
- draw(SpriteBatch) - Method in class com.deco2800.game.components.player.PlayerStatsDisplay
- draw(SpriteBatch) - Method in class com.deco2800.game.components.player.QuickBarDisplay
-
Draw the quick bar by default UI behavior
- draw(SpriteBatch) - Method in class com.deco2800.game.components.settingsmenu.SettingsMenuDisplay
- draw(SpriteBatch) - Method in class com.deco2800.game.rendering.AnimationRenderComponent
- draw(SpriteBatch) - Method in class com.deco2800.game.rendering.RenderComponent
-
Draw the renderable.
- draw(SpriteBatch) - Method in class com.deco2800.game.rendering.TextureRenderComponent
- draw(SpriteBatch) - Method in class com.deco2800.game.SkillsTree.SkillsTreeDisplay
- draw(SpriteBatch) - Method in class com.deco2800.game.ui.terminal.TerminalDisplay
- drawColumnsCollision(float) - Static method in class com.deco2800.game.entities.factories.ObstacleFactory
-
Creates multiple columns entity on the map.
- drawLine(Vector2, Vector2) - Method in class com.deco2800.game.rendering.DebugRenderer
-
Draw a line between two positions
- drawLine(Vector2, Vector2, Color, float) - Method in class com.deco2800.game.rendering.DebugRenderer
-
Draw a line between two positions
- drawRectangle(Vector2, Vector2) - Method in class com.deco2800.game.rendering.DebugRenderer
-
Draw a rectangle
- drawRectangle(Vector2, Vector2, Color, float) - Method in class com.deco2800.game.rendering.DebugRenderer
-
Draw a rectangle
- drawWall(float, float) - Static method in class com.deco2800.game.entities.factories.ObstacleFactory
-
Creates a visible physics wall.
- dropMaterial() - Method in class com.deco2800.game.components.CombatStatsComponent
-
Method that picks a random material on the map to drop once an enemy is killed.
- dropWeapon() - Method in class com.deco2800.game.components.CombatStatsComponent
-
If the current entity is a player, then the function is called on a key press and drops a weapon on the map only if the player is equipped with a weapon.
- dumbbell - Variable in class com.deco2800.game.entities.configs.combatitemsconfig.WeaponConfigSetup
- durability - Variable in class com.deco2800.game.components.DefensiveItemsComponents.ArmourConfig
- durability - Variable in class com.deco2800.game.components.DefensiveItemsComponents.ArmourStatsComponent
- durationMultiplier - Variable in class com.deco2800.game.entities.configs.combatitemsconfig.AuraConfig
E
- earlyUpdate() - Method in class com.deco2800.game.components.Component
-
Early update called once per frame of the game, before update().
- earlyUpdate() - Method in class com.deco2800.game.entities.Entity
-
Perform an early update on all components.
- earlyUpdate() - Method in class com.deco2800.game.physics.components.PhysicsComponent
-
Entity position needs to be updated to match the new physics position.
- enabled - Variable in class com.deco2800.game.components.Component
- endContact(Contact) - Method in class com.deco2800.game.physics.PhysicsContactListener
- ENEMY - Enum constant in enum class com.deco2800.game.entities.factories.EntityTypes
- EnemyExperienceComponent - Class in com.deco2800.game.components.npc
- EnemyExperienceComponent(int) - Constructor for class com.deco2800.game.components.npc.EnemyExperienceComponent
- EnemyProjectileComponent - Class in com.deco2800.game.components.npc
- EnemyProjectileComponent() - Constructor for class com.deco2800.game.components.npc.EnemyProjectileComponent
- entity - Variable in class com.deco2800.game.components.Component
- entity - Variable in class com.deco2800.game.physics.BodyUserData
-
The entity to which this body is attached
- Entity - Class in com.deco2800.game.entities
-
Core entity class.
- Entity() - Constructor for class com.deco2800.game.entities.Entity
- EntityService - Class in com.deco2800.game.entities
-
Provides a global access point for entities to register themselves.
- EntityService() - Constructor for class com.deco2800.game.entities.EntityService
- EntityTypes - Enum Class in com.deco2800.game.entities.factories
- equals(ArmourStatsComponent) - Method in class com.deco2800.game.components.DefensiveItemsComponents.ArmourStatsComponent
-
Checks if two ArmourStatsComponents have the same stat.
- equals(Entity) - Method in class com.deco2800.game.components.player.PotionEffectComponent
-
Returns if the two potion has the same effect
- equals(Object) - Method in class com.deco2800.game.entities.Entity
-
Check if this entity equalsOther another object
- equals(String) - Method in class com.deco2800.game.components.player.PotionEffectComponent
-
Returns if the two potion has the same effect
- equalsOther(PhysicalWeaponStatsComponent) - Method in class com.deco2800.game.components.combatitemscomponents.PhysicalWeaponStatsComponent
-
Checks if two melee weapons are the same
- equipItem(Entity) - Method in class com.deco2800.game.components.player.InventoryComponent
-
Equip the item and apply effect of the item to the player.
- EventHandler - Class in com.deco2800.game.events
-
Send and receive events between objects.
- EventHandler() - Constructor for class com.deco2800.game.events.EventHandler
- EventListener - Interface in com.deco2800.game.events.listeners
-
An event listener which is notified when events occur.
- EventListener0 - Interface in com.deco2800.game.events.listeners
-
An event listener with 0 arguments
- EventListener1<T> - Interface in com.deco2800.game.events.listeners
-
An event listener with 1 argument
- EventListener2<T0,
T1> - Interface in com.deco2800.game.events.listeners -
An event listener with 2 arguments
- EventListener3<T0,
T1, T2> - Interface in com.deco2800.game.events.listeners -
An event listener with 3 arguments
- exit() - Method in class com.deco2800.game.GdxGame
-
Exit the game.
- EXTERNAL - Enum constant in enum class com.deco2800.game.files.FileLoader.Location
F
- FAILED - Enum constant in enum class com.deco2800.game.ai.tasks.Task.Status
- fastLeather - Enum constant in enum class com.deco2800.game.entities.factories.ArmourFactory.ArmourType
- fastLeather - Variable in class com.deco2800.game.components.DefensiveItemsComponents.ArmourTypeConfig
- favouriteColour - Variable in class com.deco2800.game.entities.configs.PlayerConfig
- FEMALE - Enum constant in enum class com.deco2800.game.entities.factories.EntityTypes
- FemaleCitizenConfig - Class in com.deco2800.game.entities.configs
-
Defines the properties stored in female config files to be loaded by the NPC Factory.
- FemaleCitizenConfig() - Constructor for class com.deco2800.game.entities.configs.FemaleCitizenConfig
- FileLoader - Class in com.deco2800.game.files
-
Wrapper for reading Java objects from JSON files.
- FileLoader() - Constructor for class com.deco2800.game.files.FileLoader
- FileLoader.Location - Enum Class in com.deco2800.game.files
- FINISHED - Enum constant in enum class com.deco2800.game.ai.tasks.Task.Status
- fireballUltimate() - Method in class com.deco2800.game.components.player.PlayerActions
-
Makes the player cast their ultimate fireball skill.
- FIREBALLULTIMATE - Enum constant in enum class com.deco2800.game.components.player.PlayerSkillComponent.SkillTypes
- fireBuff - Variable in class com.deco2800.game.entities.configs.combatitemsconfig.BaseAuraConfig
- fixture - Variable in class com.deco2800.game.physics.raycast.RaycastHit
-
Fixture which was hit.
- flagDead() - Method in class com.deco2800.game.entities.Entity
- flagWin() - Method in class com.deco2800.game.entities.Entity
-
Updates the playerWin variable to true, used to flag a win
- fling(float, float, int) - Method in class com.deco2800.game.input.InputComponent
- fling(float, float, int) - Method in class com.deco2800.game.input.InputService
-
Iterates over registered input handlers in descending priority and stops as soon as the input is processed
- forEach(Consumer<? super V>) - Method in class com.deco2800.game.utils.SortedIntMap
- FOREST_DEMO - Enum constant in enum class com.deco2800.game.areas.terrain.TerrainFactory.TerrainType
- FOREST_DEMO_HEX - Enum constant in enum class com.deco2800.game.areas.terrain.TerrainFactory.TerrainType
- FOREST_DEMO_ISO - Enum constant in enum class com.deco2800.game.areas.terrain.TerrainFactory.TerrainType
- ForestGameArea - Class in com.deco2800.game.areas
-
Forest area for the demo game with trees, a player, and some enemies.
- ForestGameArea(TerrainFactory) - Constructor for class com.deco2800.game.areas.ForestGameArea
- fps - Variable in class com.deco2800.game.files.UserSettings.Settings
-
FPS cap of the game.
- frame - Static variable in class com.deco2800.game.components.mainmenu.MainMenuDisplayProMax
- frame - Static variable in class com.deco2800.game.components.mainmenu.MainMenuTransitionAnimation
- FRAME_COUNT - Static variable in class com.deco2800.game.screens.LevelTransitionScreen
- frameCount - Static variable in class com.deco2800.game.screens.MainMenuScreen
- frameCount - Static variable in class com.deco2800.game.screens.MainMenuTransitionScreen
- friendlycreature - Variable in class com.deco2800.game.entities.configs.NPCConfigs
- FriendlyCreatureConfig - Class in com.deco2800.game.entities.configs
-
Defines the properties stored in male config files to be loaded by the NPC Factory.
- FriendlyCreatureConfig() - Constructor for class com.deco2800.game.entities.configs.FriendlyCreatureConfig
- friendlycreatureDialoguePosition - Static variable in class com.deco2800.game.areas.UndergroundGameArea
- friendlycreaturePosition - Static variable in class com.deco2800.game.areas.UndergroundGameArea
- FriendPetConfig - Class in com.deco2800.game.entities.configs
- FriendPetConfig() - Constructor for class com.deco2800.game.entities.configs.FriendPetConfig
- fullscreen - Variable in class com.deco2800.game.files.UserSettings.Settings
G
- GameArea - Class in com.deco2800.game.areas
-
Represents an area in the game, such as a level, indoor area, etc.
- GameArea() - Constructor for class com.deco2800.game.areas.GameArea
- GameAreaDisplay - Class in com.deco2800.game.components.gamearea
-
Class that allows for overlaying the current map with displays and animation.
- GameAreaDisplay(String) - Constructor for class com.deco2800.game.components.gamearea.GameAreaDisplay
- GameTime - Class in com.deco2800.game.services
-
Controls the game time
- GameTime() - Constructor for class com.deco2800.game.services.GameTime
- GdxGame - Class in com.deco2800.game
-
Entry point of the non-platform-specific game logic.
- GdxGame() - Constructor for class com.deco2800.game.GdxGame
- GdxGame.ScreenType - Enum Class in com.deco2800.game
- get() - Static method in class com.deco2800.game.files.UserSettings
-
Get the stored user settings
- get(int) - Method in class com.deco2800.game.utils.SortedIntMap
-
Get value from map
- getActive() - Method in class com.deco2800.game.rendering.DebugRenderer
- getAreaMultiplier() - Method in class com.deco2800.game.components.combatitemscomponents.WeaponAuraComponent
-
Return the multiplier on the radius that the weapon can deal damage to
- getAreaRange() - Method in class com.deco2800.game.components.combatitemscomponents.AreaOfEffectStatsComponent
-
Returns the radius the weapon can deal damage to
- getAsset(String, Class<T>) - Method in class com.deco2800.game.services.ResourceService
-
Load an asset from a file
- getAura() - Method in class com.deco2800.game.components.combatitemscomponents.WeaponAuraManager
-
Returns the aura currently applied to the equipped weapon of the player
- getAuraDuration() - Method in class com.deco2800.game.components.combatitemscomponents.WeaponAuraComponent
-
Return how long the aura is activated for the weapon
- getBaseAttack() - Method in class com.deco2800.game.components.CombatStatsComponent
-
Returns the entity's base attack damage.
- getBlendMode() - Method in class com.deco2800.game.areas.terrain.TerrainTile
- getBody() - Method in class com.deco2800.game.physics.components.PhysicsComponent
-
Get the physics body.
- getCamera() - Method in class com.deco2800.game.components.CameraComponent
- getCamera() - Method in class com.deco2800.game.rendering.Renderer
- getCdMultiplier() - Method in class com.deco2800.game.components.combatitemscomponents.WeaponAuraComponent
-
Return the cooldown multiplier on the weapon
- getCenterPosition() - Method in class com.deco2800.game.entities.Entity
-
Get the entity's center position
- getChildPosition() - Static method in class com.deco2800.game.areas.ForestGameArea
- getCombatAnimator() - Method in class com.deco2800.game.components.player.PlayerTouchAttackComponent
-
Returns the combat item animator
- getCombatStatsComponent() - Method in class com.deco2800.game.components.player.PlayerModifier
-
Public facing function to get CombatStatsComponent of the modifier system.
- getComponent(Class<T>) - Method in class com.deco2800.game.entities.Entity
-
Get a component of type T on the entity.
- getCoolDown() - Method in class com.deco2800.game.components.combatitemscomponents.WeaponStatsComponent
-
Returns the cooldown of the weapon
- getCraftArea() - Static method in class com.deco2800.game.services.ServiceLocator
- getCraftingStatus() - Static method in class com.deco2800.game.components.player.OpenCraftingComponent
- getCurrentAnimation() - Method in class com.deco2800.game.rendering.AnimationRenderComponent
-
Get the name of the animation currently being played.
- getDamage() - Method in class com.deco2800.game.components.combatitemscomponents.WeaponStatsComponent
-
Returns the damage of the weapon
- getDamageReduction() - Method in class com.deco2800.game.components.CombatStatsComponent
-
Returns the current damageReduction stat.
- getDamageReturn() - Method in class com.deco2800.game.components.CombatStatsComponent
-
Returns the current damageReturn stat.
- getDebug() - Method in class com.deco2800.game.rendering.Renderer
- getDebug() - Method in class com.deco2800.game.rendering.RenderService
- getDeltaTime() - Method in class com.deco2800.game.services.GameTime
- getDescription() - Method in class com.deco2800.game.components.combatitemscomponents.WeaponAuraComponent
-
Returns the aura description
- getDescription() - Method in class com.deco2800.game.components.combatitemscomponents.WeaponStatsComponent
-
Returns the weapon description
- getDescription() - Method in class com.deco2800.game.components.maingame.OpenKeyBinds.KeyBind
- getDmgMultiplier() - Method in class com.deco2800.game.components.combatitemscomponents.WeaponAuraComponent
-
Return the damage multiplier on the weapon
- getDmgReturn() - Method in class com.deco2800.game.components.DefensiveItemsComponents.ArmourStatsComponent
- getDurability() - Method in class com.deco2800.game.components.DefensiveItemsComponents.ArmourStatsComponent
- getDuration() - Method in class com.deco2800.game.components.combatitemscomponents.AreaOfEffectStatsComponent
-
Returns thr duration the aoe is activated
- getDurationMultiplier() - Method in class com.deco2800.game.components.combatitemscomponents.WeaponAuraComponent
-
Return the multiplier on the duration before the next attack instance can be called
- getEnteredMessage() - Method in class com.deco2800.game.ui.terminal.Terminal
- getEntity() - Method in interface com.deco2800.game.ai.tasks.TaskRunner
- getEntity() - Method in class com.deco2800.game.components.Component
-
Get the entity to which this component belongs.
- getEntityList() - Method in class com.deco2800.game.entities.EntityService
- getEntityService() - Static method in class com.deco2800.game.services.ServiceLocator
- getEntityTypes() - Method in class com.deco2800.game.entities.Entity
- getEquipable(int) - Method in class com.deco2800.game.components.player.InventoryComponent
-
Returns the item at the given index or
- getEquipables() - Method in class com.deco2800.game.components.player.InventoryComponent
-
Returns the items the player equipped
- getEvents() - Method in class com.deco2800.game.entities.Entity
- getFirstTime() - Method in class com.deco2800.game.components.gamearea.GameAreaDisplay
- getFixture() - Method in class com.deco2800.game.physics.components.ColliderComponent
- getFrame() - Method in class com.deco2800.game.components.leveltransition.LevelTransitionDisplay
-
Utility function for returning the current frame.
- getFrameDuration() - Method in class com.deco2800.game.components.leveltransition.LevelTransitionDisplay
-
Utility function for returning the length a frame is displayed on screen.
- getFriendlycreaturePosition(GridPoint2) - Static method in class com.deco2800.game.areas.UndergroundGameArea
- getFrom(Class<? extends Component>) - Static method in class com.deco2800.game.components.ComponentType
- getGame() - Method in class com.deco2800.game.components.leveltransition.LevelTransitionActions
-
Utility function to return the GdxGame object held by this component.
- getGameArea() - Static method in class com.deco2800.game.services.ServiceLocator
- getGameAreaName() - Method in class com.deco2800.game.components.gamearea.GameAreaDisplay
- getGameLevel() - Method in class com.deco2800.game.screens.MainGameScreen
-
Gets game level
- getGridPosition() - Method in class com.deco2800.game.entities.Entity
-
Get the entity's game grid position.
- getGuardPosition() - Static method in class com.deco2800.game.areas.UndergroundGameArea
- getHealth() - Method in class com.deco2800.game.components.CombatStatsComponent
-
Returns the entity's health.
- getHitsAndClear() - Method in class com.deco2800.game.physics.raycast.AllHitCallback
- getId() - Method in class com.deco2800.game.areas.terrain.TerrainTile
- getId() - Method in class com.deco2800.game.components.ComponentType
- getId() - Method in class com.deco2800.game.entities.Entity
-
This entity's unique ID.
- getImagelvl1() - Method in class com.deco2800.game.components.maingame.OpenKeyBinds.KeyBind
- getImagelvl2() - Method in class com.deco2800.game.components.maingame.OpenKeyBinds.KeyBind
- getInputFactory() - Method in class com.deco2800.game.input.InputService
-
Get the input factory to create input handlers
- getInputService() - Static method in class com.deco2800.game.services.ServiceLocator
- getInventory() - Method in class com.deco2800.game.components.player.InventoryComponent
-
Returns the current inventory
- getInventoryArea() - Static method in class com.deco2800.game.services.ServiceLocator
- getInventoryContents() - Method in class com.deco2800.game.crafting.CraftingSystem
-
Returns the instance of inventory contents made and used by the class.
- getInventoryToggled() - Method in class com.deco2800.game.components.player.OpenPauseComponent
-
Utility function to get inventory menu open status.
- getItemIndex(Entity, List<Entity>) - Method in class com.deco2800.game.components.player.InventoryComponent
-
Returns the index in the storage if there is one with the same Entity type
- getItemQuantity(int) - Method in class com.deco2800.game.components.player.InventoryComponent
-
Returns the item's quantity
- getItemQuantity(Entity) - Method in class com.deco2800.game.components.player.InventoryComponent
-
Returns the item's quantity
- getKey() - Method in class com.deco2800.game.components.maingame.OpenKeyBinds.KeyBind
- getKeyBindArea() - Static method in class com.deco2800.game.services.ServiceLocator
-
Returns the keybinding GameAreaDisplay element.
- getKeyBindOpen() - Method in class com.deco2800.game.components.player.OpenPauseComponent
-
Utility function to get keybind menu open status.
- getKeyBinds(int) - Method in class com.deco2800.game.components.maingame.OpenKeyBinds
-
Gets the KeyBinds associated with the keybinding pause menu page number.
- getKeyPos(int, int) - Method in class com.deco2800.game.components.maingame.OpenKeyBinds
- getLayer() - Method in class com.deco2800.game.areas.terrain.TerrainComponent
- getLayer() - Method in class com.deco2800.game.physics.components.ColliderComponent
- getLayer() - Method in interface com.deco2800.game.rendering.Renderable
-
Layer to be rendered in.
- getLayer() - Method in class com.deco2800.game.rendering.RenderComponent
- getLayer() - Method in class com.deco2800.game.ui.UIComponent
- getLevel() - Method in class com.deco2800.game.components.deathscreen.DeathScreenDisplay
-
Gets current level of game as passed in to the constructor
- getMainGameScreen() - Static method in class com.deco2800.game.services.ServiceLocator
- getMaleCitizenPosition() - Static method in class com.deco2800.game.areas.ForestGameArea
- getMana() - Method in class com.deco2800.game.components.CombatStatsComponent
-
Returns the entity's mana.
- getManaRegenerationRate() - Method in class com.deco2800.game.components.CombatStatsComponent
-
Gets the entity's mana regeneration rate.
- getMap() - Method in class com.deco2800.game.areas.terrain.TerrainComponent
- getMap() - Method in class com.deco2800.game.screens.MainGameScreen
-
Gets the games current map
- getMapBounds(int) - Method in class com.deco2800.game.areas.terrain.TerrainComponent
- getMapSize() - Static method in class com.deco2800.game.areas.terrain.TerrainFactory
-
Gets the map dimensions for external functions.
- getMaterials() - Method in class com.deco2800.game.components.combatitemscomponents.WeaponStatsComponent
-
Returns the materials required to craft the weapon
- getMaterials() - Method in class com.deco2800.game.components.DefensiveItemsComponents.ArmourStatsComponent
- getMaxMana() - Method in class com.deco2800.game.components.CombatStatsComponent
-
Gets the player's maximum mana
- getMaxSpeed() - Method in class com.deco2800.game.components.player.PlayerActions
-
Return the scalar max speed of the player.
- getMaxStamina() - Method in class com.deco2800.game.components.CombatStatsComponent
-
Gets the player's maximum stamina.
- getModified(String) - Method in class com.deco2800.game.components.player.PlayerModifier
-
Public function to return current modified value of a desired target.
- getModifiedMovement(Vector2) - Method in class com.deco2800.game.components.player.PlayerSkillComponent
-
Returns the modified movement vector based on base movement speed and the alterations of the skill state on the player movement.
- getModifiers() - Method in class com.deco2800.game.components.player.PlayerModifier
-
Public facing function to get modifier array for custom inspection.
- getMovementAnimation() - Method in class com.deco2800.game.components.player.PlayerAnimationController
-
Basic function to get the current movement animation.
- getMoving() - Method in interface com.deco2800.game.ai.movement.MovementController
- getMoving() - Method in class com.deco2800.game.physics.components.PhysicsMovementComponent
- getNumberOfListeners(String) - Method in class com.deco2800.game.events.EventHandler
-
Gets the number of listeners for an eventname.
- getNumKeys() - Method in class com.deco2800.game.components.maingame.OpenKeyBinds
-
Get the number of keys initialised.
- getObjects() - Method in class com.deco2800.game.areas.terrain.TerrainTile
-
Not required for game, unimplemented
- getOffsetX() - Method in class com.deco2800.game.areas.terrain.TerrainTile
- getOffsetY() - Method in class com.deco2800.game.areas.terrain.TerrainTile
- getOneLegGirlPosition() - Static method in class com.deco2800.game.areas.ForestGameArea
- getOpenKeyBinds() - Method in class com.deco2800.game.components.player.OpenPauseComponent
-
Return the OpenKeyBinds component this utilises
- getPauseMenuArea() - Static method in class com.deco2800.game.services.ServiceLocator
- getPauseOpen() - Method in class com.deco2800.game.components.player.OpenPauseComponent
-
Utility function to get pause menu open status.
- getPhyResistance() - Method in class com.deco2800.game.components.DefensiveItemsComponents.ArmourStatsComponent
- getPhysics() - Method in class com.deco2800.game.physics.PhysicsService
- getPhysicsService() - Static method in class com.deco2800.game.services.ServiceLocator
- getPlayer() - Method in class com.deco2800.game.areas.ForestGameArea
-
Get the player entity from the map.
- getPlayer() - Method in class com.deco2800.game.areas.GameArea
- getPlayer() - Method in class com.deco2800.game.areas.UndergroundGameArea
-
Get the player entity from the map.
- getPlayerActions() - Method in class com.deco2800.game.components.player.PlayerModifier
-
Public facing function to get PlayerActions of the modifier system.
- getPlayerGuidArea() - Static method in class com.deco2800.game.services.ServiceLocator
- getPlayerGuideMenu() - Method in class com.deco2800.game.components.gamearea.GameAreaDisplay
-
Returns the file path used for the playerGuideMenu background
- getPlayerGuideOpen() - Method in class com.deco2800.game.components.player.OpenPauseComponent
-
Utility function to get player guide menu open status.
- getPosition() - Method in class com.deco2800.game.entities.Entity
-
Get the entity's game position.
- getPossibleBuilds() - Static method in class com.deco2800.game.crafting.CraftingLogic
-
Returns the list of all possible builds the user can make with their given inventory.
- getPossibleWeapons() - Static method in class com.deco2800.game.crafting.CraftingLogic
-
Returns the list of all possible builds the user can make with their given inventory.
- getPotionEffect() - Method in class com.deco2800.game.components.player.PotionEffectComponent
-
Returns component effect
- getPotionIndex(Entity) - Method in class com.deco2800.game.components.player.InventoryComponent
-
Returns the index of the potion in the quickbar.
- getPriority() - Method in interface com.deco2800.game.ai.tasks.PriorityTask
- getPriority() - Method in class com.deco2800.game.components.tasks.ChaseTask
-
Get the priority of this task.
- getPriority() - Method in class com.deco2800.game.components.tasks.DeadTask
-
Get the priority of this task
- getPriority() - Method in class com.deco2800.game.components.tasks.JumpTask
-
Get the priority of this task.
- getPriority() - Method in class com.deco2800.game.components.tasks.ProjectileTask
-
Get the priority of this task
- getPriority() - Method in class com.deco2800.game.components.tasks.TransportTask
-
Get the priority of this task.
- getPriority() - Method in class com.deco2800.game.components.tasks.WanderTask
-
Get the priority of this task.
- getPriority() - Method in class com.deco2800.game.input.InputComponent
- getPriorityTasks() - Method in class com.deco2800.game.ai.tasks.AITaskComponent
-
Get task list
- getProgress() - Method in class com.deco2800.game.services.ResourceService
-
Returns the loading completion progress as a percentage.
- getProjectionMatrix() - Method in class com.deco2800.game.components.CameraComponent
- getProperties() - Method in class com.deco2800.game.areas.terrain.TerrainTile
-
Not required for game, unimplemented
- getQuickBarItems() - Method in class com.deco2800.game.components.player.InventoryComponent
-
Returns the current quick bar items
- getQuickBarQuantity() - Method in class com.deco2800.game.components.player.InventoryComponent
-
Returns the current quantity of all potions in the quick bar
- getQuitGameStatus() - Static method in class com.deco2800.game.components.maingame.PauseMenuActions
- getRawDeltaTime() - Method in class com.deco2800.game.services.GameTime
- getReference(String) - Method in class com.deco2800.game.components.player.PlayerModifier
-
Public function to return current reference value of a desired target.
- getRenderService() - Static method in class com.deco2800.game.services.ServiceLocator
- getResourceService() - Static method in class com.deco2800.game.services.ServiceLocator
- getScale() - Method in class com.deco2800.game.entities.Entity
-
Get the entity's scale.
- getSkillComponent() - Method in class com.deco2800.game.components.player.PlayerActions
-
Gets a reference to the skill subcomponent of playeractions.
- getSkillPoints() - Method in class com.deco2800.game.components.player.PlayerSkillComponent
- getStage() - Method in class com.deco2800.game.rendering.Renderer
- getStage() - Method in class com.deco2800.game.rendering.RenderService
- getStamina() - Method in class com.deco2800.game.components.CombatStatsComponent
-
Returns the entity's stamina.
- getStaminaRegenerationRate() - Method in class com.deco2800.game.components.CombatStatsComponent
-
Gets the entity's stamina regeneration rate.
- getStatus() - Method in class com.deco2800.game.ai.tasks.DefaultTask
- getStatus() - Method in interface com.deco2800.game.ai.tasks.Task
-
Get the current status of the task.
- getTarget() - Method in interface com.deco2800.game.ai.movement.MovementController
- getTarget() - Method in class com.deco2800.game.physics.components.PhysicsMovementComponent
- getTexture() - Method in class com.deco2800.game.rendering.TextureRenderComponent
-
Return the texture
- getTexturePath() - Method in class com.deco2800.game.rendering.TextureRenderComponent
-
Returns the file path of the texture
- getTextureRegion() - Method in class com.deco2800.game.areas.terrain.TerrainTile
- getTileSize() - Method in class com.deco2800.game.areas.terrain.TerrainComponent
- getTime() - Method in class com.deco2800.game.services.GameTime
- getTimeSince(long) - Method in class com.deco2800.game.services.GameTime
- getTimeSource() - Static method in class com.deco2800.game.services.ServiceLocator
- getTransitionTexture(int) - Static method in class com.deco2800.game.screens.LevelTransitionScreen
-
Public facing function to allow other components to get the string of a transition texture.
- getVitality() - Method in class com.deco2800.game.components.DefensiveItemsComponents.ArmourStatsComponent
- getWalkDirection() - Method in class com.deco2800.game.components.player.PlayerActions
- getWeaponStats() - Method in class com.deco2800.game.components.combatitemscomponents.WeaponAuraManager
- getWeight() - Method in class com.deco2800.game.components.combatitemscomponents.PhysicalWeaponStatsComponent
-
Returns the weight of the weapon
- getWeight() - Method in class com.deco2800.game.components.DefensiveItemsComponents.ArmourStatsComponent
- getWorld() - Method in class com.deco2800.game.physics.PhysicsEngine
- getZIndex() - Method in class com.deco2800.game.areas.terrain.TerrainComponent
- getZIndex() - Method in class com.deco2800.game.components.deathscreen.DeathScreenDisplay
- getZIndex() - Method in class com.deco2800.game.components.gamearea.PerformanceDisplay
- getZIndex() - Method in class com.deco2800.game.components.leveltransition.LevelTransitionDisplay
- getZIndex() - Method in class com.deco2800.game.components.maingame.DialogueDisplay
- getZIndex() - Method in class com.deco2800.game.components.maingame.MainGameExitDisplay
- getZIndex() - Method in class com.deco2800.game.components.mainmenu.MainMenuDisplay
- getZIndex() - Method in class com.deco2800.game.components.mainmenu.MainMenuDisplayProMax
- getZIndex() - Method in class com.deco2800.game.components.mainmenu.MainMenuTransitionAnimation
- getZIndex() - Method in interface com.deco2800.game.rendering.Renderable
-
Z index controls rendering order within a layer.
- getZIndex() - Method in class com.deco2800.game.rendering.RenderComponent
- getZIndex() - Method in class com.deco2800.game.SkillsTree.SkillsTreeDisplay
- getZIndex() - Method in class com.deco2800.game.ui.terminal.TerminalDisplay
- getZIndex() - Method in class com.deco2800.game.ui.UIComponent
- gold - Variable in class com.deco2800.game.entities.configs.PlayerConfig
- Gold - Enum constant in enum class com.deco2800.game.crafting.Materials
- GOLD - Enum constant in enum class com.deco2800.game.entities.factories.EntityTypes
- goldenPlungerBow - Variable in class com.deco2800.game.entities.configs.combatitemsconfig.WeaponConfigSetup
- GridPoint2Utils - Class in com.deco2800.game.utils.math
-
Contains additional utility constants and functions for common GridPoint2 operations.
- GridPointToVector(GridPoint2) - Static method in class com.deco2800.game.areas.ForestGameArea
- guard - Variable in class com.deco2800.game.entities.configs.NPCConfigs
- GUARD - Enum constant in enum class com.deco2800.game.entities.factories.EntityTypes
- GuardConfig - Class in com.deco2800.game.entities.configs
-
Defines the properties stored in guard config files to be loaded by the NPC Factory.
- GuardConfig() - Constructor for class com.deco2800.game.entities.configs.GuardConfig
- GuardDialoguePosition - Static variable in class com.deco2800.game.areas.UndergroundGameArea
- GuardPosition - Static variable in class com.deco2800.game.areas.UndergroundGameArea
- gymBro - Static variable in class com.deco2800.game.entities.configs.NPCConfigs
- GymBroAnimationController - Class in com.deco2800.game.components.npc
-
This class listens to events relevant to a gym bro entity's state and plays the animation when one of the events is triggered.
- GymBroAnimationController() - Constructor for class com.deco2800.game.components.npc.GymBroAnimationController
- GymBroConfig - Class in com.deco2800.game.entities.configs
-
The statistics that make up the configuration of the Atlantis Citizen enemy.
- GymBroConfig() - Constructor for class com.deco2800.game.entities.configs.GymBroConfig
H
- handle() - Method in interface com.deco2800.game.events.listeners.EventListener0
- handle(T) - Method in interface com.deco2800.game.events.listeners.EventListener1
- handle(T0, T1) - Method in interface com.deco2800.game.events.listeners.EventListener2
- handle(T0, T1, T2) - Method in interface com.deco2800.game.events.listeners.EventListener3
- handleBackspace() - Method in class com.deco2800.game.ui.terminal.Terminal
-
Removes the last character of the entered message.
- hasAnimation(String) - Method in class com.deco2800.game.rendering.AnimationRenderComponent
-
Whether the animator has added the given animation.
- hashCode() - Method in class com.deco2800.game.entities.Entity
-
Get the hashcode of this entity.
- hasItem(Entity, List<Entity>) - Method in class com.deco2800.game.components.player.InventoryComponent
-
Checks if there is an item with the same type in the storage
- haveTalked - Variable in class com.deco2800.game.components.npc.DialogueDisplay
- haveTalkedFriendlyCreature - Variable in class com.deco2800.game.components.npc.DialogueDisplay
- haveTalkedPlumberFriend - Variable in class com.deco2800.game.components.npc.DialogueDisplay
- health - Variable in class com.deco2800.game.entities.configs.BaseEntityConfig
- HEALTH - Static variable in class com.deco2800.game.components.player.PlayerModifier
- HEALTHGYMBRO - Static variable in class com.deco2800.game.entities.configs.GymBroConfig
- HEALTHHERACLES - Static variable in class com.deco2800.game.entities.configs.HeraclesConfig
- HEALTHPOOPS - Static variable in class com.deco2800.game.entities.configs.PoopsConfig
- height - Variable in class com.deco2800.game.files.UserSettings.DisplaySettings
- heraAthenaDag - Variable in class com.deco2800.game.entities.configs.combatitemsconfig.WeaponConfigSetup
- heracles - Static variable in class com.deco2800.game.entities.configs.NPCConfigs
- HeraclesAnimationController - Class in com.deco2800.game.components.npc
-
This class listens to events relevant to Heracles' state and plays the animation when one of the events is triggered.
- HeraclesAnimationController() - Constructor for class com.deco2800.game.components.npc.HeraclesAnimationController
- HeraclesConfig - Class in com.deco2800.game.entities.configs
-
The statistics that make up the configuration of Heracles, the level 1 boss.
- HeraclesConfig() - Constructor for class com.deco2800.game.entities.configs.HeraclesConfig
- heraDag - Variable in class com.deco2800.game.entities.configs.combatitemsconfig.WeaponConfigSetup
- HerraDag - Enum constant in enum class com.deco2800.game.crafting.Materials
- HEXAGONAL - Enum constant in enum class com.deco2800.game.areas.terrain.TerrainComponent.TerrainOrientation
- hideDialogue() - Method in class com.deco2800.game.components.npc.DialogueDisplay
- hit - Variable in class com.deco2800.game.physics.raycast.SingleHitCallback
- hit(CombatStatsComponent) - Method in class com.deco2800.game.components.CombatStatsComponent
-
Reduce entity health due to an attack.
- hitBleed(Entity) - Method in class com.deco2800.game.components.player.PlayerSkillComponent
-
Apply bleed effect to enemy
- HitboxComponent - Class in com.deco2800.game.physics.components
-
Physics comp
- HitboxComponent() - Constructor for class com.deco2800.game.physics.components.HitboxComponent
- hitRoot(Entity) - Method in class com.deco2800.game.components.player.PlayerSkillComponent
-
Apply root effect to enemy
- humanguard - Variable in class com.deco2800.game.entities.configs.NPCConfigs
- HUMANGUARD - Enum constant in enum class com.deco2800.game.entities.factories.EntityTypes
- HumanGuardConfig - Class in com.deco2800.game.entities.configs
-
Defines the properties stored in child config files to be loaded by the NPC Factory.
- HumanGuardConfig() - Constructor for class com.deco2800.game.entities.configs.HumanGuardConfig
- HumanGuardDialoguePosition - Static variable in class com.deco2800.game.areas.ForestGameArea
- HumanGuardPosition - Static variable in class com.deco2800.game.areas.ForestGameArea
I
- ifHeraclesOnMap() - Static method in class com.deco2800.game.areas.ForestGameArea
-
Check if Heracles is alive on map
- ifMegaPoopOnMap() - Static method in class com.deco2800.game.areas.UndergroundGameArea
-
Check if Mega Poop is alive on map
- INACTIVE - Enum constant in enum class com.deco2800.game.ai.tasks.Task.Status
- incrementPauseCounter() - Static method in class com.deco2800.game.components.player.KeyboardPlayerInputComponent
- initialiseInventoryDisplay() - Method in class com.deco2800.game.components.gamearea.GameAreaDisplay
-
Load the all assets required for displaying inventory
- InputComponent - Class in com.deco2800.game.input
-
An InputComponent that supports keyboard and touch input and touch gestures.
- InputComponent() - Constructor for class com.deco2800.game.input.InputComponent
-
Sets priority to the default value;
- InputComponent(int) - Constructor for class com.deco2800.game.input.InputComponent
-
Sets input handler priority to a given value.
- InputDecorator - Class in com.deco2800.game.input
-
Generic class to wrap an InputProcessor so that it acts like an InputComponent.
- InputDecorator(InputProcessor, int) - Constructor for class com.deco2800.game.input.InputDecorator
- InputFactory - Class in com.deco2800.game.input
-
InputFactory creates inputType-specific inputFactories which can handle various types of input.
- InputFactory() - Constructor for class com.deco2800.game.input.InputFactory
- InputFactory.InputType - Enum Class in com.deco2800.game.input
-
Input device types
- InputService - Class in com.deco2800.game.input
-
Provides a global access point for handling user input and creating input handlers.
- InputService() - Constructor for class com.deco2800.game.input.InputService
- InputService(InputFactory) - Constructor for class com.deco2800.game.input.InputService
- inRange(Vector2) - Method in class com.deco2800.game.components.player.OpenCraftingComponent
- INTERNAL - Enum constant in enum class com.deco2800.game.files.FileLoader.Location
- INVENTORY - Enum constant in enum class com.deco2800.game.components.player.KeyboardPlayerInputComponent.MenuTypes
- InventoryComponent - Class in com.deco2800.game.components.player
-
A component intended to be used by the player to track their inventory.
- InventoryComponent() - Constructor for class com.deco2800.game.components.player.InventoryComponent
- INVULNERABILITY - Enum constant in enum class com.deco2800.game.components.player.PlayerSkillComponent.SkillTypes
- invulnerabilitySkill() - Method in class com.deco2800.game.components.player.PlayerActions
- Iron - Enum constant in enum class com.deco2800.game.crafting.Materials
- IRON - Enum constant in enum class com.deco2800.game.entities.factories.EntityTypes
- isBleeding() - Method in class com.deco2800.game.components.player.PlayerSkillComponent
-
Checks if the enemy has bleeding applied
- isBlocking() - Method in class com.deco2800.game.components.player.PlayerSkillComponent
-
Checks if the player is in the block skill state
- isCharging() - Method in class com.deco2800.game.components.player.PlayerSkillComponent
-
Checks if the player is in the charge skill state
- isChargingUp() - Method in class com.deco2800.game.components.player.PlayerSkillComponent
-
Checks if the player is in the charge up skill state
- isDashing() - Method in class com.deco2800.game.components.player.PlayerSkillComponent
-
Checks if the player is in the dash skill state
- isDead() - Method in class com.deco2800.game.components.CombatStatsComponent
-
Returns true if the entity's has 0 health, otherwise false.
- isDead() - Method in class com.deco2800.game.entities.Entity
-
A method that returns true if dead and false if not
- isDodging() - Method in class com.deco2800.game.components.player.PlayerSkillComponent
-
Checks if the player is in the dodge skill state
- isFinished() - Method in class com.deco2800.game.rendering.AnimationRenderComponent
-
Has the playing animation finished? This will always be false for looping animations.
- isInvulnerable() - Method in class com.deco2800.game.components.player.PlayerSkillComponent
-
Checks the skill state for invulnerability as a result of a player skill.
- ISOMETRIC - Enum constant in enum class com.deco2800.game.areas.terrain.TerrainComponent.TerrainOrientation
- isOpen() - Method in class com.deco2800.game.ui.terminal.Terminal
- isRooted() - Method in class com.deco2800.game.components.player.PlayerSkillComponent
-
Checks if the enemy has rooted applied
- isTeleporting() - Method in class com.deco2800.game.components.player.PlayerSkillComponent
-
Checks if the player is in the teleport skill state
- isTimeStopped() - Static method in class com.deco2800.game.entities.EntityService
- itemEquals(Entity, Entity) - Method in class com.deco2800.game.components.player.InventoryComponent
-
Check if two items are the same kind
- ItemPickupComponent - Class in com.deco2800.game.components
-
Generic pickup component for all items.
- ItemPickupComponent(short) - Constructor for class com.deco2800.game.components.ItemPickupComponent
-
Creates a component which allows an entity to be picked up from the map and put in inventory
- iterator() - Method in class com.deco2800.game.utils.SortedIntMap
J
- JobSystem - Class in com.deco2800.game.concurrency
-
A job system provides a general-purpose way to run multi-threaded code.
- JumpTask - Class in com.deco2800.game.components.tasks
-
Jump to an entity and attack it if it is still in attacking range.
- JumpTask(Entity, int, float, float, float) - Constructor for class com.deco2800.game.components.tasks.JumpTask
-
Create a JumpTask with target, attack range, gliding speed and knock back distance.
- jUnitAddActors() - Method in class com.deco2800.game.components.leveltransition.LevelTransitionDisplay
-
Purposely near identical addActors function specifically made for passing failing Junit tests run on the GitHub.
- jUnitCreate() - Method in class com.deco2800.game.components.leveltransition.LevelTransitionDisplay
-
Special JUnit create function to avoid GitHub exceptions.
- jUnitUpdate() - Method in class com.deco2800.game.components.leveltransition.LevelTransitionDisplay
-
Custom Junit exclusive update testing function.
K
- KEY_OFFSET_X - Static variable in class com.deco2800.game.components.maingame.OpenKeyBinds
- KEY_OFFSET_Y - Static variable in class com.deco2800.game.components.maingame.OpenKeyBinds
- KeyBind(String, String, String, String) - Constructor for class com.deco2800.game.components.maingame.OpenKeyBinds.KeyBind
- KEYBOARD - Enum constant in enum class com.deco2800.game.input.InputFactory.InputType
- KeyboardInputFactory - Class in com.deco2800.game.input
-
KeyboardInputFactory creates input handlers that process keyboard and touch support.
- KeyboardInputFactory() - Constructor for class com.deco2800.game.input.KeyboardInputFactory
- KeyboardPlayerInputComponent - Class in com.deco2800.game.components.player
-
Input handler for the player for keyboard and touch (mouse) input.
- KeyboardPlayerInputComponent() - Constructor for class com.deco2800.game.components.player.KeyboardPlayerInputComponent
- KeyboardPlayerInputComponent.MenuTypes - Enum Class in com.deco2800.game.components.player
- KeyboardTerminalInputComponent - Class in com.deco2800.game.ui.terminal
-
Input handler for the debug terminal for keyboard and touch (mouse) input.
- KeyboardTerminalInputComponent() - Constructor for class com.deco2800.game.ui.terminal.KeyboardTerminalInputComponent
- KeyboardTerminalInputComponent(Terminal) - Constructor for class com.deco2800.game.ui.terminal.KeyboardTerminalInputComponent
- keyDown(int) - Method in class com.deco2800.game.components.leveltransition.TransitionInputComponent
-
Triggers player events on specific keycodes.
- keyDown(int) - Method in class com.deco2800.game.components.mainmenu.MainMenuTransitionComponent
- keyDown(int) - Method in class com.deco2800.game.components.npc.DialogueKeybordInputComponent
- keyDown(int) - Method in class com.deco2800.game.components.player.KeyboardPlayerInputComponent
-
Triggers player events on specific keycodes.
- keyDown(int) - Method in class com.deco2800.game.components.player.TouchPlayerInputComponent
-
Triggers player events on specific keycodes.
- keyDown(int) - Method in class com.deco2800.game.input.InputComponent
- keyDown(int) - Method in class com.deco2800.game.input.InputDecorator
- keyDown(int) - Method in class com.deco2800.game.input.InputService
-
Iterates over registered input handlers in descending priority and stops as soon as the input is processed.
- keyDown(int) - Method in class com.deco2800.game.ui.terminal.KeyboardTerminalInputComponent
-
If the toggle key is pressed, the terminal will open / close.
- keyDown(int) - Method in class com.deco2800.game.ui.terminal.TouchTerminalInputComponent
-
Handles input if the terminal is open.
- keyPrompt(Fixture, Fixture) - Method in class com.deco2800.game.components.player.PlayerKeyPrompt
-
This function is used for guiding the user to press the relevant key to interact with the entity
- KEYS_PER_PAGE - Static variable in class com.deco2800.game.components.maingame.OpenKeyBinds
- keyTyped(char) - Method in class com.deco2800.game.input.InputComponent
- keyTyped(char) - Method in class com.deco2800.game.input.InputDecorator
- keyTyped(char) - Method in class com.deco2800.game.input.InputService
-
Iterates over registered input handlers in descending priority and stops as soon as the input is processed
- keyTyped(char) - Method in class com.deco2800.game.ui.terminal.KeyboardTerminalInputComponent
-
Handles input if the terminal is open.
- keyTyped(char) - Method in class com.deco2800.game.ui.terminal.TouchTerminalInputComponent
-
Handles input if the terminal is open.
- keyUp(int) - Method in class com.deco2800.game.components.player.KeyboardPlayerInputComponent
-
Triggers player events on specific keycodes.
- keyUp(int) - Method in class com.deco2800.game.components.player.TouchPlayerInputComponent
-
Triggers player events on specific keycodes.
- keyUp(int) - Method in class com.deco2800.game.input.InputComponent
- keyUp(int) - Method in class com.deco2800.game.input.InputDecorator
- keyUp(int) - Method in class com.deco2800.game.input.InputService
-
Iterates over registered input handlers in descending priority and stops as soon as the input is processed
- keyUp(int) - Method in class com.deco2800.game.ui.terminal.KeyboardTerminalInputComponent
-
Handles input if the terminal is open.
- keyUp(int) - Method in class com.deco2800.game.ui.terminal.TouchTerminalInputComponent
-
Handles input if the terminal is open.
L
- launch(Supplier<T>) - Static method in class com.deco2800.game.concurrency.JobSystem
-
Launch an asynchronous job which may be run on a separate thread.
- launchBlocking(Supplier<T>) - Static method in class com.deco2800.game.concurrency.JobSystem
-
Launch an asynchronous job which may be run on a separate thread.
- layerMask - Variable in class com.deco2800.game.physics.raycast.AllHitCallback
- layerMask - Variable in class com.deco2800.game.physics.raycast.SingleHitCallback
- LEFT - Enum constant in enum class com.deco2800.game.physics.components.PhysicsComponent.AlignX
- LEFT - Static variable in class com.deco2800.game.utils.math.Vector2Utils
- LEVEL_ONE - Enum constant in enum class com.deco2800.game.areas.terrain.TerrainFactory.TerrainType
- LEVEL_TRANSITION - Enum constant in enum class com.deco2800.game.GdxGame.ScreenType
- LEVEL_TWO - Enum constant in enum class com.deco2800.game.areas.terrain.TerrainFactory.TerrainType
- levelBackground() - Method in class com.deco2800.game.components.deathscreen.DeathScreenDisplay
-
Adjusts DeathScreens background image based on given level, it checks what value the level is and outputs the appropriate level background image
- LevelTransitionActions - Class in com.deco2800.game.components.leveltransition
-
This class listens to events relevant to the Main Menu Screen and does something when one of the events is triggered.
- LevelTransitionActions(GdxGame) - Constructor for class com.deco2800.game.components.leveltransition.LevelTransitionActions
- LevelTransitionDisplay - Class in com.deco2800.game.components.leveltransition
-
A ui component for displaying the Transition Screen.
- LevelTransitionDisplay() - Constructor for class com.deco2800.game.components.leveltransition.LevelTransitionDisplay
-
Created purely for the appeasement of the JUnit tests on GitHub.
- LevelTransitionScreen - Class in com.deco2800.game.screens
-
The game screen containing the main menu.
- LevelTransitionScreen(GdxGame) - Constructor for class com.deco2800.game.screens.LevelTransitionScreen
-
Level Transition constructor
- loadAll() - Method in class com.deco2800.game.services.ResourceService
-
Blocking call to load all assets.
- loadAssets() - Static method in class com.deco2800.game.screens.LevelTransitionScreen
-
Load individual animation screens for the level transition.
- loadForMillis(int) - Method in class com.deco2800.game.services.ResourceService
-
Loads assets for the specified duration in milliseconds.
- loadMusic(String[]) - Method in class com.deco2800.game.services.ResourceService
-
Loads a list of music assets into the asset manager.
- loadSounds(String[]) - Method in class com.deco2800.game.services.ResourceService
-
Loads a list of sounds into the asset manager.
- loadTextureAtlases(String[]) - Method in class com.deco2800.game.services.ResourceService
-
Loads a list of texture atlas assets into the asset manager.
- loadTextures(String[]) - Method in class com.deco2800.game.services.ResourceService
-
Loads a list of texture assets into the asset manager.
- LOCAL - Enum constant in enum class com.deco2800.game.files.FileLoader.Location
- longPress(float, float) - Method in class com.deco2800.game.input.InputComponent
- longPress(float, float) - Method in class com.deco2800.game.input.InputService
-
Iterates over registered input handlers in descending priority and stops as soon as the input is processed
M
- MAIN_GAME - Enum constant in enum class com.deco2800.game.GdxGame.ScreenType
- MAIN_MENU - Enum constant in enum class com.deco2800.game.GdxGame.ScreenType
- MainGameActions - Class in com.deco2800.game.components.maingame
-
This class listens to events relevant to the Main Game Screen and does something when one of the events is triggered.
- MainGameActions(GdxGame) - Constructor for class com.deco2800.game.components.maingame.MainGameActions
- MainGameExitDisplay - Class in com.deco2800.game.components.maingame
-
Displays a button to exit the Main Game screen to the Main Menu screen.
- MainGameExitDisplay() - Constructor for class com.deco2800.game.components.maingame.MainGameExitDisplay
- MainGameScreen - Class in com.deco2800.game.screens
-
The game screen containing the main game.
- MainGameScreen(GdxGame, int) - Constructor for class com.deco2800.game.screens.MainGameScreen
- MainMenuActions - Class in com.deco2800.game.components.mainmenu
-
This class listens to events relevant to the Main Menu Screen and does something when one of the events is triggered.
- MainMenuActions(GdxGame) - Constructor for class com.deco2800.game.components.mainmenu.MainMenuActions
- MainMenuDisplay - Class in com.deco2800.game.components.mainmenu
-
A ui component for displaying the Main menu.
- MainMenuDisplay() - Constructor for class com.deco2800.game.components.mainmenu.MainMenuDisplay
- MainMenuDisplayProMax - Class in com.deco2800.game.components.mainmenu
- MainMenuDisplayProMax() - Constructor for class com.deco2800.game.components.mainmenu.MainMenuDisplayProMax
- MainMenuScreen - Class in com.deco2800.game.screens
-
The game screen containing the main menu.
- MainMenuScreen(GdxGame) - Constructor for class com.deco2800.game.screens.MainMenuScreen
- MainMenuTransitionAnimation - Class in com.deco2800.game.components.mainmenu
- MainMenuTransitionAnimation() - Constructor for class com.deco2800.game.components.mainmenu.MainMenuTransitionAnimation
- MainMenuTransitionComponent - Class in com.deco2800.game.components.mainmenu
- MainMenuTransitionComponent() - Constructor for class com.deco2800.game.components.mainmenu.MainMenuTransitionComponent
- MainMenuTransitionScreen - Class in com.deco2800.game.screens
- MainMenuTransitionScreen(GdxGame) - Constructor for class com.deco2800.game.screens.MainMenuTransitionScreen
- MALE - Enum constant in enum class com.deco2800.game.entities.factories.EntityTypes
- maleCitizen - Variable in class com.deco2800.game.entities.configs.NPCConfigs
- maleCitizenConfig - Class in com.deco2800.game.entities.configs
-
Defines the properties stored in male config files to be loaded by the NPC Factory.
- maleCitizenConfig() - Constructor for class com.deco2800.game.entities.configs.maleCitizenConfig
- maleCitizenDialoguePosition - Static variable in class com.deco2800.game.areas.ForestGameArea
- maleCitizenPosition - Static variable in class com.deco2800.game.areas.ForestGameArea
- mana - Variable in class com.deco2800.game.entities.configs.BaseEntityConfig
- mana - Variable in class com.deco2800.game.entities.configs.PlayerConfig
- MANAMAX - Static variable in class com.deco2800.game.components.player.PlayerModifier
- MANAREGEN - Static variable in class com.deco2800.game.components.player.PlayerModifier
- MaterialFactory - Class in com.deco2800.game.entities.factories
-
Factory style class used for creating materials of each type with certain components and base images.
- materials - Variable in class com.deco2800.game.components.combatitemscomponents.WeaponStatsComponent
- materials - Variable in class com.deco2800.game.components.DefensiveItemsComponents.ArmourConfig
- materials - Variable in class com.deco2800.game.components.DefensiveItemsComponents.ArmourStatsComponent
- materials - Variable in class com.deco2800.game.entities.configs.combatitemsconfig.WeaponConfig
- Materials - Enum Class in com.deco2800.game.crafting
-
Public enum that contains all the possible base materials that could be used for crafting items.
- MAX - Static variable in class com.deco2800.game.utils.math.Vector2Utils
- megaPoop - Static variable in class com.deco2800.game.entities.configs.NPCConfigs
- MEGAPOOP - Enum constant in enum class com.deco2800.game.entities.factories.EntityTypes
- MegaPoopAnimationController - Class in com.deco2800.game.components.npc
-
This class listens to events relevant to a Mega Poop entity's state and plays the animation when one of the events is triggered.
- MegaPoopAnimationController() - Constructor for class com.deco2800.game.components.npc.MegaPoopAnimationController
- MegaPoopConfig - Class in com.deco2800.game.entities.configs
-
The statistics that make up the configuration of Mega Poop, the level 2 boss.
- MegaPoopConfig() - Constructor for class com.deco2800.game.entities.configs.MegaPoopConfig
- MELEE - Enum constant in enum class com.deco2800.game.entities.factories.EntityTypes
- MENU_TRANSITION - Enum constant in enum class com.deco2800.game.GdxGame.ScreenType
- MenuComponent - Class in com.deco2800.game.components
- MenuComponent() - Constructor for class com.deco2800.game.components.MenuComponent
- MIN - Static variable in class com.deco2800.game.utils.math.Vector2Utils
- MINIMAP - Enum constant in enum class com.deco2800.game.components.player.KeyboardPlayerInputComponent.MenuTypes
- minimapImage - Variable in class com.deco2800.game.components.gamearea.GameAreaDisplay
- Modifier(String, float, float, boolean, int) - Constructor for class com.deco2800.game.components.player.PlayerModifier.Modifier
- mouseMoved(int, int) - Method in class com.deco2800.game.input.InputComponent
- mouseMoved(int, int) - Method in class com.deco2800.game.input.InputDecorator
- mouseMoved(int, int) - Method in class com.deco2800.game.input.InputService
-
Iterates over registered input handlers in descending priority and stops as soon as the input is processed
- MOVEDOWN - Static variable in class com.deco2800.game.components.player.PlayerAnimationController
- MOVEIDLE - Static variable in class com.deco2800.game.components.player.PlayerAnimationController
- MOVELEFT - Static variable in class com.deco2800.game.components.player.PlayerAnimationController
- MOVELEFTDOWN - Static variable in class com.deco2800.game.components.player.PlayerAnimationController
- MOVELEFTUP - Static variable in class com.deco2800.game.components.player.PlayerAnimationController
- MovementController - Interface in com.deco2800.game.ai.movement
-
A movement controller moves something to a given a target.
- movementIsModified() - Method in class com.deco2800.game.components.player.PlayerSkillComponent
-
Checks if the movement of the player entity should be altered based on skill state.
- movementSpeed - Variable in class com.deco2800.game.entities.configs.PlugConfig
- MovementTask - Class in com.deco2800.game.components.tasks
-
Move to a given position, finishing when you get close enough.
- MovementTask(Vector2) - Constructor for class com.deco2800.game.components.tasks.MovementTask
-
Create movement task
- MovementTask(Vector2, float) - Constructor for class com.deco2800.game.components.tasks.MovementTask
-
Create movement task
- MovementTask(Vector2, float, float) - Constructor for class com.deco2800.game.components.tasks.MovementTask
-
Create movement task
- MOVERIGHT - Static variable in class com.deco2800.game.components.player.PlayerAnimationController
- MOVERIGHTDOWN - Static variable in class com.deco2800.game.components.player.PlayerAnimationController
- MOVERIGHTUP - Static variable in class com.deco2800.game.components.player.PlayerAnimationController
- moveSpeed - Variable in class com.deco2800.game.entities.configs.PlayerConfig
- MOVESPEED - Static variable in class com.deco2800.game.components.player.PlayerModifier
- MOVEUP - Static variable in class com.deco2800.game.components.player.PlayerAnimationController
N
- nextText() - Method in class com.deco2800.game.components.npc.DialogueDisplay
- NONE - Enum constant in enum class com.deco2800.game.components.player.KeyboardPlayerInputComponent.MenuTypes
- NONE - Enum constant in enum class com.deco2800.game.components.player.PlayerSkillComponent.SkillTypes
- NONE - Static variable in class com.deco2800.game.physics.PhysicsLayer
- normal - Variable in class com.deco2800.game.physics.raycast.RaycastHit
-
the normal vector of the collider surface at the hit point.
- NPC - Enum constant in enum class com.deco2800.game.entities.factories.EntityTypes
- NPC - Static variable in class com.deco2800.game.physics.PhysicsLayer
- NPCAnimationController - Class in com.deco2800.game.components.npc
- NPCAnimationController() - Constructor for class com.deco2800.game.components.npc.NPCAnimationController
- NPCConfigs - Class in com.deco2800.game.entities.configs
-
Defines all NPC configs to be loaded by the NPC Factory.
- NPCConfigs() - Constructor for class com.deco2800.game.entities.configs.NPCConfigs
- NPCFactory - Class in com.deco2800.game.entities.factories
-
Factory to create non-playable character (NPC) entities with predefined components.
- NPCFactory() - Constructor for class com.deco2800.game.entities.factories.NPCFactory
O
- object - Variable in class com.deco2800.game.utils.StringDecorator
- OBSTACLE - Static variable in class com.deco2800.game.physics.PhysicsLayer
- ObstacleFactory - Class in com.deco2800.game.entities.factories
-
Factory to create obstacle entities.
- ONE - Static variable in class com.deco2800.game.utils.math.Vector2Utils
- oneLegGirl - Variable in class com.deco2800.game.entities.configs.NPCConfigs
- oneLegGirlDialoguePosition - Static variable in class com.deco2800.game.areas.ForestGameArea
- oneLegGirlPosition - Static variable in class com.deco2800.game.areas.ForestGameArea
- onExit() - Method in class com.deco2800.game.components.maingame.MainGameActions
-
Swaps to the Main Menu screen and clears the pause game status.
- openCrafting() - Method in class com.deco2800.game.components.player.OpenCraftingComponent
- OpenCraftingComponent - Class in com.deco2800.game.components.player
- OpenCraftingComponent() - Constructor for class com.deco2800.game.components.player.OpenCraftingComponent
- openCraftingMenu() - Method in class com.deco2800.game.components.gamearea.GameAreaDisplay
-
Opens an overlay crafting menu when 'Q' is pressed.
- openDialogue() - Method in class com.deco2800.game.components.npc.DialogueDisplay
- openKeyBindings() - Method in class com.deco2800.game.components.player.OpenPauseComponent
-
Utility function to OPEN key binding window.
- OpenKeyBinds - Class in com.deco2800.game.components.maingame
- OpenKeyBinds() - Constructor for class com.deco2800.game.components.maingame.OpenKeyBinds
- OpenKeyBinds.KeyBind - Class in com.deco2800.game.components.maingame
- OpenPauseComponent - Class in com.deco2800.game.components.player
- OpenPauseComponent() - Constructor for class com.deco2800.game.components.player.OpenPauseComponent
- openPauseMenu() - Method in class com.deco2800.game.components.player.OpenPauseComponent
-
Utility function to OPEN pause window and PAUSE the game.
- openPlayerGuide(int, int) - Method in class com.deco2800.game.components.player.OpenPauseComponent
-
Open the player guide menu and appropriately set the information page and asset based on the given pageNumber and level.
- ORTHOGONAL - Enum constant in enum class com.deco2800.game.areas.terrain.TerrainComponent.TerrainOrientation
- owner - Variable in class com.deco2800.game.ai.tasks.DefaultTask
P
- pan(float, float, float, float) - Method in class com.deco2800.game.input.InputComponent
- pan(float, float, float, float) - Method in class com.deco2800.game.input.InputService
-
Iterates over registered input handlers in descending priority and stops as soon as the input is processed
- panStop(float, float, int, int) - Method in class com.deco2800.game.input.InputComponent
- panStop(float, float, int, int) - Method in class com.deco2800.game.input.InputService
-
Iterates over registered input handlers in descending priority and stops as soon as the input is processed
- pause() - Method in class com.deco2800.game.screens.DeathScreen
- pause() - Method in class com.deco2800.game.screens.MainGameScreen
- pause() - Method in class com.deco2800.game.screens.MainMenuScreen
- pauseAndResume() - Static method in class com.deco2800.game.entities.EntityService
-
Pause and resume the game.
- pauseCheck() - Static method in class com.deco2800.game.entities.EntityService
-
Check if the game is currently paused.
- pauseGame() - Static method in class com.deco2800.game.entities.EntityService
-
Pause the game.
- PAUSEMENU - Enum constant in enum class com.deco2800.game.components.player.KeyboardPlayerInputComponent.MenuTypes
- PauseMenuActions - Class in com.deco2800.game.components.maingame
- PauseMenuActions() - Constructor for class com.deco2800.game.components.maingame.PauseMenuActions
- PerformanceDisplay - Class in com.deco2800.game.components.gamearea
-
Displays performance stats about the game for debugging purposes.
- PerformanceDisplay() - Constructor for class com.deco2800.game.components.gamearea.PerformanceDisplay
- pet - Variable in class com.deco2800.game.entities.configs.NPCConfigs
- phyResistance - Variable in class com.deco2800.game.components.DefensiveItemsComponents.ArmourConfig
- phyResistance - Variable in class com.deco2800.game.components.DefensiveItemsComponents.ArmourStatsComponent
- PhysicalWeaponStatsComponent - Class in com.deco2800.game.components.combatitemscomponents
-
Component used to store information and methods related to combat for melee weapons.
- PhysicalWeaponStatsComponent(double, double, Map<Materials, Integer>, double, String) - Constructor for class com.deco2800.game.components.combatitemscomponents.PhysicalWeaponStatsComponent
- PhysicsComponent - Class in com.deco2800.game.physics.components
-
Lets an entity be controlled by physics.
- PhysicsComponent() - Constructor for class com.deco2800.game.physics.components.PhysicsComponent
-
Create a physics component with default settings.
- PhysicsComponent(PhysicsEngine) - Constructor for class com.deco2800.game.physics.components.PhysicsComponent
-
Create a physics component
- PhysicsComponent.AlignX - Enum Class in com.deco2800.game.physics.components
- PhysicsComponent.AlignY - Enum Class in com.deco2800.game.physics.components
- PhysicsContactListener - Class in com.deco2800.game.physics
-
Box2D collision events fire globally on the physics world, not per-object.
- PhysicsContactListener() - Constructor for class com.deco2800.game.physics.PhysicsContactListener
- PhysicsEngine - Class in com.deco2800.game.physics
-
Process game physics using the Box2D library.
- PhysicsEngine() - Constructor for class com.deco2800.game.physics.PhysicsEngine
- PhysicsEngine(World, GameTime) - Constructor for class com.deco2800.game.physics.PhysicsEngine
- PhysicsLayer - Class in com.deco2800.game.physics
- PhysicsMovementComponent - Class in com.deco2800.game.physics.components
-
Movement controller for a physics-based entity.
- PhysicsMovementComponent() - Constructor for class com.deco2800.game.physics.components.PhysicsMovementComponent
- PhysicsService - Class in com.deco2800.game.physics
-
Provides a global access point to the physics engine.
- PhysicsService() - Constructor for class com.deco2800.game.physics.PhysicsService
- PhysicsService(PhysicsEngine) - Constructor for class com.deco2800.game.physics.PhysicsService
- PhysicsUtils - Class in com.deco2800.game.physics
- pickUpJunit(Fixture, Fixture) - Method in class com.deco2800.game.components.ItemPickupComponent
-
Pickup function used purely for Junit testing only.
- pinch(Vector2, Vector2, Vector2, Vector2) - Method in class com.deco2800.game.input.InputComponent
- pinch(Vector2, Vector2, Vector2, Vector2) - Method in class com.deco2800.game.input.InputService
-
Iterates over registered input handlers in descending priority and stops as soon as the input is processed
- pinchStop() - Method in class com.deco2800.game.input.InputComponent
- pinchStop() - Method in class com.deco2800.game.input.InputService
-
Iterates over registered input handlers in descending priority and stops as soon as the input is processed
- pinchStopHandled() - Method in class com.deco2800.game.input.InputComponent
-
Wrapper for pinch stop that can be overridden.
- pipe - Variable in class com.deco2800.game.entities.configs.combatitemsconfig.WeaponConfigSetup
- Plastic - Enum constant in enum class com.deco2800.game.crafting.Materials
- PLASTIC - Enum constant in enum class com.deco2800.game.entities.factories.EntityTypes
- Platinum - Enum constant in enum class com.deco2800.game.crafting.Materials
- PLATINUM - Enum constant in enum class com.deco2800.game.entities.factories.EntityTypes
- playAttackAnimation(Entity, Entity) - Method in class com.deco2800.game.components.player.PlayerTouchAttackComponent
-
Plays attack animation dependent on weapon in hand
- playAttackSounds(Entity) - Method in class com.deco2800.game.components.player.PlayerTouchAttackComponent
-
Plays attack sounds for combat weapons dependent on the weapon in hand
- PLAYER - Enum constant in enum class com.deco2800.game.entities.factories.EntityTypes
- PLAYER - Static variable in class com.deco2800.game.physics.PhysicsLayer
- PlayerActions - Class in com.deco2800.game.components.player
-
Action component for interacting with the player.
- PlayerActions() - Constructor for class com.deco2800.game.components.player.PlayerActions
- PlayerAnimationController - Class in com.deco2800.game.components.player
- PlayerAnimationController() - Constructor for class com.deco2800.game.components.player.PlayerAnimationController
- playerCollisionEnd(Fixture, Fixture) - Method in class com.deco2800.game.components.player.PlayerKeyPrompt
- PlayerCombatAnimationController - Class in com.deco2800.game.components.player
-
The controller for the player combat item animator.
- PlayerCombatAnimationController(Entity) - Constructor for class com.deco2800.game.components.player.PlayerCombatAnimationController
-
Creates a player combat item animation controller with the joined player entity with which the animation controller overlays.
- PlayerConfig - Class in com.deco2800.game.entities.configs
-
Defines the properties stored in player config files to be loaded by the Player Factory.
- PlayerConfig() - Constructor for class com.deco2800.game.entities.configs.PlayerConfig
- PlayerFactory - Class in com.deco2800.game.entities.factories
-
Factory to create a player entity.
- PlayerKeyPrompt - Class in com.deco2800.game.components.player
- PlayerKeyPrompt(short) - Constructor for class com.deco2800.game.components.player.PlayerKeyPrompt
- PlayerKPAnimationController - Class in com.deco2800.game.components.player
-
The controller for the player skill animator.
- PlayerKPAnimationController(Entity) - Constructor for class com.deco2800.game.components.player.PlayerKPAnimationController
-
Creates a player skill animation controller with the joined player entity with which the animation controller overlays.
- PlayerModifier - Class in com.deco2800.game.components.player
-
Self-sufficient player modifier handler for temporarily or permanently modifying player statistics.
- PlayerModifier() - Constructor for class com.deco2800.game.components.player.PlayerModifier
- PlayerModifier.Modifier - Class in com.deco2800.game.components.player
- PlayerSkillAnimationController - Class in com.deco2800.game.components.player
-
The controller for the player skill animator.
- PlayerSkillAnimationController(Entity) - Constructor for class com.deco2800.game.components.player.PlayerSkillAnimationController
-
Creates a player skill animation controller with the joined player entity with which the animation controller overlays.
- PlayerSkillComponent - Class in com.deco2800.game.components.player
-
Skill component for managing player skills and the player state as a result of those skills.
- PlayerSkillComponent(Entity) - Constructor for class com.deco2800.game.components.player.PlayerSkillComponent
-
Initialises the player skill component, taking a player entity as the parent component.
- PlayerSkillComponent.SkillTypes - Enum Class in com.deco2800.game.components.player
- PlayerSkillProjectileComponent - Class in com.deco2800.game.components.player
- PlayerSkillProjectileComponent() - Constructor for class com.deco2800.game.components.player.PlayerSkillProjectileComponent
- PlayerSkillScreenOverlay - Class in com.deco2800.game.components.player
- PlayerSkillScreenOverlay() - Constructor for class com.deco2800.game.components.player.PlayerSkillScreenOverlay
- playerStaminaImage(int) - Method in class com.deco2800.game.components.player.PlayerStatsDisplay
-
Simulates a reflexive size for the stamina image.
- PlayerStatsDisplay - Class in com.deco2800.game.components.player
-
A ui component for displaying player stats, e.g.
- PlayerStatsDisplay() - Constructor for class com.deco2800.game.components.player.PlayerStatsDisplay
- PlayerTouchAttackComponent - Class in com.deco2800.game.components.player
- PlayerTouchAttackComponent(short) - Constructor for class com.deco2800.game.components.player.PlayerTouchAttackComponent
-
Create a component which attacks enemy entities on collision, without knockback.
- playerWeapon - Variable in class com.deco2800.game.components.CombatStatsComponent
- playSound() - Method in class com.deco2800.game.components.BackgroundSoundComponent
-
Play the background music
- plug - Variable in class com.deco2800.game.entities.configs.NPCConfigs
- PlugConfig - Class in com.deco2800.game.entities.configs
- PlugConfig() - Constructor for class com.deco2800.game.entities.configs.PlugConfig
- plumberfriend - Variable in class com.deco2800.game.entities.configs.NPCConfigs
- PLUMBERFRIEND - Enum constant in enum class com.deco2800.game.entities.factories.EntityTypes
- PlumberFriendConfig - Class in com.deco2800.game.entities.configs
-
Defines the properties stored in child config files to be loaded by the NPC Factory.
- PlumberFriendConfig() - Constructor for class com.deco2800.game.entities.configs.PlumberFriendConfig
- PLumberFriendDialoguePosition - Static variable in class com.deco2800.game.areas.ForestGameArea
- PlumberFriendPosition - Static variable in class com.deco2800.game.areas.ForestGameArea
- plunger - Variable in class com.deco2800.game.entities.configs.combatitemsconfig.WeaponConfigSetup
- plungerBow - Variable in class com.deco2800.game.entities.configs.combatitemsconfig.WeaponConfigSetup
- point - Variable in class com.deco2800.game.physics.raycast.RaycastHit
-
Point at which the raycast hit the fixture.
- poisonBuff - Variable in class com.deco2800.game.entities.configs.combatitemsconfig.BaseAuraConfig
- Poop - Enum constant in enum class com.deco2800.game.crafting.Materials
- POOP - Enum constant in enum class com.deco2800.game.entities.factories.EntityTypes
- PoopAnimationController - Class in com.deco2800.game.components.npc
-
This class listens to events relevant to a gym bro entity's state and plays the animation when one of the events is triggered.
- PoopAnimationController() - Constructor for class com.deco2800.game.components.npc.PoopAnimationController
- poops - Static variable in class com.deco2800.game.entities.configs.NPCConfigs
- PoopsConfig - Class in com.deco2800.game.entities.configs
-
The statistics that make up the configuration of Poops, level 2 ranged enemy
- PoopsConfig() - Constructor for class com.deco2800.game.entities.configs.PoopsConfig
- postSolve(Contact, ContactImpulse) - Method in class com.deco2800.game.physics.PhysicsContactListener
- POTION - Enum constant in enum class com.deco2800.game.entities.factories.EntityTypes
- PotionEffectComponent - Class in com.deco2800.game.components.player
- PotionEffectComponent(short, String) - Constructor for class com.deco2800.game.components.player.PotionEffectComponent
-
Component that affects entities on collision.
- PotionFactory - Class in com.deco2800.game.entities.factories
-
Factory to create a potion entity.
- PotionFactory() - Constructor for class com.deco2800.game.entities.factories.PotionFactory
- preSolve(Contact, Manifold) - Method in class com.deco2800.game.physics.PhysicsContactListener
- printFn - Variable in class com.deco2800.game.utils.StringDecorator
- priority - Variable in class com.deco2800.game.input.InputComponent
-
The priority that the input handler is visited in by InputService.
- PriorityTask - Interface in com.deco2800.game.ai.tasks
-
A priority task is a task that also has a priority.
- processMessage() - Method in class com.deco2800.game.ui.terminal.Terminal
-
Processes the completed message entered by the user.
- PROJECTILE - Enum constant in enum class com.deco2800.game.components.player.PlayerSkillComponent.SkillTypes
- PROJECTILE - Enum constant in enum class com.deco2800.game.entities.factories.EntityTypes
- ProjectileFactory - Class in com.deco2800.game.entities.factories
- ProjectileTask - Class in com.deco2800.game.components.tasks
- ProjectileTask(Entity, String, int, float, float, float, float) - Constructor for class com.deco2800.game.components.tasks.ProjectileTask
- put(int, V) - Method in class com.deco2800.game.utils.SortedIntMap
-
Put key, value pair in map
Q
- QuickBarDisplay - Class in com.deco2800.game.components.player
- QuickBarDisplay() - Constructor for class com.deco2800.game.components.player.QuickBarDisplay
R
- random(GridPoint2, GridPoint2) - Static method in class com.deco2800.game.utils.math.RandomUtils
- random(Vector2, Vector2) - Static method in class com.deco2800.game.utils.math.RandomUtils
- RandomUtils - Class in com.deco2800.game.utils.math
- RANGED - Enum constant in enum class com.deco2800.game.entities.factories.EntityTypes
- raycast(Vector2, Vector2, short, RaycastHit) - Method in class com.deco2800.game.physics.PhysicsEngine
-
Cast a ray in a straight line from one point to another, checking for a collision against colliders in the specified layers.
- raycast(Vector2, Vector2, RaycastHit) - Method in class com.deco2800.game.physics.PhysicsEngine
-
Cast a ray in a straight line from one point to another, checking for a collision against any colliders.
- raycastAll(Vector2, Vector2) - Method in class com.deco2800.game.physics.PhysicsEngine
-
Cast a ray in a straight line from one point to another, checking for all collision against colliders in the specified layers.
- raycastAll(Vector2, Vector2, short) - Method in class com.deco2800.game.physics.PhysicsEngine
-
Cast a ray in a straight line from one point to another, checking for all collision against colliders in the specified layers.
- RaycastHit - Class in com.deco2800.game.physics.raycast
-
Stores information about a raycast hit.
- RaycastHit() - Constructor for class com.deco2800.game.physics.raycast.RaycastHit
- readClass(Class<T>, String) - Static method in class com.deco2800.game.files.FileLoader
-
Read generic Java classes from a JSON file.
- readClass(Class<T>, String, FileLoader.Location) - Static method in class com.deco2800.game.files.FileLoader
-
Read generic Java classes from a JSON file.
- reduceHealth(int) - Method in class com.deco2800.game.components.CombatStatsComponent
- refreshRate - Variable in class com.deco2800.game.files.UserSettings.DisplaySettings
- register(Entity) - Method in class com.deco2800.game.entities.EntityService
-
Register a new entity with the entity service.
- register(InputComponent) - Method in class com.deco2800.game.input.InputService
-
Register an input handler based on its priority and reorder inputHandlers.
- register(Renderable) - Method in class com.deco2800.game.rendering.RenderService
-
Register a new renderable.
- registerAnimation(Entity) - Method in class com.deco2800.game.components.player.InventoryComponent
-
Register animation component for the weapon (IMPLEMENT ARMOUR ANIMATION)
- registerCraftArea(GameAreaDisplay) - Static method in class com.deco2800.game.services.ServiceLocator
- registerEntityService(EntityService) - Static method in class com.deco2800.game.services.ServiceLocator
- registerGameArea(GameArea) - Static method in class com.deco2800.game.services.ServiceLocator
- registerInputService(InputService) - Static method in class com.deco2800.game.services.ServiceLocator
- registerInventoryArea(GameAreaDisplay) - Static method in class com.deco2800.game.services.ServiceLocator
- registerKeyBindArea(GameAreaDisplay) - Static method in class com.deco2800.game.services.ServiceLocator
-
Register the display area the keybinding area will now exist in.
- registerMainGameScreen(MainGameScreen) - Static method in class com.deco2800.game.services.ServiceLocator
- registerPauseArea(GameAreaDisplay) - Static method in class com.deco2800.game.services.ServiceLocator
- registerPhysicsService(PhysicsService) - Static method in class com.deco2800.game.services.ServiceLocator
- registerPlayerGuideArea(GameAreaDisplay) - Static method in class com.deco2800.game.services.ServiceLocator
- registerRenderService(RenderService) - Static method in class com.deco2800.game.services.ServiceLocator
- registerResourceService(ResourceService) - Static method in class com.deco2800.game.services.ServiceLocator
- registerTimeSource(GameTime) - Static method in class com.deco2800.game.services.ServiceLocator
- removeAllListeners(String) - Method in class com.deco2800.game.events.EventHandler
-
Removes all listeners from an event.
- removeAnimation(String) - Method in class com.deco2800.game.rendering.AnimationRenderComponent
-
Remove an animation from this animator.
- removeAuraOnMap(Entity) - Static method in class com.deco2800.game.areas.ForestGameArea
- removeAuraOnMap(Entity) - Static method in class com.deco2800.game.areas.UndergroundGameArea
- removeEquipable(int) - Method in class com.deco2800.game.components.player.InventoryComponent
-
Remove the item in the given itemSlot.
- removeItem(int) - Method in class com.deco2800.game.components.player.InventoryComponent
-
Removes an item to player's inventory.
- removeItem(Entity) - Method in class com.deco2800.game.components.player.InventoryComponent
-
Removes an item from the player's inventory.
- removeItem(EntityTypes) - Method in class com.deco2800.game.components.player.InventoryComponent
-
Removes an item to player's inventory.
- removeItemOnMap(Entity) - Static method in class com.deco2800.game.areas.ForestGameArea
- removeItemOnMap(Entity) - Static method in class com.deco2800.game.areas.UndergroundGameArea
- removePotion(int) - Method in class com.deco2800.game.components.player.InventoryComponent
-
Removes the potion from the quickbar based on the input index
- removeProjectile(Fixture, Fixture) - Method in class com.deco2800.game.components.npc.EnemyProjectileComponent
-
Remove projectile from map
- removeProjectileOnMap(Entity) - Static method in class com.deco2800.game.areas.ForestGameArea
- removeProjectileOnMap(Entity) - Static method in class com.deco2800.game.areas.UndergroundGameArea
- render() - Method in class com.deco2800.game.rendering.Renderer
-
Render everything to the render service.
- render(float) - Method in class com.deco2800.game.screens.DeathScreen
- render(float) - Method in class com.deco2800.game.screens.LevelTransitionScreen
- render(float) - Method in class com.deco2800.game.screens.MainGameScreen
- render(float) - Method in class com.deco2800.game.screens.MainMenuScreen
- render(float) - Method in class com.deco2800.game.screens.MainMenuTransitionScreen
- render(float) - Method in class com.deco2800.game.screens.SettingsScreen
- render(float) - Method in class com.deco2800.game.screens.SkillsTreeScreen
- render(SpriteBatch) - Method in interface com.deco2800.game.rendering.Renderable
-
Render the renderable.
- render(SpriteBatch) - Method in class com.deco2800.game.rendering.RenderComponent
- render(SpriteBatch) - Method in class com.deco2800.game.rendering.RenderService
-
Trigger rendering on the given batch.
- render(Matrix4) - Method in class com.deco2800.game.rendering.DebugRenderer
- Renderable - Interface in com.deco2800.game.rendering
-
Can be rendered onto the screen given a Sprite batch.
- RenderComponent - Class in com.deco2800.game.rendering
-
A generic component for rendering an entity.
- RenderComponent() - Constructor for class com.deco2800.game.rendering.RenderComponent
- Renderer - Class in com.deco2800.game.rendering
-
Core rendering system for the game.
- Renderer(CameraComponent) - Constructor for class com.deco2800.game.rendering.Renderer
-
Create a new renderer with default settings
- Renderer(CameraComponent, float, SpriteBatch, Stage, RenderService, DebugRenderer) - Constructor for class com.deco2800.game.rendering.Renderer
-
Create a renderer
- RenderFactory - Class in com.deco2800.game.entities.factories
- renderPhysicsWorld(World) - Method in class com.deco2800.game.rendering.DebugRenderer
- RenderService - Class in com.deco2800.game.rendering
-
Globally accessible service for registering renderable components.
- RenderService() - Constructor for class com.deco2800.game.rendering.RenderService
- reportRayFixture(Fixture, Vector2, Vector2, float) - Method in class com.deco2800.game.physics.raycast.AllHitCallback
- reportRayFixture(Fixture, Vector2, Vector2, float) - Method in class com.deco2800.game.physics.raycast.SingleHitCallback
- resetSkills(Entity) - Method in class com.deco2800.game.components.player.PlayerSkillComponent
-
Resets all skills for the skill event of player entity
- resize(int, int) - Method in class com.deco2800.game.rendering.Renderer
-
Resize the renderer to a new screen size.
- resize(int, int) - Method in class com.deco2800.game.screens.DeathScreen
- resize(int, int) - Method in class com.deco2800.game.screens.LevelTransitionScreen
- resize(int, int) - Method in class com.deco2800.game.screens.MainGameScreen
- resize(int, int) - Method in class com.deco2800.game.screens.MainMenuScreen
- resize(int, int) - Method in class com.deco2800.game.screens.MainMenuTransitionScreen
- resize(int, int) - Method in class com.deco2800.game.screens.SettingsScreen
- resize(int, int, float) - Method in class com.deco2800.game.components.CameraComponent
- ResourceService - Class in com.deco2800.game.services
-
Service for loading resources, e.g.
- ResourceService() - Constructor for class com.deco2800.game.services.ResourceService
- ResourceService(AssetManager) - Constructor for class com.deco2800.game.services.ResourceService
- resume() - Method in class com.deco2800.game.screens.DeathScreen
- resume() - Method in class com.deco2800.game.screens.MainGameScreen
- resume() - Method in class com.deco2800.game.screens.MainMenuScreen
- RIGHT - Enum constant in enum class com.deco2800.game.physics.components.PhysicsComponent.AlignX
- RIGHT - Static variable in class com.deco2800.game.utils.math.Vector2Utils
- ROOT - Enum constant in enum class com.deco2800.game.components.player.PlayerSkillComponent.SkillTypes
- rootActive() - Method in class com.deco2800.game.components.player.PlayerSkillComponent
-
Checks if the player is in the root skill state
- Rubber - Enum constant in enum class com.deco2800.game.crafting.Materials
- RUBBER - Enum constant in enum class com.deco2800.game.entities.factories.EntityTypes
- run() - Method in class com.deco2800.game.crafting.CraftingSystem
-
Run method that creates a daemon to update the users possible builds.
S
- scaleEntity() - Method in class com.deco2800.game.rendering.AnimationRenderComponent
-
Scale the entity to a width of 1 and a height matching the texture's ratio
- scaleEntity() - Method in class com.deco2800.game.rendering.TextureRenderComponent
-
Scale the entity to a width of 1 and a height matching the texture's ratio
- scaleHeight(float) - Method in class com.deco2800.game.entities.Entity
-
Set the entity's height and scale the width to maintain aspect ratio.
- scaleWidth(float) - Method in class com.deco2800.game.entities.Entity
-
Set the entity's width and scale the height to maintain aspect ratio.
- scrolled(float, float) - Method in class com.deco2800.game.input.InputComponent
- scrolled(float, float) - Method in class com.deco2800.game.input.InputDecorator
- scrolled(float, float) - Method in class com.deco2800.game.input.InputService
-
Iterates over registered input handlers in descending priority and stops as soon as the input is processed
- scrolled(float, float) - Method in class com.deco2800.game.ui.terminal.TouchTerminalInputComponent
-
Scrolling up will open the terminal and scrolling down will close the terminal.
- ServiceLocator - Class in com.deco2800.game.services
-
A simplified implementation of the Service Locator pattern: https://martinfowler.com/articles/injection.html#UsingAServiceLocator
- set(UserSettings.Settings, boolean) - Static method in class com.deco2800.game.files.UserSettings
-
Set the stored user settings
- setActive(boolean) - Method in class com.deco2800.game.rendering.DebugRenderer
- setAreaMultiplier(double) - Method in class com.deco2800.game.components.combatitemscomponents.WeaponAuraComponent
-
Set the multiplier on the radius that the weapon can deal damage to
- setAreaRange(double) - Method in class com.deco2800.game.components.combatitemscomponents.AreaOfEffectStatsComponent
-
Sets the radius the weapon can deal damage to
- setArmourStats(double, double, double, double, double, HashMap<Materials, Integer>) - Method in class com.deco2800.game.components.DefensiveItemsComponents.ArmourStatsComponent
-
Sets the attributes of the armour to desired stats
- setAsBox(Vector2) - Method in class com.deco2800.game.physics.components.ColliderComponent
-
Set physics as a box with a given size.
- setAsBox(Vector2, Vector2) - Method in class com.deco2800.game.physics.components.ColliderComponent
-
Set physics as a box with a given size and local position.
- setAsBoxAligned(Vector2, PhysicsComponent.AlignX, PhysicsComponent.AlignY) - Method in class com.deco2800.game.physics.components.ColliderComponent
-
Set physics as a box with a given size.
- setAura(Entity) - Method in class com.deco2800.game.components.combatitemscomponents.WeaponAuraManager
-
Sets the given aura to the applied aura
- setAuraDuration(int) - Method in class com.deco2800.game.components.combatitemscomponents.WeaponAuraComponent
-
Set how long the aura is activated for the weapon
- setBaseAttack(int) - Method in class com.deco2800.game.components.CombatStatsComponent
-
Sets the entity's attack damage.
- setBlendMode(TiledMapTile.BlendMode) - Method in class com.deco2800.game.areas.terrain.TerrainTile
- setBodyType(BodyDef.BodyType) - Method in class com.deco2800.game.physics.components.PhysicsComponent
-
Set body type
- setBuff(String) - Method in class com.deco2800.game.components.combatitemscomponents.BuffDisplayComponent
-
Set the buff to be displayed as the currently applied buff on the weapon.
- setButtonDisplay() - Method in class com.deco2800.game.components.deathscreen.DeathScreenDisplay
-
Sets up button display and adds them to the stage.
- setCdMultiplier(double) - Method in class com.deco2800.game.components.combatitemscomponents.WeaponAuraComponent
-
Set the cooldown multiplier on the weapon
- setClosed() - Method in class com.deco2800.game.ui.terminal.Terminal
-
Closes the terminal and clears the stored message.
- setCombatAnimator(Entity) - Method in class com.deco2800.game.components.combatitemscomponents.WeaponAuraManager
-
Sets the combat item animator for this actions component
- setCombatAnimator(Entity) - Method in class com.deco2800.game.components.player.InventoryComponent
-
Set the animator for weapons
- setCombatAnimator(Entity) - Method in class com.deco2800.game.components.player.PlayerTouchAttackComponent
-
Sets the combat item animator for this actions component
- setCoolDown(double) - Method in class com.deco2800.game.components.combatitemscomponents.WeaponStatsComponent
-
Sets the cooldown of the weapon
- setCountdownTrigger(int, String, long) - Method in class com.deco2800.game.components.player.Countdown
- setCraftingStatus() - Static method in class com.deco2800.game.components.player.OpenCraftingComponent
- setCurrentMenu(Boolean, KeyboardPlayerInputComponent.MenuTypes) - Static method in class com.deco2800.game.components.player.KeyboardPlayerInputComponent
- setDamage(double) - Method in class com.deco2800.game.components.combatitemscomponents.WeaponStatsComponent
-
Sets the damage of the weapon
- setDamageReduction(float) - Method in class com.deco2800.game.components.CombatStatsComponent
-
Sets the entity's damage reduction.
- setDamageReturn(float) - Method in class com.deco2800.game.components.CombatStatsComponent
-
Sets the entity's damage return.
- setDebug(DebugRenderer) - Method in class com.deco2800.game.rendering.RenderService
- setDensity(float) - Method in class com.deco2800.game.physics.components.ColliderComponent
-
Set density
- setDescription(String) - Method in class com.deco2800.game.components.combatitemscomponents.WeaponAuraComponent
-
Sets the description of the aura
- setDescription(String) - Method in class com.deco2800.game.components.combatitemscomponents.WeaponStatsComponent
-
Sets the description of the weapon
- setDmgMultiplier(double) - Method in class com.deco2800.game.components.combatitemscomponents.WeaponAuraComponent
-
Set the damage multiplier on the weapon
- setDmgReturn(double) - Method in class com.deco2800.game.components.DefensiveItemsComponents.ArmourStatsComponent
- setDurability(double) - Method in class com.deco2800.game.components.DefensiveItemsComponents.ArmourStatsComponent
- setDuration(double) - Method in class com.deco2800.game.components.combatitemscomponents.AreaOfEffectStatsComponent
-
Sets the duration the aoe weapon can be activated for at one attack instance
- setDurationMultiplier(double) - Method in class com.deco2800.game.components.combatitemscomponents.WeaponAuraComponent
-
Set the multiplier on the duration before the next attack instance can be called
- setEnabled(boolean) - Method in class com.deco2800.game.components.Component
-
Enable or disable the component.
- setEnabled(boolean) - Method in class com.deco2800.game.entities.Entity
-
Enable or disable an entity.
- setEnabled(boolean) - Method in class com.deco2800.game.physics.components.PhysicsComponent
- setEnteredMessage(String) - Method in class com.deco2800.game.ui.terminal.Terminal
-
Sets the text shown on the terminal
- setEntity(Entity) - Method in class com.deco2800.game.components.Component
-
Set the entity to which this component belongs.
- setEntityType(EntityTypes) - Method in class com.deco2800.game.entities.Entity
-
Set the entity to the specific type defined in EntityTypes class
- setFlashOverlay(boolean) - Method in class com.deco2800.game.components.player.PlayerSkillScreenOverlay
- setFrame(int) - Method in class com.deco2800.game.components.leveltransition.LevelTransitionDisplay
-
Function for externally setting the frame.
- setFriction(float) - Method in class com.deco2800.game.physics.components.ColliderComponent
-
Set friction.
- setGameLevel(int) - Method in class com.deco2800.game.screens.MainGameScreen
-
Sets game level
- setGridPosition(GridPoint2) - Method in class com.deco2800.game.entities.Entity
-
Set the entity's game grid position.
- setHealth(int) - Method in class com.deco2800.game.components.CombatStatsComponent
-
Sets the entity's health.
- setId(int) - Method in class com.deco2800.game.areas.terrain.TerrainTile
- setInventoryContents(List<Materials>) - Method in class com.deco2800.game.crafting.CraftingSystem
-
Sets the users inventory contents to be used by the crafting classes.
- setKeyBindMenu() - Method in class com.deco2800.game.components.gamearea.GameAreaDisplay
-
Creates the keybinding menu.
- setKeyPromptAnimator(Entity) - Method in class com.deco2800.game.components.player.PlayerKeyPrompt
- setLayer(short) - Method in class com.deco2800.game.physics.components.ColliderComponent
-
Set the collider layer, used in collision logic
- setMana(int) - Method in class com.deco2800.game.components.CombatStatsComponent
-
Sets the entity's mana.
- setManaRegenerationRate(int) - Method in class com.deco2800.game.components.CombatStatsComponent
-
Sets the entity's RegenerationRate regeneration rate.
- setMaterials(HashMap<Materials, Integer>) - Method in class com.deco2800.game.components.DefensiveItemsComponents.ArmourStatsComponent
- setMaterials(Map<Materials, Integer>) - Method in class com.deco2800.game.components.combatitemscomponents.WeaponStatsComponent
-
Sets the materials required to craft the weapon
- setMaxMana(int) - Method in class com.deco2800.game.components.CombatStatsComponent
-
Sets the entity's maximum mana.
- setMaxStamina(int) - Method in class com.deco2800.game.components.CombatStatsComponent
-
Sets the entity's maximum stamina.
- setMoving(boolean) - Method in interface com.deco2800.game.ai.movement.MovementController
- setMoving(boolean) - Method in class com.deco2800.game.physics.components.PhysicsMovementComponent
-
Enable/disable movement for the controller.
- setOffsetX(float) - Method in class com.deco2800.game.areas.terrain.TerrainTile
- setOffsetY(float) - Method in class com.deco2800.game.areas.terrain.TerrainTile
- setOpen() - Method in class com.deco2800.game.ui.terminal.Terminal
-
Opens the terminal.
- setPauseMenu() - Method in class com.deco2800.game.components.gamearea.GameAreaDisplay
-
Loads all the required elements for the overlay when the pause button is pressed by the user.
- setPhyResistance(double) - Method in class com.deco2800.game.components.DefensiveItemsComponents.ArmourStatsComponent
- setPlayer(Entity) - Method in class com.deco2800.game.areas.GameArea
- setPlayerGuideMenu(String) - Method in class com.deco2800.game.components.gamearea.GameAreaDisplay
-
Loads the elements required to provide tutorials for the player when first using the crafting system.
- setPosition(float, float) - Method in class com.deco2800.game.entities.Entity
-
Set the entity's game position.
- setPosition(Vector2) - Method in class com.deco2800.game.entities.Entity
-
Set the entity's game position.
- setPosition(Vector2, boolean) - Method in class com.deco2800.game.entities.Entity
-
Set the entity's game position and optionally notifies listeners.
- setPossibleBuilds(List<WeaponConfig>) - Static method in class com.deco2800.game.crafting.CraftingLogic
-
Sets a list of all the possible builds the user can make with the items contained in their inventory
- setPotionQuantity(int, int) - Method in class com.deco2800.game.components.player.InventoryComponent
-
Set the quantity of the potion based on its index on the quick bar
- setPriority(int) - Method in class com.deco2800.game.input.InputComponent
- setProjectileDirection(Vector2) - Method in class com.deco2800.game.components.combatitemscomponents.WeaponArrowProjectileComponent
-
Sets the projectile's direction
- setProjectileDirection(Vector2) - Method in class com.deco2800.game.components.npc.EnemyProjectileComponent
-
Sets the projectile's direction
- setProjectileDirection(Vector2) - Method in class com.deco2800.game.components.player.PlayerSkillProjectileComponent
-
Sets the projectile's direction
- setQuitGameStatus() - Static method in class com.deco2800.game.components.maingame.PauseMenuActions
- setRestitution(float) - Method in class com.deco2800.game.physics.components.ColliderComponent
-
Set restitution
- setScale(float, float) - Method in class com.deco2800.game.entities.Entity
-
Set the entity's scale.
- setScale(Vector2) - Method in class com.deco2800.game.entities.Entity
-
Set the entity's scale.
- setScaledCollider(Entity, float, float) - Static method in class com.deco2800.game.physics.PhysicsUtils
- setScreen(GdxGame.ScreenType) - Method in class com.deco2800.game.GdxGame
-
Sets the game's screen to a new screen of the provided type.
- setSensor(boolean) - Method in class com.deco2800.game.physics.components.ColliderComponent
-
Set whether this physics component is a sensor.
- setShape(Shape) - Method in class com.deco2800.game.physics.components.ColliderComponent
-
Set shape
- setSkill(int, PlayerSkillComponent.SkillTypes, Entity, PlayerActions) - Method in class com.deco2800.game.components.player.PlayerSkillComponent
-
Sets a listener to the skill event
- setSkillAnimator(Entity) - Method in class com.deco2800.game.components.player.PlayerActions
-
Sets the skill animator for this actions component and passes it to the skill component so the skill component can alter the skill animation state.
- setSkillAnimator(Entity) - Method in class com.deco2800.game.components.player.PlayerSkillComponent
-
Sets the skill animator entity for this skill component, so this skill component can interact with the corresponding animator.
- setSkillCooldown(String) - Method in class com.deco2800.game.components.player.PlayerSkillComponent
-
Sets an existing skill cooldown to a new cooldown.
- setSpeed(float) - Method in class com.deco2800.game.components.tasks.MovementTask
- setSpeed(float) - Method in class com.deco2800.game.physics.components.PhysicsMovementComponent
- setStage(Stage) - Method in class com.deco2800.game.rendering.RenderService
- setStamina(int) - Method in class com.deco2800.game.components.CombatStatsComponent
-
Sets the entity's stamina.
- setStaminaRegenerationRate(int) - Method in class com.deco2800.game.components.CombatStatsComponent
-
Sets the entity's stamina regeneration rate.
- setTarget(Vector2) - Method in interface com.deco2800.game.ai.movement.MovementController
- setTarget(Vector2) - Method in class com.deco2800.game.components.tasks.MovementTask
-
Set a new target.
- setTarget(Vector2) - Method in class com.deco2800.game.physics.components.PhysicsMovementComponent
-
Set a target to move towards.
- setTask(Task) - Method in class com.deco2800.game.components.tasks.ProjectileTask
-
Set the task
- setTextureRegion(TextureRegion) - Method in class com.deco2800.game.areas.terrain.TerrainTile
- setTimeScale(float) - Method in class com.deco2800.game.services.GameTime
-
Set the speed of time passing.
- Settings() - Constructor for class com.deco2800.game.files.UserSettings.Settings
- SETTINGS - Enum constant in enum class com.deco2800.game.GdxGame.ScreenType
- SettingsMenuDisplay - Class in com.deco2800.game.components.settingsmenu
-
Settings menu display and logic.
- SettingsMenuDisplay(GdxGame) - Constructor for class com.deco2800.game.components.settingsmenu.SettingsMenuDisplay
- SettingsScreen - Class in com.deco2800.game.screens
-
The game screen containing the settings.
- SettingsScreen(GdxGame) - Constructor for class com.deco2800.game.screens.SettingsScreen
- setVitality(double) - Method in class com.deco2800.game.components.DefensiveItemsComponents.ArmourStatsComponent
- setWeaponStats(Entity) - Method in class com.deco2800.game.components.combatitemscomponents.WeaponAuraManager
-
Sets the weapon stats if player is equipped with a weapon
- setWeight(double) - Method in class com.deco2800.game.components.combatitemscomponents.PhysicalWeaponStatsComponent
-
Sets the weight of the weapons
- setWeight(double) - Method in class com.deco2800.game.components.DefensiveItemsComponents.ArmourStatsComponent
- shoot(String) - Method in class com.deco2800.game.components.tasks.ProjectileTask
-
Shoot projectile
- Silver - Enum constant in enum class com.deco2800.game.crafting.Materials
- SILVER - Enum constant in enum class com.deco2800.game.entities.factories.EntityTypes
- SingleHitCallback - Class in com.deco2800.game.physics.raycast
-
Cast a ray against all colliders that match the layermask.
- SingleHitCallback() - Constructor for class com.deco2800.game.physics.raycast.SingleHitCallback
- skillDamageTrigger() - Method in class com.deco2800.game.components.player.PlayerSkillComponent
-
Functional equivalent of isInvulnerable but also triggers effects internally based on skill states.
- SkillsTree - Enum constant in enum class com.deco2800.game.GdxGame.ScreenType
- SkillsTreeActions - Class in com.deco2800.game.SkillsTree
- SkillsTreeActions(GdxGame) - Constructor for class com.deco2800.game.SkillsTree.SkillsTreeActions
- SkillsTreeDisplay - Class in com.deco2800.game.SkillsTree
- SkillsTreeDisplay() - Constructor for class com.deco2800.game.SkillsTree.SkillsTreeDisplay
- SkillsTreeScreen - Class in com.deco2800.game.screens
-
The game screen containing the skills tree.
- SkillsTreeScreen(GdxGame) - Constructor for class com.deco2800.game.screens.SkillsTreeScreen
- skin - Static variable in class com.deco2800.game.ui.UIComponent
- slowDiamond - Enum constant in enum class com.deco2800.game.entities.factories.ArmourFactory.ArmourType
- slowDiamond - Variable in class com.deco2800.game.components.DefensiveItemsComponents.ArmourTypeConfig
- SortedIntMap<V> - Class in com.deco2800.game.utils
-
A map sorted by the value of key with O(1) iteration.
- SortedIntMap(int) - Constructor for class com.deco2800.game.utils.SortedIntMap
-
Create a sorted intmap with the specified capacity
- sortInventory(int, List<Entity>, int[]) - Method in class com.deco2800.game.components.player.InventoryComponent
-
Sort the item quantity array once an item is removed from the inventory.
- spawnCraftingTable() - Method in class com.deco2800.game.areas.UndergroundGameArea
-
Spawns the crafting table entity on the underground map
- spawnCraftingTables() - Method in class com.deco2800.game.areas.ForestGameArea
-
Spawns the crafting table entity on the forest map
- spawnEntity(Entity) - Method in class com.deco2800.game.areas.GameArea
-
Spawn entity at its current position
- spawnEntityAt(Entity, GridPoint2, boolean, boolean) - Method in class com.deco2800.game.areas.GameArea
-
Spawn entity on a given tile.
- spawnEntityOnMap(Entity, GridPoint2, Boolean, Boolean) - Method in class com.deco2800.game.areas.ForestGameArea
- spawnMaleCitizen() - Method in class com.deco2800.game.areas.ForestGameArea
-
Spawn male NPC in random position.
- spawnPlayer() - Method in class com.deco2800.game.areas.ForestGameArea
-
Spawns the player entity, with a skill and combat animator overlaid above the player.
- spawnPlayerAOE() - Method in class com.deco2800.game.areas.ForestGameArea
-
Spawns an AOE attack at the player entity's coordinates.
- spawnPlayerAOE() - Method in class com.deco2800.game.areas.UndergroundGameArea
-
Spawns an AOE attack at the player entity's coordinates.
- spawnPlayerProjectile() - Method in class com.deco2800.game.areas.ForestGameArea
-
Spawns a projectile at the player entity's coordinates.
- spawnPlayerProjectileCone() - Method in class com.deco2800.game.areas.ForestGameArea
-
Spawns a spray of projectiles at the player entity's coordinates.
- spawnPlayerProjectileCone() - Method in class com.deco2800.game.areas.UndergroundGameArea
-
Spawns a spray of projectiles at the player entity's coordinates.
- spawnPlayerProjectileSpray() - Method in class com.deco2800.game.areas.ForestGameArea
-
Spawns a spray of projectiles at the player entity's coordinates.
- spawnPlayerProjectileSpray() - Method in class com.deco2800.game.areas.UndergroundGameArea
-
Spawns a spray of projectiles at the player entity's coordinates.
- spawnTerrain() - Method in class com.deco2800.game.areas.ForestGameArea
- spawnWeaponProjectile() - Method in class com.deco2800.game.areas.ForestGameArea
-
Spawns a weapon bow projectile at the player entity's coordinates.
- spawnWeaponProjectile() - Method in class com.deco2800.game.areas.UndergroundGameArea
-
Spawns a projectile at the player entity's coordinates.
- speed - Variable in class com.deco2800.game.entities.configs.FriendPetConfig
- SPEED - Static variable in class com.deco2800.game.entities.configs.GymBroConfig
- SPEED - Static variable in class com.deco2800.game.entities.configs.HeraclesConfig
- SPEED - Static variable in class com.deco2800.game.entities.configs.MegaPoopConfig
- SPEED - Static variable in class com.deco2800.game.entities.configs.PoopsConfig
- speedBuff - Variable in class com.deco2800.game.entities.configs.combatitemsconfig.BaseAuraConfig
- speedDebuff - Variable in class com.deco2800.game.entities.configs.combatitemsconfig.BaseAuraConfig
- spliterator() - Method in class com.deco2800.game.utils.SortedIntMap
- stage - Static variable in class com.deco2800.game.ui.UIComponent
- stamina - Variable in class com.deco2800.game.entities.configs.BaseEntityConfig
- stamina - Variable in class com.deco2800.game.entities.configs.PlayerConfig
- STAMINA - Static variable in class com.deco2800.game.components.player.PlayerModifier
- STAMINAMAX - Static variable in class com.deco2800.game.components.player.PlayerModifier
- STAMINAREGEN - Static variable in class com.deco2800.game.components.player.PlayerModifier
- staminaRegenerationRate - Variable in class com.deco2800.game.entities.configs.PlayerConfig
- start() - Method in class com.deco2800.game.ai.tasks.DefaultTask
- start() - Method in interface com.deco2800.game.ai.tasks.Task
-
Start running this task.
- start() - Method in class com.deco2800.game.components.tasks.ChaseTask
-
Start chase task.
- start() - Method in class com.deco2800.game.components.tasks.DeadTask
-
Start this task
- start() - Method in class com.deco2800.game.components.tasks.JumpTask
-
Start the jump task.
- start() - Method in class com.deco2800.game.components.tasks.MovementTask
-
Start movement task.
- start() - Method in class com.deco2800.game.components.tasks.ProjectileTask
-
Start shoot.
- start() - Method in class com.deco2800.game.components.tasks.TransportTask
-
Start the transport task.
- start() - Method in class com.deco2800.game.components.tasks.WaitTask
-
Start waiting from now until duration has passed.
- start() - Method in class com.deco2800.game.components.tasks.WanderTask
-
Start this task.
- startAnimation(String) - Method in class com.deco2800.game.rendering.AnimationRenderComponent
-
Start playback of an animation.
- startBleed() - Method in class com.deco2800.game.components.player.PlayerSkillComponent
-
The functional start of the bleed skill.
- startBlock() - Method in class com.deco2800.game.components.player.PlayerSkillComponent
-
The functional start of the block skill.
- startCharge() - Method in class com.deco2800.game.components.player.PlayerSkillComponent
-
The functional start of the charge.
- startDash(Vector2) - Method in class com.deco2800.game.components.player.PlayerSkillComponent
-
The functional start of the dash.
- startDodge(Vector2) - Method in class com.deco2800.game.components.player.PlayerSkillComponent
-
The functional start of the dodge skill.
- startFireballUltimate() - Method in class com.deco2800.game.components.player.PlayerSkillComponent
-
The functional start of the fireball ultimate skill.
- startInvulnerabilitySkill() - Method in class com.deco2800.game.components.player.PlayerSkillComponent
-
The functional start of the invulnerability skill.
- startProjectileSkill() - Method in class com.deco2800.game.components.player.PlayerSkillComponent
-
The functional start of the wrench projectile skill.
- startRoot() - Method in class com.deco2800.game.components.player.PlayerSkillComponent
-
The functional start of the root skill.
- startTeleport() - Method in class com.deco2800.game.components.player.PlayerSkillComponent
-
The functional start of the teleport skill.
- startUltimate() - Method in class com.deco2800.game.components.player.PlayerSkillComponent
-
The functional start of the timestop ultimate skill.
- state - Static variable in class com.deco2800.game.components.npc.DialogueDisplay
- status - Variable in class com.deco2800.game.ai.tasks.DefaultTask
- Steel - Enum constant in enum class com.deco2800.game.crafting.Materials
- STEEL - Enum constant in enum class com.deco2800.game.entities.factories.EntityTypes
- stop() - Method in class com.deco2800.game.ai.tasks.DefaultTask
- stop() - Method in interface com.deco2800.game.ai.tasks.Task
-
Stop the task immediately.
- stop() - Method in class com.deco2800.game.components.tasks.ChaseTask
-
Stop this task.
- stop() - Method in class com.deco2800.game.components.tasks.JumpTask
-
Stop the jump task.
- stop() - Method in class com.deco2800.game.components.tasks.MovementTask
-
Stop this task.
- stop() - Method in class com.deco2800.game.components.tasks.TransportTask
-
Stop the transport task.
- stopAnimation() - Method in class com.deco2800.game.rendering.AnimationRenderComponent
-
Stop the currently running animation.
- stopSound() - Method in class com.deco2800.game.components.BackgroundSoundComponent
-
Stop playing the music
- stopWalking() - Method in class com.deco2800.game.components.player.PlayerActions
-
Stops the player from walking.
- StringDecorator<T> - Class in com.deco2800.game.utils
-
Apply a custom toString() for a class without overriding the class, using a decorator.
- StringDecorator(T, Function<T, String>) - Constructor for class com.deco2800.game.utils.StringDecorator
-
Create a string-decorated object.
- swapItem(Entity) - Method in class com.deco2800.game.components.player.InventoryComponent
-
Swap the item in equipable
- SwordLvl2 - Variable in class com.deco2800.game.entities.configs.combatitemsconfig.WeaponConfigSetup
T
- tap(float, float, int, int) - Method in class com.deco2800.game.input.InputComponent
- tap(float, float, int, int) - Method in class com.deco2800.game.input.InputService
-
Iterates over registered input handlers in descending priority and stops as soon as the input is processed
- Task - Interface in com.deco2800.game.ai.tasks
-
An AI task can be started and stopped at any time.
- Task.Status - Enum Class in com.deco2800.game.ai.tasks
- TaskRunner - Interface in com.deco2800.game.ai.tasks
- TELEPORT - Enum constant in enum class com.deco2800.game.components.player.PlayerSkillComponent.SkillTypes
- teleportPlayer() - Method in class com.deco2800.game.components.player.PlayerSkillComponent
-
Teleports the player a set distance from their current position in the walk direction.
- Terminal - Class in com.deco2800.game.ui.terminal
-
State tracker for a debug terminal.
- Terminal() - Constructor for class com.deco2800.game.ui.terminal.Terminal
- Terminal(Map<String, Command>) - Constructor for class com.deco2800.game.ui.terminal.Terminal
- TerminalDisplay - Class in com.deco2800.game.ui.terminal
-
A ui component for displaying the debug terminal.
- TerminalDisplay() - Constructor for class com.deco2800.game.ui.terminal.TerminalDisplay
- terrain - Variable in class com.deco2800.game.areas.GameArea
- TerrainComponent - Class in com.deco2800.game.areas.terrain
-
Render a tiled terrain for a given tiled map and orientation.
- TerrainComponent(OrthographicCamera, TiledMap, TiledMapRenderer, TerrainComponent.TerrainOrientation, float) - Constructor for class com.deco2800.game.areas.terrain.TerrainComponent
- TerrainComponent.TerrainOrientation - Enum Class in com.deco2800.game.areas.terrain
- TerrainFactory - Class in com.deco2800.game.areas.terrain
-
Factory for creating game terrains.
- TerrainFactory(CameraComponent) - Constructor for class com.deco2800.game.areas.terrain.TerrainFactory
-
Create a terrain factory with Orthogonal orientation
- TerrainFactory(CameraComponent, TerrainComponent.TerrainOrientation) - Constructor for class com.deco2800.game.areas.terrain.TerrainFactory
-
Create a terrain factory
- TerrainFactory.TerrainType - Enum Class in com.deco2800.game.areas.terrain
-
This enum should contain the different terrains in your game, e.g.
- TerrainTile - Class in com.deco2800.game.areas.terrain
-
Custom terrain tile implementation for tiled map terrain that stores additional properties we may want to have in the game, such as audio, walking speed, traversability by AI, etc.
- TerrainTile(TextureRegion) - Constructor for class com.deco2800.game.areas.terrain.TerrainTile
- textAreaChild - Static variable in class com.deco2800.game.components.npc.DialogueDisplay
- textAreaFemale - Static variable in class com.deco2800.game.components.npc.DialogueDisplay
- textAreaFriendlyCreature - Static variable in class com.deco2800.game.components.npc.DialogueDisplay
- textAreaFriendlyCreatureAlready - Static variable in class com.deco2800.game.components.npc.DialogueDisplay
- textAreaGuard - Static variable in class com.deco2800.game.components.npc.DialogueDisplay
- textAreaHumanGuard - Static variable in class com.deco2800.game.components.npc.DialogueDisplay
- textAreaHumanGuardAlready - Static variable in class com.deco2800.game.components.npc.DialogueDisplay
- textAreaMale - Static variable in class com.deco2800.game.components.npc.DialogueDisplay
- textAreaPlumberFriend - Static variable in class com.deco2800.game.components.npc.DialogueDisplay
- textAreaPlumberFriendAlready - Static variable in class com.deco2800.game.components.npc.DialogueDisplay
- textChild - Static variable in class com.deco2800.game.components.npc.DialogueDisplay
- textFemale - Static variable in class com.deco2800.game.components.npc.DialogueDisplay
- textFriendlyCreature - Static variable in class com.deco2800.game.components.npc.DialogueDisplay
- textFriendlyCreatureAlready - Static variable in class com.deco2800.game.components.npc.DialogueDisplay
- textGuard - Static variable in class com.deco2800.game.components.npc.DialogueDisplay
- textHumanGuard - Static variable in class com.deco2800.game.components.npc.DialogueDisplay
- textHumanGuardAlready - Static variable in class com.deco2800.game.components.npc.DialogueDisplay
- textMale - Static variable in class com.deco2800.game.components.npc.DialogueDisplay
- textPlumberFriend - Static variable in class com.deco2800.game.components.npc.DialogueDisplay
- textPlumberFriendAlready - Static variable in class com.deco2800.game.components.npc.DialogueDisplay
- TextureRenderComponent - Class in com.deco2800.game.rendering
-
Render a static texture.
- TextureRenderComponent(Texture) - Constructor for class com.deco2800.game.rendering.TextureRenderComponent
- TextureRenderComponent(String) - Constructor for class com.deco2800.game.rendering.TextureRenderComponent
- tileToWorldPosition(int, int) - Method in class com.deco2800.game.areas.terrain.TerrainComponent
- tileToWorldPosition(GridPoint2) - Method in class com.deco2800.game.areas.terrain.TerrainComponent
- toggleInventory() - Method in class com.deco2800.game.components.player.PlayerActions
-
Pressing the 'I' button toggles the inventory menu UI opening/closing.
- toggleInventoryDisplay() - Method in class com.deco2800.game.components.player.InventoryComponent
-
Displays the inventory menu if it is not opened.
- toggleIsOpen() - Method in class com.deco2800.game.ui.terminal.Terminal
-
Toggles between the terminal being open and closed.
- togglePauseAnimation() - Method in class com.deco2800.game.rendering.AnimationRenderComponent
- togglePauseAnimations(boolean) - Method in class com.deco2800.game.entities.Entity
-
Pauses all animations of registered entities.
- toggleSkillTree() - Method in class com.deco2800.game.components.gamearea.GameAreaDisplay
-
Toggles the skill tree display
- toggleSkillTreeDisplay() - Method in class com.deco2800.game.SkillsTree.SkillsTreeDisplay
-
Toggles the skill tree display
- toggleTimeStop() - Method in class com.deco2800.game.entities.EntityService
- ToiletPaper - Enum constant in enum class com.deco2800.game.crafting.Materials
- TOILETPAPER - Enum constant in enum class com.deco2800.game.entities.factories.EntityTypes
- TOP - Enum constant in enum class com.deco2800.game.physics.components.PhysicsComponent.AlignY
- toString() - Method in class com.deco2800.game.areas.ForestGameArea
-
toString returning a string of the classes name
- toString() - Method in class com.deco2800.game.areas.UndergroundGameArea
-
toString returning a string of the classes name
- toString() - Method in class com.deco2800.game.components.Component
- toString() - Method in class com.deco2800.game.entities.Entity
-
Convert this entity into string format
- toString() - Method in class com.deco2800.game.utils.StringDecorator
- TOUCH - Enum constant in enum class com.deco2800.game.input.InputFactory.InputType
- TouchAttackComponent - Class in com.deco2800.game.components
-
When this entity touches a valid enemy's hitbox, deal damage to them and apply a knockback.
- TouchAttackComponent(short) - Constructor for class com.deco2800.game.components.TouchAttackComponent
-
Create a component which attacks entities on collision, without knockback.
- TouchAttackComponent(short, float) - Constructor for class com.deco2800.game.components.TouchAttackComponent
-
Create a component which attacks entities on collision, with knockback.
- touchDown(float, float, int, int) - Method in class com.deco2800.game.input.InputComponent
- touchDown(float, float, int, int) - Method in class com.deco2800.game.input.InputService
-
Iterates over registered input handlers in descending priority and stops as soon as the input is processed
- touchDown(int, int, int, int) - Method in class com.deco2800.game.components.player.TouchPlayerInputComponent
-
Triggers the player attackEnemy.
- touchDown(int, int, int, int) - Method in class com.deco2800.game.input.InputComponent
- touchDown(int, int, int, int) - Method in class com.deco2800.game.input.InputDecorator
- touchDown(int, int, int, int) - Method in class com.deco2800.game.input.InputService
-
Iterates over registered input handlers in descending priority and stops as soon as the input is processed
- touchDragged(int, int, int) - Method in class com.deco2800.game.input.InputComponent
- touchDragged(int, int, int) - Method in class com.deco2800.game.input.InputDecorator
- touchDragged(int, int, int) - Method in class com.deco2800.game.input.InputService
-
Iterates over registered input handlers in descending priority and stops as soon as the input is processed
- TouchInputFactory - Class in com.deco2800.game.input
- TouchInputFactory() - Constructor for class com.deco2800.game.input.TouchInputFactory
- TouchPlayerInputComponent - Class in com.deco2800.game.components.player
-
Input handler for the player for keyboard and touch (mouse) input.
- TouchPlayerInputComponent() - Constructor for class com.deco2800.game.components.player.TouchPlayerInputComponent
- TouchTerminalInputComponent - Class in com.deco2800.game.ui.terminal
-
Input handler for the debug terminal for keyboard and touch (mouse) input.
- TouchTerminalInputComponent() - Constructor for class com.deco2800.game.ui.terminal.TouchTerminalInputComponent
- TouchTerminalInputComponent(Terminal) - Constructor for class com.deco2800.game.ui.terminal.TouchTerminalInputComponent
- touchUp(int, int, int, int) - Method in class com.deco2800.game.input.InputComponent
- touchUp(int, int, int, int) - Method in class com.deco2800.game.input.InputDecorator
- touchUp(int, int, int, int) - Method in class com.deco2800.game.input.InputService
-
Iterates over registered input handlers in descending priority and stops as soon as the input is processed
- TransitionInputComponent - Class in com.deco2800.game.components.leveltransition
-
Input handler for the player for keyboard and touch (mouse) input.
- TransitionInputComponent() - Constructor for class com.deco2800.game.components.leveltransition.TransitionInputComponent
- TransitionMapComponent - Class in com.deco2800.game.components.player
-
Class that handles the transition between maps - Team 5 1map4all @otili9890
- TransitionMapComponent() - Constructor for class com.deco2800.game.components.player.TransitionMapComponent
- transitionScreenStart() - Method in class com.deco2800.game.screens.MainGameScreen
-
Sets transition to true
- transitionTextures - Static variable in class com.deco2800.game.screens.MainMenuScreen
- transitionTextures - Static variable in class com.deco2800.game.screens.MainMenuTransitionScreen
- TransportTask - Class in com.deco2800.game.components.tasks
-
Transport to an entity if it is still in attacking range.
- TransportTask(Entity, int, float) - Constructor for class com.deco2800.game.components.tasks.TransportTask
-
Create a TransportTask with target entity, effective range and its task priority.
- tridentLvl2 - Variable in class com.deco2800.game.entities.configs.combatitemsconfig.WeaponConfigSetup
- trigger(String) - Method in class com.deco2800.game.events.EventHandler
-
Trigger an event with no arguments
- trigger(String, T) - Method in class com.deco2800.game.events.EventHandler
-
Trigger an event with one argument
- trigger(String, T0, T1) - Method in class com.deco2800.game.events.EventHandler
-
Trigger an event with one argument
- trigger(String, T0, T1, T2) - Method in class com.deco2800.game.events.EventHandler
-
Trigger an event with one argument
- triggerEarlyUpdate() - Method in class com.deco2800.game.components.Component
-
Used to trigger the component to early-update itself.
- triggerExperienceGain() - Method in class com.deco2800.game.components.npc.EnemyExperienceComponent
- triggerUpdate() - Method in class com.deco2800.game.components.Component
-
Used to trigger the component to update itself.
U
- UIComponent - Class in com.deco2800.game.ui
-
A generic component for rendering onto the ui.
- UIComponent() - Constructor for class com.deco2800.game.ui.UIComponent
- uiScale - Variable in class com.deco2800.game.files.UserSettings.Settings
-
ui Scale.
- ULTIMATE - Enum constant in enum class com.deco2800.game.components.player.PlayerSkillComponent.SkillTypes
- UndergroundGameArea - Class in com.deco2800.game.areas
-
Underground area for the demo game with trees, a player, and some enemies.
- UndergroundGameArea(TerrainFactory) - Constructor for class com.deco2800.game.areas.UndergroundGameArea
- unequipItem(int) - Method in class com.deco2800.game.components.player.InventoryComponent
-
Unequips the item in the given item slot.
- unloadAssets(String[]) - Method in class com.deco2800.game.services.ResourceService
- unloadKeyBindAssets() - Method in class com.deco2800.game.components.maingame.OpenKeyBinds
-
Unload the keybinding key image assets.
- unpauseGame() - Static method in class com.deco2800.game.entities.EntityService
-
Unpause the game.
- unregister(Entity) - Method in class com.deco2800.game.entities.EntityService
-
Unregister an entity with the entity service.
- unregister(InputComponent) - Method in class com.deco2800.game.input.InputService
-
Unregister an input handler
- unregister(Renderable) - Method in class com.deco2800.game.rendering.RenderService
-
Unregister a renderable.
- UP - Static variable in class com.deco2800.game.utils.math.Vector2Utils
- update() - Method in class com.deco2800.game.ai.tasks.AITaskComponent
-
On update, run the current highest priority task.
- update() - Method in class com.deco2800.game.ai.tasks.DefaultTask
- update() - Method in interface com.deco2800.game.ai.tasks.Task
-
Run one frame of the task.
- update() - Method in class com.deco2800.game.components.CameraComponent
- update() - Method in class com.deco2800.game.components.combatitemscomponents.WeaponArrowProjectileComponent
-
Sets the projectile to move in a certain direction at a certain speed and updates the projectile to keep moving at that speed.
- update() - Method in class com.deco2800.game.components.combatitemscomponents.WeaponAuraManager
- update() - Method in class com.deco2800.game.components.Component
-
Called once per frame of the game, and should be used for most component logic.
- update() - Method in class com.deco2800.game.components.leveltransition.LevelTransitionDisplay
-
Custom update function to work as a pseudo-animation controller.
- update() - Method in class com.deco2800.game.components.mainmenu.MainMenuDisplayProMax
- update() - Method in class com.deco2800.game.components.mainmenu.MainMenuTransitionAnimation
- update() - Method in class com.deco2800.game.components.npc.EnemyProjectileComponent
-
Sets the projectile to move in a certain direction at a certain speed and updates the projectile to keep moving at that speed.
- update() - Method in class com.deco2800.game.components.player.Countdown
-
Called every frame.
- update() - Method in class com.deco2800.game.components.player.PlayerActions
- update() - Method in class com.deco2800.game.components.player.PlayerCombatAnimationController
-
Updates the combat item animator to always be overlaid the player entity
- update() - Method in class com.deco2800.game.components.player.PlayerKPAnimationController
-
Updates the skill animator to always be overlaid the player entity
- update() - Method in class com.deco2800.game.components.player.PlayerModifier
-
Triggers on frame update.
- update() - Method in class com.deco2800.game.components.player.PlayerSkillAnimationController
-
Updates the skill animator to always be overlaid the player entity
- update() - Method in class com.deco2800.game.components.player.PlayerSkillComponent
-
Update should update the cooldowns/state of skills within the skill manager
- update() - Method in class com.deco2800.game.components.player.PlayerSkillProjectileComponent
-
Sets the projectile to move in a certain direction at a certain speed and updates the projectile to keep moving at that speed.
- update() - Method in class com.deco2800.game.components.player.PlayerTouchAttackComponent
- update() - Method in class com.deco2800.game.components.settingsmenu.SettingsMenuDisplay
- update() - Method in class com.deco2800.game.components.tasks.ChaseTask
-
Update chase task.
- update() - Method in class com.deco2800.game.components.tasks.DeadTask
-
Update this task
- update() - Method in class com.deco2800.game.components.tasks.JumpTask
-
Update the jump task.
- update() - Method in class com.deco2800.game.components.tasks.MovementTask
-
Update movement task
- update() - Method in class com.deco2800.game.components.tasks.ProjectileTask
-
Update projectile task.
- update() - Method in class com.deco2800.game.components.tasks.TransportTask
-
Update the transport task.
- update() - Method in class com.deco2800.game.components.tasks.WaitTask
-
Update wait task.
- update() - Method in class com.deco2800.game.components.tasks.WanderTask
-
Update this task.
- update() - Method in class com.deco2800.game.entities.Entity
-
Perform an update on all components.
- update() - Method in class com.deco2800.game.entities.EntityService
-
Update all registered entities.
- update() - Method in class com.deco2800.game.physics.components.PhysicsMovementComponent
- update() - Method in class com.deco2800.game.physics.PhysicsEngine
- updateInventoryDisplay() - Method in class com.deco2800.game.components.gamearea.GameAreaDisplay
- updateMaxSpeed(float) - Method in class com.deco2800.game.components.player.PlayerActions
-
Public function to set new max speed.
- updatePlayerHealthUI(int) - Method in class com.deco2800.game.components.player.PlayerStatsDisplay
-
Updates the player's health on the ui.
- updatePlayerManaUI(int) - Method in class com.deco2800.game.components.player.PlayerStatsDisplay
-
Updates the player's mana on the ui.
- updatePlayerStaminaUI(int) - Method in class com.deco2800.game.components.player.PlayerStatsDisplay
-
Updates the player's stamina on the ui.
- updatePotionTable() - Static method in class com.deco2800.game.components.player.QuickBarDisplay
- UserSettings - Class in com.deco2800.game.files
-
Reading, Writing, and applying user settings in the game.
- UserSettings.DisplaySettings - Class in com.deco2800.game.files
-
Stores chosen display settings.
- UserSettings.Settings - Class in com.deco2800.game.files
-
Stores game settings, can be serialised/deserialised.
V
- valueOf(String) - Static method in enum class com.deco2800.game.ai.tasks.Task.Status
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.deco2800.game.areas.terrain.TerrainComponent.TerrainOrientation
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.deco2800.game.areas.terrain.TerrainFactory.TerrainType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.deco2800.game.components.player.KeyboardPlayerInputComponent.MenuTypes
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.deco2800.game.components.player.PlayerSkillComponent.SkillTypes
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.deco2800.game.crafting.Materials
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.deco2800.game.entities.factories.ArmourFactory.ArmourType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.deco2800.game.entities.factories.EntityTypes
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.deco2800.game.files.FileLoader.Location
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.deco2800.game.GdxGame.ScreenType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.deco2800.game.input.InputFactory.InputType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.deco2800.game.physics.components.PhysicsComponent.AlignX
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.deco2800.game.physics.components.PhysicsComponent.AlignY
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.deco2800.game.ai.tasks.Task.Status
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.deco2800.game.areas.terrain.TerrainComponent.TerrainOrientation
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.deco2800.game.areas.terrain.TerrainFactory.TerrainType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.deco2800.game.components.player.KeyboardPlayerInputComponent.MenuTypes
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.deco2800.game.components.player.PlayerSkillComponent.SkillTypes
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.deco2800.game.crafting.Materials
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.deco2800.game.entities.factories.ArmourFactory.ArmourType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.deco2800.game.entities.factories.EntityTypes
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.deco2800.game.files.FileLoader.Location
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.deco2800.game.GdxGame.ScreenType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.deco2800.game.input.InputFactory.InputType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.deco2800.game.physics.components.PhysicsComponent.AlignX
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.deco2800.game.physics.components.PhysicsComponent.AlignY
-
Returns an array containing the constants of this enum class, in the order they are declared.
- Vector2Utils - Class in com.deco2800.game.utils.math
-
Contains additional utility constants and functions for common Vector2 operations.
- vitality - Variable in class com.deco2800.game.components.DefensiveItemsComponents.ArmourConfig
- vitality - Variable in class com.deco2800.game.components.DefensiveItemsComponents.ArmourStatsComponent
- vsync - Variable in class com.deco2800.game.files.UserSettings.Settings
W
- waiting() - Method in class com.deco2800.game.components.tasks.ProjectileTask
-
If entity is waiting, set its task to shoot
- WaitTask - Class in com.deco2800.game.components.tasks
-
Task that does nothing other than waiting for a given time.
- WaitTask(float) - Constructor for class com.deco2800.game.components.tasks.WaitTask
- walk(Vector2) - Method in class com.deco2800.game.components.player.PlayerActions
-
Moves the player towards a given direction.
- WanderTask - Class in com.deco2800.game.components.tasks
-
Wander around by moving a random position within a range of the starting position.
- WanderTask(Vector2, float) - Constructor for class com.deco2800.game.components.tasks.WanderTask
- weapon - Variable in class com.deco2800.game.entities.configs.combatitemsconfig.WeaponConfig
- WEAPON - Enum constant in enum class com.deco2800.game.entities.factories.EntityTypes
- WeaponArrowProjectileComponent - Class in com.deco2800.game.components.combatitemscomponents
- WeaponArrowProjectileComponent() - Constructor for class com.deco2800.game.components.combatitemscomponents.WeaponArrowProjectileComponent
- WeaponAuraComponent - Class in com.deco2800.game.components.combatitemscomponents
-
Component used to store information and methods related to weapon buffs, debuffs and curses.
- WeaponAuraComponent(int, double, double, double, double) - Constructor for class com.deco2800.game.components.combatitemscomponents.WeaponAuraComponent
- WeaponAuraComponent(int, double, double, String) - Constructor for class com.deco2800.game.components.combatitemscomponents.WeaponAuraComponent
- WeaponAuraManager - Class in com.deco2800.game.components.combatitemscomponents
- WeaponAuraManager() - Constructor for class com.deco2800.game.components.combatitemscomponents.WeaponAuraManager
- WeaponConfig - Class in com.deco2800.game.entities.configs.combatitemsconfig
-
Defines a basic set of (melee weapon) properties stored in Weapon config files to be loaded by Weapon Factory.
- WeaponConfig() - Constructor for class com.deco2800.game.entities.configs.combatitemsconfig.WeaponConfig
- WeaponConfigSetup - Class in com.deco2800.game.entities.configs.combatitemsconfig
-
Defines all weapon configs to be loaded by the Weapon Factory.
- WeaponConfigSetup() - Constructor for class com.deco2800.game.entities.configs.combatitemsconfig.WeaponConfigSetup
- WeaponFactory - Class in com.deco2800.game.entities.factories
-
Factory to create Weapon entities.
- WeaponStatsComponent - Class in com.deco2800.game.components.combatitemscomponents
-
Component used to store information and methods related to combat such as health, attack, etc.
- WeaponStatsComponent(double, double, Map<Materials, Integer>, String) - Constructor for class com.deco2800.game.components.combatitemscomponents.WeaponStatsComponent
- weight - Variable in class com.deco2800.game.components.DefensiveItemsComponents.ArmourConfig
- weight - Variable in class com.deco2800.game.components.DefensiveItemsComponents.ArmourStatsComponent
- weight - Variable in class com.deco2800.game.entities.configs.combatitemsconfig.WeaponConfig
- width - Variable in class com.deco2800.game.files.UserSettings.DisplaySettings
- WIN_SCREEN - Enum constant in enum class com.deco2800.game.GdxGame.ScreenType
- winScreenStart() - Method in class com.deco2800.game.screens.MainGameScreen
-
Sets win to true
- Wood - Enum constant in enum class com.deco2800.game.crafting.Materials
- WOOD - Enum constant in enum class com.deco2800.game.entities.factories.EntityTypes
- writeClass(Object, String) - Static method in class com.deco2800.game.files.FileLoader
-
Write generic Java classes to a JSON file.
- writeClass(Object, String, FileLoader.Location) - Static method in class com.deco2800.game.files.FileLoader
-
Write generic Java classes to a JSON file.
Z
- ZERO - Static variable in class com.deco2800.game.utils.math.GridPoint2Utils
- zoom(float, float) - Method in class com.deco2800.game.input.InputComponent
- zoom(float, float) - Method in class com.deco2800.game.input.InputService
-
Iterates over registered input handlers in descending priority and stops as soon as the input is processed
All Classes and Interfaces|All Packages|Constant Field Values