Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- ABSOLUTE - Enum constant in enum class com.deco2800.game.files.FileLoader.Location
- Achievement - Class in com.deco2800.game.achievements
-
A class that represents an achievement.
- Achievement() - Constructor for class com.deco2800.game.achievements.Achievement
- Achievement(int, AchievementType, boolean, boolean, boolean, String, String) - Constructor for class com.deco2800.game.achievements.Achievement
- AchievementButton - Class in com.deco2800.game.components.achievements
-
Extends TextButton to store what type of achievement the button is representing
- AchievementButton(Drawable, Drawable, Drawable, AchievementType) - Constructor for class com.deco2800.game.components.achievements.AchievementButton
- AchievementData - Class in com.deco2800.game.achievements
- AchievementData() - Constructor for class com.deco2800.game.achievements.AchievementData
- AchievementData(long, ArrayList<Achievement>) - Constructor for class com.deco2800.game.achievements.AchievementData
- AchievementFactory - Class in com.deco2800.game.achievements
-
Creates a fresh list of game achievements
- AchievementFactory() - Constructor for class com.deco2800.game.achievements.AchievementFactory
- AchievementHandler - Class in com.deco2800.game.services
-
Service for handling the loading, updating and saving of game achievements
- AchievementHandler() - Constructor for class com.deco2800.game.services.AchievementHandler
-
Initialise the achievement handler.
- AchievementInterface - Class in com.deco2800.game.components.achievements
-
Base achievement display class to be extended by achievement type screens
- AchievementInterface() - Constructor for class com.deco2800.game.components.achievements.AchievementInterface
- AchievementPopupComponent - Class in com.deco2800.game.components.achievements
-
Builds and displays an achievement widget that is displayed momentarily when a player makes a new achievement in the game.
- AchievementPopupComponent() - Constructor for class com.deco2800.game.components.achievements.AchievementPopupComponent
- AchievementProgressBar - Class in com.deco2800.game.components.achievements
-
Progressbar used to show completion of achievements
- AchievementProgressBar(int, int, int, boolean, AchievementType) - Constructor for class com.deco2800.game.components.achievements.AchievementProgressBar
- AchievementType - Enum Class in com.deco2800.game.achievements
-
Represents each type of achievement in the game each type can have many achievements
- 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
- add(GridPoint2, Tile) - Method in class com.deco2800.game.entities.UGS
-
Adds a new entry to the UGS
- add(Memento) - Method in class com.deco2800.game.memento.CareTaker
-
adds the selected memento into the caretaker
- addActors() - Method in class com.deco2800.game.components.maingame.MainGameBuildingInterface
- addActors() - Method in class com.deco2800.game.components.maingame.MainGameNpcInterface
- 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.
- addAttack(int) - Method in class com.deco2800.game.components.CombatStatsComponent
- addBuilding(ShopBuilding) - Method in class com.deco2800.game.components.player.InventoryComponent
- 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.
- addEntity(Entity) - Method in class com.deco2800.game.areas.terrain.EnvironmentalCollision
-
Adds a new entity to hashtable
- addEntity(Entity) - Method in class com.deco2800.game.entities.EntityService
-
Adds a new entity to hashtable
- addEquipmentToList(Equipments) - Method in class com.deco2800.game.components.player.InventoryComponent
- addExitButtonEvent(ImageButton) - Method in class com.deco2800.game.components.achievements.AchievementInterface
-
Add listener to provided ImageButton, will close achievement interface
- addGold(int) - Method in class com.deco2800.game.components.player.InventoryComponent
-
Adds to the player's gold.
- addHealth(int) - Method in class com.deco2800.game.components.CombatStatsComponent
-
Adds to the player's health.
- addItems(Artefact) - Method in class com.deco2800.game.components.player.InventoryComponent
- 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
- addListeners(EventHandler) - Method in class com.deco2800.game.components.achievements.AchievementPopupComponent
-
Connects the listeners when invoked from handler
- addResources(ResourceType, int) - Method in class com.deco2800.game.components.player.InventoryComponent
- addStone(int) - Method in class com.deco2800.game.components.player.InventoryComponent
-
Adds to the player's stone.
- addStructure(Entity) - Method in class com.deco2800.game.entities.UGS
- addTarget(Entity) - Method in class com.deco2800.game.components.tasks.ShootMultipleTask
-
Adds a target to the target list
- addTask(PriorityTask) - Method in class com.deco2800.game.ai.tasks.AITaskComponent
-
Add a priority task to the list of tasks.
- addToDestroyEntities(Entity) - Method in class com.deco2800.game.entities.EntityService
- addWood(int) - Method in class com.deco2800.game.components.player.InventoryComponent
-
Adds to the player's wood.
- AITaskComponent - Class in com.deco2800.game.ai.tasks
-
Task-based AI component.
- AITaskComponent() - Constructor for class com.deco2800.game.ai.tasks.AITaskComponent
- ALL - Enum constant in enum class com.deco2800.game.components.Environmental.CollisionEffectComponent.EffectTarget
- ALL - Static variable in class com.deco2800.game.physics.PhysicsLayer
- allCompleted() - Method in class com.deco2800.game.services.AchievementHandler
-
Checks if all achievements have been completed
- allCompletedOfType(AchievementType) - Method in class com.deco2800.game.services.AchievementHandler
-
Checks if all achievements of a specific type are completed
- 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.
- AnimationController - Class in com.deco2800.game.components.player
-
This class listens to events relevant to a main player entity's state and plays the animation when one of the events is triggered.
- AnimationController() - Constructor for class com.deco2800.game.components.player.AnimationController
- 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.
- AOEDamageComponent - Class in com.deco2800.game.components
- AOEDamageComponent(int, int, int) - Constructor for class com.deco2800.game.components.AOEDamageComponent
- appendToMessage(char) - Method in class com.deco2800.game.ui.terminal.Terminal
-
Appends the character to the end of the entered message.
- applySettings(UserSettings.Settings) - Static method in class com.deco2800.game.files.UserSettings
-
Apply the given settings without storing them.
- areaEntities - Variable in class com.deco2800.game.areas.GameArea
- armor - Variable in class com.deco2800.game.memento.Originator
- Artefact - Enum Class in com.deco2800.game.components.shop.artefacts
- ArtefactConfig - Class in com.deco2800.game.entities.configs
- ArtefactConfig() - Constructor for class com.deco2800.game.entities.configs.ArtefactConfig
- ArtefactShopDisplay - Class in com.deco2800.game.components.shop
- ArtefactShopDisplay() - Constructor for class com.deco2800.game.components.shop.ArtefactShopDisplay
- ARTIFACT - Enum constant in enum class com.deco2800.game.components.infrastructure.ResourceType
- AtlantisSinks - Class in com.deco2800.game
-
Entry point of the non-platform-specific game logic.
- AtlantisSinks() - Constructor for class com.deco2800.game.AtlantisSinks
- AtlantisSinks.ScreenType - Enum Class in com.deco2800.game
- attack - Variable in class com.deco2800.game.entities.configs.ArtefactConfig
- attack - Variable in class com.deco2800.game.entities.configs.EquipmentConfig
- attack - Variable in class com.deco2800.game.entities.configs.ShopBuildingConfig
- attack - Variable in class com.deco2800.game.memento.Originator
- attackMultiplier - Variable in class com.deco2800.game.components.shop.artefacts.Equipment
- AXE - Enum constant in enum class com.deco2800.game.components.shop.equipments.Equipments
B
- BACKGROUND_MUSIC - Static variable in class com.deco2800.game.areas.ForestGameArea
- BACKGROUND_SOUNDS - Static variable in class com.deco2800.game.areas.ForestGameArea
- baseAttack - Variable in class com.deco2800.game.entities.configs.BaseEntityConfig
- baseAttack - Variable in class com.deco2800.game.entities.configs.BaseStructureConfig
- baseDefense - Variable in class com.deco2800.game.entities.configs.PlayerConfig
- 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
- BaseStructureConfig - Class in com.deco2800.game.entities.configs
-
Defines a basic set of properties stored in entities config files to be loaded by Entity Factories.
- BaseStructureConfig() - Constructor for class com.deco2800.game.entities.configs.BaseStructureConfig
- BED - Enum constant in enum class com.deco2800.game.components.shop.artefacts.Artefact
- bedAbility(float, int) - Method in class com.deco2800.game.components.InventoryDisplay
- beginContact(Contact) - Method in class com.deco2800.game.physics.PhysicsContactListener
- BLACK - Static variable in class com.deco2800.game.areas.ForestGameArea
- BLACK_IMAGE - Static variable in class com.deco2800.game.rendering.DayNightCycleComponent
- 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
- bookStatus - Static variable in class com.deco2800.game.components.Guidebook.GuidebookDisplay
- BOSS - Enum constant in enum class com.deco2800.game.components.npc.EntityClassification.NPCClassification
- BossAnimationController - Class in com.deco2800.game.components.npc
- BossAnimationController() - Constructor for class com.deco2800.game.components.npc.BossAnimationController
- BOTTOM - Enum constant in enum class com.deco2800.game.physics.components.PhysicsComponent.AlignY
- BountyComponent - Class in com.deco2800.game.components.tasks
- BountyComponent(int) - Constructor for class com.deco2800.game.components.tasks.BountyComponent
- BOW_AND_ARROW - Enum constant in enum class com.deco2800.game.components.shop.equipments.Equipments
- bright - Static variable in class com.deco2800.game.rendering.DayNightCycleComponent
- buildAchievementCard(Achievement) - Method in class com.deco2800.game.components.achievements.AchievementInterface
-
Builds an achievement card actor read to be displayed
- buildAchievementMilestoneButtons(Group, Achievement, Label) - Static method in class com.deco2800.game.components.achievements.AchievementInterface
-
Constructs the achievement milestone buttons for a given achievement
- buildAchievementSummaryCard(AchievementType) - Method in class com.deco2800.game.components.achievements.AchievementInterface
-
Creates an achievement summary card of the provided achievement type
- buildActor() - Method in class com.deco2800.game.components.achievements.AchievementProgressBar
- buildings - Variable in class com.deco2800.game.memento.Originator
- BUILDINGS - Enum constant in enum class com.deco2800.game.achievements.AchievementType
- BuildingShopDisplay - Class in com.deco2800.game.components.shop
- BuildingShopDisplay() - Constructor for class com.deco2800.game.components.shop.BuildingShopDisplay
- buildStructure(String, GridPoint2) - Static method in class com.deco2800.game.entities.StructureService
-
Builds a structure at specific location, gridPos.
- buildTempStructure(String) - Static method in class com.deco2800.game.entities.StructureService
-
Builds a structure and locks it to the mouse as the user decides where to build it
- BUTTON_FONT - Static variable in class com.deco2800.game.areas.ForestGameArea
C
- CameraActions - Class in com.deco2800.game.components.camera
- CameraActions() - Constructor for class com.deco2800.game.components.camera.CameraActions
- 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
- canBeApplied(EntityClassification.NPCClassification) - Method in class com.deco2800.game.components.npc.EffectNearBy
-
checks to see if the given type can be affected by buffs
- CareTaker - Class in com.deco2800.game.memento
-
the caretaker object records and stores the player state into the internal memory for the engine to retrieve in the future A combination of singleton and memento design pattern, which allows memento to be retrieved from anywhere in the game and restrict it to only having one instance, hence preventing duplication of memento and allows better management
- CareTaker() - Constructor for class com.deco2800.game.memento.CareTaker
- categoryTexture - Variable in class com.deco2800.game.components.shop.artefacts.Equipment
- 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
- change(String, Tile) - Method in class com.deco2800.game.entities.UGS
- changeDisplay(AchievementType) - Method in class com.deco2800.game.components.achievements.AchievementInterface
-
Change displayed achievement badges to those of the provided type.
- changeSelectedIcon() - Method in class com.deco2800.game.components.achievements.AchievementInterface
-
Sets all achievement icons to be checked, used for highlighting the selected achievement icon from the navigation panel
- 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
- checkAchievementStatus(long) - Method in class com.deco2800.game.services.AchievementHandler
-
Checks if an achievement has previously been completed, completes it if not
- checkCollision() - Method in class com.deco2800.game.physics.components.ProjectileMovementComponent
- checkEntityPlacement(GridPoint2, String) - Method in class com.deco2800.game.entities.UGS
-
Takes a String entityType and String coordinate and decides if that type of enity can spawn at that coordinate.
- checkOneNight(int) - Method in class com.deco2800.game.services.AchievementHandler
- checkStatAchievementMilestones(Achievement) - Method in class com.deco2800.game.services.AchievementHandler
-
Specific to Stat achievements.
- CHESTPLATE - Enum constant in enum class com.deco2800.game.components.shop.equipments.Equipments
- 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.
- clearTile() - Method in class com.deco2800.game.entities.Tile
-
Sets the Tile's entity parameter to null.
- clearVisualTiles() - Static method in class com.deco2800.game.entities.StructureService
-
Clear the coloured visual tiles by disposing of them
- CLOCK - Enum constant in enum class com.deco2800.game.components.shop.artefacts.Artefact
- clockAbility(float) - Method in class com.deco2800.game.components.InventoryDisplay
- CLOSED - Enum constant in enum class com.deco2800.game.screens.GuidebookStatus
- collectResources() - Method in class com.deco2800.game.entities.Entity
- collectResources() - Method in class com.deco2800.game.services.ResourceManagementService
-
Retrieves the resources produced and adds them to the players inventory.
- 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
- CollisionEffectComponent - Class in com.deco2800.game.components.Environmental
-
class containing collision effects defined by the CollisionEffect enum Entities implementing this must also implement ColliderComponent, PhysicsComponent and EnvironmentalComponent To make the effect AoE, a hitboxcomponent must also be added (change the size of hitboxcomponent to change AoE) At this stage, only speed is supported as an AoE effect By default, collision effects impact both players and NPCs.
- CollisionEffectComponent(CollisionEffectComponent.CollisionEffect, float) - Constructor for class com.deco2800.game.components.Environmental.CollisionEffectComponent
- CollisionEffectComponent.CollisionEffect - Enum Class in com.deco2800.game.components.Environmental
-
Collision effect
- CollisionEffectComponent.EffectTarget - Enum Class in com.deco2800.game.components.Environmental
-
Effect target
- com.deco2800.game - package com.deco2800.game
- com.deco2800.game.achievements - package com.deco2800.game.achievements
- 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.achievements - package com.deco2800.game.components.achievements
- com.deco2800.game.components.camera - package com.deco2800.game.components.camera
- com.deco2800.game.components.crystal - package com.deco2800.game.components.crystal
- com.deco2800.game.components.Environmental - package com.deco2800.game.components.Environmental
- com.deco2800.game.components.firstnight - package com.deco2800.game.components.firstnight
- com.deco2800.game.components.gamearea - package com.deco2800.game.components.gamearea
- com.deco2800.game.components.Guidebook - package com.deco2800.game.components.Guidebook
- com.deco2800.game.components.infrastructure - package com.deco2800.game.components.infrastructure
- com.deco2800.game.components.loadingPage - package com.deco2800.game.components.loadingPage
- 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.shop - package com.deco2800.game.components.shop
- com.deco2800.game.components.shop.artefacts - package com.deco2800.game.components.shop.artefacts
- com.deco2800.game.components.shop.equipments - package com.deco2800.game.components.shop.equipments
- com.deco2800.game.components.storyline - package com.deco2800.game.components.storyline
- com.deco2800.game.components.tasks - package com.deco2800.game.components.tasks
- com.deco2800.game.concurrency - package com.deco2800.game.concurrency
- com.deco2800.game.entities - package com.deco2800.game.entities
- com.deco2800.game.entities.configs - package com.deco2800.game.entities.configs
- 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.memento - package com.deco2800.game.memento
- 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.configs - package com.deco2800.game.services.configs
- 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) - Constructor for class com.deco2800.game.components.CombatStatsComponent
- CombatStatsComponent(int, int, int) - Constructor for class com.deco2800.game.components.CombatStatsComponent
- CombatStatsComponent(int, int, int, int) - Constructor for class com.deco2800.game.components.CombatStatsComponent
-
Combat Stats Component with extra parameter level to enable levelling up of entities
- CombatStatsComponent(int, int, int, int, int) - Constructor for class com.deco2800.game.components.CombatStatsComponent
-
Combat Stats Component with maxHealth parameter to enable increase of maxHealth with each level upgrade independent to current health (For crystal) Implements baseAttack, defense which are no use to crystal as constructor with 3 parameters is already present
- 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.
- config - Variable in class com.deco2800.game.services.DayNightCycleService
- connectPopupListeners() - Method in class com.deco2800.game.services.AchievementHandler
-
Connects listeners for popup notification widget
- 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
- content - Variable in class com.deco2800.game.services.configs.Page
- ContinuousAttackComponent - Class in com.deco2800.game.components.npc
-
Continuous attack component - melee enemies will attack non-enemy attackable objects periodically while colliding with them
- ContinuousAttackComponent(long, long) - Constructor for class com.deco2800.game.components.npc.ContinuousAttackComponent
-
continuousAttackComponent
- COOL_OFF - Static variable in class com.deco2800.game.components.achievements.AchievementPopupComponent
-
Milliseconds to wait before displaying popups
- count - Variable in class com.deco2800.game.areas.ForestGameArea
- countInEquipmentList(Equipments) - Method in class com.deco2800.game.components.player.InventoryComponent
- create() - Method in class com.deco2800.game.ai.tasks.AITaskComponent
-
create, called after component has been attached to an entity
- 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.GuidebookArea
- create() - Method in class com.deco2800.game.AtlantisSinks
- create() - Method in class com.deco2800.game.components.achievements.AchievementInterface
-
Create the achievement base display
- create() - Method in class com.deco2800.game.components.achievements.AchievementPopupComponent
-
Initialises component.
- create() - Method in class com.deco2800.game.components.AOEDamageComponent
- create() - Method in class com.deco2800.game.components.camera.CameraActions
- 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.crystal.CrystalAnimationController
- create() - Method in class com.deco2800.game.components.DayNightClockComponent
-
Creates the clock UI component and adds the event listener for EVENT_PART_OF_DAY_PASSED from DayNightCycleService
- create() - Method in class com.deco2800.game.components.Environmental.CollisionEffectComponent
-
initialise the collisionEffect.
- create() - Method in class com.deco2800.game.components.Environmental.EnvironmentalComponent
-
Sets the component to be UNDEFINED on startup
- create() - Method in class com.deco2800.game.components.firstnight.FirstNightActions
- create() - Method in class com.deco2800.game.components.firstnight.FirstNightDisplay
- 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.Guidebook.GuidebookActions
- create() - Method in class com.deco2800.game.components.Guidebook.GuidebookDisplay
- create() - Method in class com.deco2800.game.components.Guidebook.GuidebookExitDisplay
- create() - Method in class com.deco2800.game.components.HealthBarComponent
-
As soon as the entity is created we want to get its CombatStatsComponent.
- create() - Method in class com.deco2800.game.components.infrastructure.TrapComponent
- create() - Method in class com.deco2800.game.components.InventoryDisplay
- create() - Method in class com.deco2800.game.components.loadingPage.LoadingActions
- create() - Method in class com.deco2800.game.components.loadingPage.LoadingDisplay
- create() - Method in class com.deco2800.game.components.maingame.EpilogueLayover
- create() - Method in class com.deco2800.game.components.maingame.MainGameActions
- create() - Method in class com.deco2800.game.components.maingame.MainGameBuildingInterface
- create() - Method in class com.deco2800.game.components.maingame.MainGameExitDisplay
- create() - Method in class com.deco2800.game.components.maingame.MainGameInterface
- create() - Method in class com.deco2800.game.components.maingame.MainGameNpcInterface
- create() - Method in class com.deco2800.game.components.maingame.MainGameTutorials
- create() - Method in class com.deco2800.game.components.mainmenu.loader
- 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.npc.BossAnimationController
- create() - Method in class com.deco2800.game.components.npc.ContinuousAttackComponent
-
creates the component, registering entity collision listeners starts looping through the list of colliders
- create() - Method in class com.deco2800.game.components.npc.NPCAnimationController
- create() - Method in class com.deco2800.game.components.player.AnimationController
- create() - Method in class com.deco2800.game.components.player.PlayerActions
- 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.RangeAttackComponent
- create() - Method in class com.deco2800.game.components.settingsmenu.SettingsMenuDisplay
- create() - Method in class com.deco2800.game.components.shop.ArtefactShopDisplay
- create() - Method in class com.deco2800.game.components.shop.BuildingShopDisplay
- create() - Method in class com.deco2800.game.components.shop.EquipmentsShopDisplay
- create() - Method in class com.deco2800.game.components.shop.ShopInterface
- create() - Method in class com.deco2800.game.components.storyline.epilogueDisplay
- create() - Method in class com.deco2800.game.components.storyline.prologueDisplay
- create() - Method in class com.deco2800.game.components.storyline.storyLineAction
- 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.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.physics.components.ProjectileMovementComponent
- create() - Method in class com.deco2800.game.rendering.RenderComponent
- 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.
- 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.
- createBaseStructure(String, String, boolean) - Static method in class com.deco2800.game.entities.factories.StructureFactory
-
Creates a generic Structure to be used as a base entity by more specific Structure creation methods.
- createBillboard() - Static method in class com.deco2800.game.entities.factories.ObstacleFactory
-
Creates a Billboard entity, which knocks players back on contact
- createBody(BodyDef) - Method in class com.deco2800.game.physics.PhysicsEngine
- createCamera() - Static method in class com.deco2800.game.entities.factories.RenderFactory
- createCrystal(String, String) - Static method in class com.deco2800.game.entities.factories.CrystalFactory
-
Creates a crystal entity.
- createCustomStatAchievementMileStones() - Static method in class com.deco2800.game.achievements.AchievementFactory
-
Creates a map for custom stat achievements milestones.
- createElectricEelEnemy(Entity, Entity) - Static method in class com.deco2800.game.entities.factories.NPCFactory
- createForCamera() - Method in class com.deco2800.game.input.InputFactory
- createForCamera() - Method in class com.deco2800.game.input.KeyboardInputFactory
-
Creates an input handler for the camera.
- createForCamera() - Method in class com.deco2800.game.input.TouchInputFactory
- 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
- createForStoryLine() - Method in class com.deco2800.game.input.InputFactory
- createForStoryLine() - Method in class com.deco2800.game.input.KeyboardInputFactory
-
Creates an input handler for the prolgoue Storyline
- createForStoryLine() - Method in class com.deco2800.game.input.TouchInputFactory
- 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
- createFromInputType(InputFactory.InputType) - Static method in class com.deco2800.game.input.InputFactory
- createGeyser() - Static method in class com.deco2800.game.entities.factories.ObstacleFactory
-
Creates a geyser, which damages and knocks back the player
- createImageTextButton(String, Color, String, float, TextureRegionDrawable, TextureRegionDrawable, Skin, Boolean) - Static method in class com.deco2800.game.components.shop.ShopUtils
- createInitialAchievements() - Static method in class com.deco2800.game.achievements.AchievementFactory
-
Creates all initial achievements in game
- createInventoryButton(String, Color, String, float, TextureRegionDrawable, TextureRegionDrawable, Skin, Boolean) - Static method in class com.deco2800.game.components.shop.ShopUtils
- createJoint(JointDef) - Method in class com.deco2800.game.physics.PhysicsEngine
- createMeleeBoss(Entity) - Static method in class com.deco2800.game.entities.factories.NPCFactory
-
Creates a melee boss entity
- createNormalNPC() - Static method in class com.deco2800.game.entities.factories.NPCFactory
-
Creates a new normal NPC.
- createPillar() - Static method in class com.deco2800.game.entities.factories.ObstacleFactory
-
creates a pillar entity
- createPirateCrabEnemy(Entity) - Static method in class com.deco2800.game.entities.factories.NPCFactory
-
Creates a pirate Crab entity
- createPlayer() - Static method in class com.deco2800.game.entities.factories.PlayerFactory
-
Create a player entity.
- createProjectile(Entity, Entity) - Static method in class com.deco2800.game.entities.factories.ProjectileFactory
- 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.
- createRock(String) - Static method in class com.deco2800.game.entities.factories.ObstacleFactory
-
Creates a rock entity.
- createShell() - Static method in class com.deco2800.game.entities.factories.ObstacleFactory
- createShipwreckBack() - Static method in class com.deco2800.game.entities.factories.ObstacleFactory
-
creates a shipwreck entity (back)
- createShipwreckFront() - Static method in class com.deco2800.game.entities.factories.ObstacleFactory
-
creates a shipwreck entity (front)
- createSpecialNPC() - Static method in class com.deco2800.game.entities.factories.NPCFactory
-
Creates a new special NPC.
- createSpikyTree() - Static method in class com.deco2800.game.entities.factories.ObstacleFactory
-
Creates a spiky tree entity, which damages players and knocks them back on contact
- createStarFishEnemy(Entity, Entity) - Static method in class com.deco2800.game.entities.factories.NPCFactory
- createStoneQuarry(String) - Static method in class com.deco2800.game.entities.factories.ResourceBuildingFactory
-
Creates a Stone Quarry entity
- 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.
- createTextLabel(String, int, float) - Static method in class com.deco2800.game.utils.TextUtil
- createTower1(int, String, Boolean, int) - Static method in class com.deco2800.game.entities.factories.StructureFactory
-
Creates a tower1 entity.
- createTower2(int, String, Boolean, int) - Static method in class com.deco2800.game.entities.factories.StructureFactory
-
Creates a tower2 entity, adding various components to create a defensive tower
- createTower3(int, String, Boolean, int) - Static method in class com.deco2800.game.entities.factories.StructureFactory
-
Creates a tower3 entity, and adds various components to create a defensive tower.
- createTrap(String, Boolean, int) - Static method in class com.deco2800.game.entities.factories.StructureFactory
-
Creates a trap entity
- createTree() - Static method in class com.deco2800.game.entities.factories.ObstacleFactory
-
Creates a tree entity.
- createTree(String) - Static method in class com.deco2800.game.entities.factories.ObstacleFactory
-
Creates a tree entity.
- createTurret(String) - Static method in class com.deco2800.game.entities.factories.StructureFactory
- createVine() - Static method in class com.deco2800.game.entities.factories.ObstacleFactory
-
Creates a vine entity, which slows players down
- createVisualFeedbackTile(String, String) - Static method in class com.deco2800.game.entities.factories.StructureFactory
-
creates an entity of a coloured tile to show where a building can be placed
- createWall(float, float, float) - Static method in class com.deco2800.game.entities.factories.ObstacleFactory
-
Creates an invisible physics wall.
- createWall(String, Boolean, int) - Static method in class com.deco2800.game.entities.factories.StructureFactory
-
Creates a wall entity.
- createWoodCutter(String) - Static method in class com.deco2800.game.entities.factories.ResourceBuildingFactory
-
Creates a Wood Quarry entity
- createWoodenFence() - Static method in class com.deco2800.game.entities.factories.ObstacleFactory
-
creates a wooden fence entity
- creationMethod - Variable in class com.deco2800.game.files.Tuple
- crystal - Variable in class com.deco2800.game.areas.GameArea
- CRYSTAL - Static variable in class com.deco2800.game.components.CombatStatsComponent
- CrystalAnimationController - Class in com.deco2800.game.components.crystal
- CrystalAnimationController() - Constructor for class com.deco2800.game.components.crystal.CrystalAnimationController
- CrystalConfig - Class in com.deco2800.game.entities.configs
-
Defines the properties stored in crystal config files to be loaded by the Crystal Factory.
- CrystalConfig() - Constructor for class com.deco2800.game.entities.configs.CrystalConfig
- CrystalFactory - Class in com.deco2800.game.entities.factories
-
Factory to create crystal entity.
- CrystalService - Class in com.deco2800.game.entities.factories
- CrystalService() - Constructor for class com.deco2800.game.entities.factories.CrystalService
- currentCycleStatus - Variable in class com.deco2800.game.services.DayNightCycleService
- currentDayMillis - Variable in class com.deco2800.game.services.DayNightCycleService
- currentDayNumber - Variable in class com.deco2800.game.services.DayNightCycleService
- currentHealth - Variable in class com.deco2800.game.memento.Originator
- currentPage - Variable in class com.deco2800.game.components.Guidebook.GuidebookActions
- currentPage - Static variable in class com.deco2800.game.components.Guidebook.GuidebookDisplay
D
- DAMAGE - Enum constant in enum class com.deco2800.game.components.Environmental.CollisionEffectComponent.CollisionEffect
- damageSunkenBuildings() - Method in class com.deco2800.game.areas.terrain.TerrainComponent
-
Damages all buildings that are on water
- dark - Static variable in class com.deco2800.game.rendering.DayNightCycleComponent
- DAWN - Enum constant in enum class com.deco2800.game.services.DayNightCycleStatus
- DAWN_INTENSITY - Static variable in class com.deco2800.game.rendering.DayNightCycleComponent
- dawnLength - Variable in class com.deco2800.game.services.configs.DayNightCycleConfig
- DAY - Enum constant in enum class com.deco2800.game.services.DayNightCycleStatus
- DAY_INTENSITY - Static variable in class com.deco2800.game.rendering.DayNightCycleComponent
- dayLength - Variable in class com.deco2800.game.services.configs.DayNightCycleConfig
- DayNightClockComponent - Class in com.deco2800.game.components
-
Defines a Clock UI element that displays the current phase of the day/night cycle
- DayNightClockComponent() - Constructor for class com.deco2800.game.components.DayNightClockComponent
- DayNightCycleComponent - Class in com.deco2800.game.rendering
-
This class is responsible for shading the game screen when invoked in RendererService
- DayNightCycleComponent() - Constructor for class com.deco2800.game.rendering.DayNightCycleComponent
-
Creates a new DayNightCycleComponent.
- DayNightCycleConfig - Class in com.deco2800.game.services.configs
-
Defines a set of properties stored in config file to be loaded by the Day Night Cycle Service.
- DayNightCycleConfig() - Constructor for class com.deco2800.game.services.configs.DayNightCycleConfig
- DayNightCycleService - Class in com.deco2800.game.services
-
Service for managing the Day and Night cycle of the game.
- DayNightCycleService() - Constructor for class com.deco2800.game.services.DayNightCycleService
-
Empty method here for save game functionality DO NOT USE
- DayNightCycleService(GameTime, DayNightCycleConfig) - Constructor for class com.deco2800.game.services.DayNightCycleService
- DayNightCycleStatus - Enum Class in com.deco2800.game.services
-
Having ENUM for defining status of cycle
- 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.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
- decrementMapLvl() - Method in class com.deco2800.game.areas.terrain.TerrainComponent
-
Shrinks the map by hiding the current layer, and making the previous level visible.
- 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
- defenceMultiplier - Variable in class com.deco2800.game.components.shop.artefacts.Equipment
- defense - Variable in class com.deco2800.game.entities.configs.ArtefactConfig
- defense - Variable in class com.deco2800.game.entities.configs.CrystalConfig
- defense - Variable in class com.deco2800.game.entities.configs.EquipmentConfig
- defense - Variable in class com.deco2800.game.entities.configs.ShopBuildingConfig
- defense - Variable in class com.deco2800.game.memento.Originator
- deleteAll() - Static method in class com.deco2800.game.memento.CareTaker
- description - Variable in class com.deco2800.game.components.shop.artefacts.Equipment
- description - Variable in class com.deco2800.game.entities.configs.ArtefactConfig
- description - Variable in class com.deco2800.game.entities.configs.EquipmentConfig
- description - Variable in class com.deco2800.game.entities.configs.ShopBuildingConfig
- destroyBody(Body) - Method in class com.deco2800.game.physics.PhysicsEngine
- destroyed - Static variable in class com.deco2800.game.components.npc.EffectNearBy
- destroyJoint(Joint) - Method in class com.deco2800.game.physics.PhysicsEngine
- didHit - Variable in class com.deco2800.game.physics.raycast.SingleHitCallback
- die() - Method in class com.deco2800.game.components.player.PlayerActions
-
Kills the player
- disableAttackDamageBuff() - Method in class com.deco2800.game.components.npc.EffectNearBy
-
disable attack damage buff
- disableRegen() - Method in class com.deco2800.game.components.npc.EffectNearBy
-
disable regen buff
- disableSpeed() - Method in class com.deco2800.game.components.npc.EffectNearBy
-
disable speed buff
- display() - Method in class com.deco2800.game.components.mainmenu.MainMenuDisplay
- displayBook() - Method in class com.deco2800.game.components.Guidebook.GuidebookDisplay
-
Displays the guidebook according to the state defined in GuidebookDisplay.bookStatus
- displayLoadScreen() - Method in class com.deco2800.game.components.mainmenu.loader
- 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() - 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.GuidebookArea
- dispose() - Method in class com.deco2800.game.areas.terrain.TerrainComponent
- dispose() - Method in class com.deco2800.game.AtlantisSinks
- dispose() - Method in class com.deco2800.game.components.achievements.AchievementInterface
- dispose() - Method in class com.deco2800.game.components.achievements.AchievementPopupComponent
-
Clean up
- dispose() - Method in class com.deco2800.game.components.Component
-
Called when the component is disposed.
- dispose() - Method in class com.deco2800.game.components.DayNightClockComponent
-
Clears the current clock face
- dispose() - Method in class com.deco2800.game.components.firstnight.FirstNightDisplay
- 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.Guidebook.GuidebookDisplay
- dispose() - Method in class com.deco2800.game.components.Guidebook.GuidebookExitDisplay
- dispose() - Method in class com.deco2800.game.components.InventoryDisplay
- dispose() - Method in class com.deco2800.game.components.loadingPage.LoadingDisplay
- dispose() - Method in class com.deco2800.game.components.maingame.EpilogueLayover
- dispose() - Method in class com.deco2800.game.components.maingame.MainGameBuildingInterface
- dispose() - Method in class com.deco2800.game.components.maingame.MainGameExitDisplay
- dispose() - Method in class com.deco2800.game.components.maingame.MainGameInterface
- dispose() - Method in class com.deco2800.game.components.maingame.MainGameNpcInterface
- dispose() - Method in class com.deco2800.game.components.maingame.MainGameTutorials
- dispose() - Method in class com.deco2800.game.components.mainmenu.loader
- dispose() - Method in class com.deco2800.game.components.mainmenu.MainMenuDisplay
- dispose() - Method in class com.deco2800.game.components.player.PlayerStatsDisplay
- dispose() - Method in class com.deco2800.game.components.settingsmenu.SettingsMenuDisplay
- dispose() - Method in class com.deco2800.game.components.shop.ArtefactShopDisplay
- dispose() - Method in class com.deco2800.game.components.shop.BuildingShopDisplay
- dispose() - Method in class com.deco2800.game.components.shop.EquipmentsShopDisplay
- dispose() - Method in class com.deco2800.game.components.shop.ShopInterface
- dispose() - Method in class com.deco2800.game.components.storyline.epilogueDisplay
- dispose() - Method in class com.deco2800.game.components.storyline.prologueDisplay
- 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.entities.NpcService
-
Dispose all entities.
- dispose() - Method in class com.deco2800.game.entities.StructureService
-
Dispose all entities.
- 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.EpilogueScreen
- dispose() - Method in class com.deco2800.game.screens.FirstNightScreen
- dispose() - Method in class com.deco2800.game.screens.GuidebookScreen
- dispose() - Method in class com.deco2800.game.screens.LoadingScreen
- 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.PrologueScreen
- dispose() - Method in class com.deco2800.game.screens.SettingsScreen
- dispose() - Method in class com.deco2800.game.services.ResourceService
- dispose() - Method in class com.deco2800.game.ui.terminal.TerminalDisplay
- dispose(Entity) - Method in class com.deco2800.game.entities.UGS
-
This function is to be called anytime you
- DIVERT - Enum constant in enum class com.deco2800.game.components.Environmental.CollisionEffectComponent.CollisionEffect
- 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.achievements.AchievementInterface
- draw(SpriteBatch) - Method in class com.deco2800.game.components.achievements.AchievementPopupComponent
-
When the draw method is called we check if the popup queue is not empty and then display the one first in the list.
- draw(SpriteBatch) - Method in class com.deco2800.game.components.achievements.AchievementProgressBar
- draw(SpriteBatch) - Method in class com.deco2800.game.components.DayNightClockComponent
- draw(SpriteBatch) - Method in class com.deco2800.game.components.firstnight.FirstNightDisplay
- 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.Guidebook.GuidebookDisplay
- draw(SpriteBatch) - Method in class com.deco2800.game.components.Guidebook.GuidebookExitDisplay
- draw(SpriteBatch) - Method in class com.deco2800.game.components.HealthBarComponent
-
When the render calls draw we render the health bar with any adjustments made so it reflects the remaining or added heath
- draw(SpriteBatch) - Method in class com.deco2800.game.components.InventoryDisplay
- draw(SpriteBatch) - Method in class com.deco2800.game.components.loadingPage.LoadingDisplay
- draw(SpriteBatch) - Method in class com.deco2800.game.components.maingame.EpilogueLayover
- draw(SpriteBatch) - Method in class com.deco2800.game.components.maingame.MainGameBuildingInterface
- draw(SpriteBatch) - Method in class com.deco2800.game.components.maingame.MainGameExitDisplay
- draw(SpriteBatch) - Method in class com.deco2800.game.components.maingame.MainGameInterface
- draw(SpriteBatch) - Method in class com.deco2800.game.components.maingame.MainGameNpcInterface
- draw(SpriteBatch) - Method in class com.deco2800.game.components.maingame.MainGameTutorials
- draw(SpriteBatch) - Method in class com.deco2800.game.components.mainmenu.loader
- draw(SpriteBatch) - Method in class com.deco2800.game.components.mainmenu.MainMenuDisplay
- draw(SpriteBatch) - Method in class com.deco2800.game.components.player.PlayerStatsDisplay
- draw(SpriteBatch) - Method in class com.deco2800.game.components.settingsmenu.SettingsMenuDisplay
- draw(SpriteBatch) - Method in class com.deco2800.game.components.shop.ArtefactShopDisplay
- draw(SpriteBatch) - Method in class com.deco2800.game.components.shop.BuildingShopDisplay
- draw(SpriteBatch) - Method in class com.deco2800.game.components.shop.EquipmentsShopDisplay
- draw(SpriteBatch) - Method in class com.deco2800.game.components.shop.ShopInterface
- draw(SpriteBatch) - Method in class com.deco2800.game.components.storyline.epilogueDisplay
- draw(SpriteBatch) - Method in class com.deco2800.game.components.storyline.prologueDisplay
- 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.ui.terminal.TerminalDisplay
- DrawableUtil - Class in com.deco2800.game.utils
- DrawableUtil() - Constructor for class com.deco2800.game.utils.DrawableUtil
- 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
- drawVisualFeedback(GridPoint2, String) - Static method in class com.deco2800.game.entities.StructureService
-
Draw the coloured tiles around a structure to show the player where they can build a structure
- DUSK - Enum constant in enum class com.deco2800.game.services.DayNightCycleStatus
- DUSK_INTENSITY - Static variable in class com.deco2800.game.rendering.DayNightCycleComponent
- duskLength - Variable in class com.deco2800.game.services.configs.DayNightCycleConfig
E
- earlyUpdate() - Method in class com.deco2800.game.ai.tasks.AITaskComponent
-
On update, run the current highest priority task.
- 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.
- EffectNearBy - Class in com.deco2800.game.components.npc
-
Component that applies affects to enemies tagged with the ENEMY enum type Some affects include regen on enemies, speed buffs and attack/damage buffs
- EffectNearBy(Boolean, Boolean, Boolean) - Constructor for class com.deco2800.game.components.npc.EffectNearBy
-
Constructor method for effects nearby component.
- ElectricEel - Variable in class com.deco2800.game.entities.configs.NPCConfigs
- enableAttackDamageBuff() - Method in class com.deco2800.game.components.npc.EffectNearBy
-
enable attack damage buff
- enabled - Variable in class com.deco2800.game.components.Component
- enableRegen() - Method in class com.deco2800.game.components.npc.EffectNearBy
-
enable regen buff
- enableSpeed() - Method in class com.deco2800.game.components.npc.EffectNearBy
-
enable speed buff
- endContact(Contact) - Method in class com.deco2800.game.physics.PhysicsContactListener
- Enemy - Class in com.deco2800.game.entities
- Enemy() - Constructor for class com.deco2800.game.entities.Enemy
- ENEMY - Enum constant in enum class com.deco2800.game.components.npc.EntityClassification.NPCClassification
- ENEMY - Static variable in class com.deco2800.game.physics.PhysicsLayer
- EnemyConfig - Class in com.deco2800.game.entities.configs
-
Defines the properties stored in enemy config files to be loaded by the NPC Factory.
- EnemyConfig() - Constructor for class com.deco2800.game.entities.configs.EnemyConfig
- 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
- EntityClassification - Class in com.deco2800.game.components.npc
-
Classification System for NPC to be used by EffectsNearBY and other releated checking of entity types
- EntityClassification(EntityClassification.NPCClassification) - Constructor for class com.deco2800.game.components.npc.EntityClassification
-
Constructor method for Entity Classification
- EntityClassification.NPCClassification - Enum Class in com.deco2800.game.components.npc
-
Types of entities
- entityMapping - Variable in class com.deco2800.game.areas.GameArea
- 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
- EnvironmentalCollision - Class in com.deco2800.game.areas.terrain
-
Helper Class that stores entities on the map and checks collisions when given a new entity Used for placing environmental objects such as trees, rocks and buildings plus additional utility like finding closet entity to a point or retrieving a list of all environmental entities
- EnvironmentalCollision(TerrainComponent) - Constructor for class com.deco2800.game.areas.terrain.EnvironmentalCollision
-
Constructor method for the Environmental Collision.
- EnvironmentalComponent - Class in com.deco2800.game.components.Environmental
-
Universal component used for environmental objects.
- EnvironmentalComponent() - Constructor for class com.deco2800.game.components.Environmental.EnvironmentalComponent
- EnvironmentalComponent.EnvironmentalObstacle - Enum Class in com.deco2800.game.components.Environmental
-
Enum containing the associate values for the environmental component An environmental component has: resourceType: The type of resource resourceValue: The number of resources to be returned associated with resource type E.g A cobweb has resourceValue = 0, speedModifier = 0.6 indicating zero resources will be given when broken and when a player walks through it, their speed is reduced by 40%
- EnvironmentalComponent.ResourceTypes - Enum Class in com.deco2800.game.components.Environmental
-
Types of resources
- epilogueDisplay - Class in com.deco2800.game.components.storyline
- epilogueDisplay() - Constructor for class com.deco2800.game.components.storyline.epilogueDisplay
- EpilogueLayover - Class in com.deco2800.game.components.maingame
- EpilogueLayover() - Constructor for class com.deco2800.game.components.maingame.EpilogueLayover
- EpilogueScreen - Class in com.deco2800.game.screens
- EpilogueScreen(AtlantisSinks) - Constructor for class com.deco2800.game.screens.EpilogueScreen
- equals(Object) - Method in class com.deco2800.game.achievements.Achievement
- equals(Object) - Method in class com.deco2800.game.entities.Entity
- Equipment - Class in com.deco2800.game.components.shop.artefacts
-
Abstract Artefact class used to create diffrent child artefact types
- Equipment(String, int, String, double, double, double, String, String) - Constructor for class com.deco2800.game.components.shop.artefacts.Equipment
- EquipmentConfig - Class in com.deco2800.game.entities.configs
- EquipmentConfig() - Constructor for class com.deco2800.game.entities.configs.EquipmentConfig
- Equipments - Enum Class in com.deco2800.game.components.shop.equipments
- equipmentsList - Variable in class com.deco2800.game.memento.Originator
- EquipmentsShopDisplay - Class in com.deco2800.game.components.shop
- EquipmentsShopDisplay() - Constructor for class com.deco2800.game.components.shop.EquipmentsShopDisplay
- EVENT_ACHIEVEMENT_MADE - Static variable in class com.deco2800.game.services.AchievementHandler
-
Event string for regular achievement completion
- EVENT_BOSS_KILL - Static variable in class com.deco2800.game.services.AchievementHandler
-
Event string for boss kill
- EVENT_BUILDING_PLACED - Static variable in class com.deco2800.game.services.AchievementHandler
-
Event string for building placement
- EVENT_CLOSE_ALL - Static variable in class com.deco2800.game.components.maingame.MainGameActions
- EVENT_CRYSTAL_DAMAGED - Static variable in class com.deco2800.game.services.AchievementHandler
-
Event string for if crystal takes damage
- EVENT_CRYSTAL_UPGRADED - Static variable in class com.deco2800.game.services.AchievementHandler
-
Event string for crystal upgrade
- EVENT_DAY_PASSED - Static variable in class com.deco2800.game.services.DayNightCycleService
- EVENT_ENEMY_KILLED - Static variable in class com.deco2800.game.services.AchievementHandler
-
Event string for enemies killed
- EVENT_GAME_WON - Static variable in class com.deco2800.game.services.AchievementHandler
-
Event string for if the game was won
- EVENT_GUIDEBOOK_CLOSED - Static variable in class com.deco2800.game.services.AchievementHandler
-
Event string for when the guidebook is closed emitted by GuidebookScreen
- EVENT_INTERMITTENT_PART_OF_DAY_CLOCK - Static variable in class com.deco2800.game.services.DayNightCycleService
- EVENT_ON_TEMP_STRUCTURE_PLACED - Static variable in class com.deco2800.game.services.AchievementHandler
-
Event string for structure placement
- EVENT_OPEN_ACHIEVEMENTS - Static variable in class com.deco2800.game.components.achievements.AchievementInterface
-
Event string for opening the achievement screen
- EVENT_PART_OF_DAY_PASSED - Static variable in class com.deco2800.game.services.DayNightCycleService
- EVENT_PLAYER_CONTROL_TUT - Static variable in class com.deco2800.game.components.player.KeyboardPlayerInputComponent
- EVENT_REMOVE_NO_MINE - Static variable in class com.deco2800.game.components.player.KeyboardPlayerInputComponent
- EVENT_RESOURCE_ADDED - Static variable in class com.deco2800.game.services.AchievementHandler
-
Event string for resources being added
- EVENT_SHOP_ITEM_BOUGHT - Static variable in class com.deco2800.game.services.AchievementHandler
-
Event string for items bought in the shop
- EVENT_SHOW_PROMPTS - Static variable in class com.deco2800.game.components.player.PlayerActions
- EVENT_STAT_ACHIEVEMENT_MADE - Static variable in class com.deco2800.game.services.AchievementHandler
-
Event string for stat achievement completion
- EVENT_WALK_REV - Static variable in class com.deco2800.game.components.player.KeyboardPlayerInputComponent
- 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
- events - Variable in class com.deco2800.game.services.DayNightCycleService
- exit() - Method in class com.deco2800.game.AtlantisSinks
-
Exit the game.
- exitShop() - Method in class com.deco2800.game.areas.ForestGameArea
- EXTERNAL - Enum constant in enum class com.deco2800.game.files.FileLoader.Location
F
- fade() - Method in class com.deco2800.game.rendering.DayNightCycleComponent
-
Gradually fades to the next part of the day.
- FAILED - Enum constant in enum class com.deco2800.game.ai.tasks.Task.Status
- favouriteColour - Variable in class com.deco2800.game.entities.configs.PlayerConfig
- 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
- findClosestEnemy(int, int) - Method in class com.deco2800.game.entities.EntityService
-
Finds the closet entity based off euclidean distance from a given x,y point
- findClosestEntity(int, int) - Method in class com.deco2800.game.entities.EntityService
-
Finds the closet entity based off euclidean distance from a given x,y point
- FINISHED - Enum constant in enum class com.deco2800.game.ai.tasks.Task.Status
- FIRST_NIGHT - Enum constant in enum class com.deco2800.game.AtlantisSinks.ScreenType
- FirstNightActions - Class in com.deco2800.game.components.firstnight
-
This class listens to events relevant to the story line Screen and does something when one of the events is triggered.
- FirstNightActions(AtlantisSinks) - Constructor for class com.deco2800.game.components.firstnight.FirstNightActions
- FirstNightDisplay - Class in com.deco2800.game.components.firstnight
-
An ui component for displaying the storyline.
- FirstNightDisplay() - Constructor for class com.deco2800.game.components.firstnight.FirstNightDisplay
- FirstNightScreen - Class in com.deco2800.game.screens
- FirstNightScreen(AtlantisSinks) - Constructor for class com.deco2800.game.screens.FirstNightScreen
- fixture - Variable in class com.deco2800.game.physics.raycast.RaycastHit
-
Fixture which was hit.
- FLICK_NEXT - Enum constant in enum class com.deco2800.game.screens.GuidebookStatus
- FLICK_PREVIOUS - Enum constant in enum class com.deco2800.game.screens.GuidebookStatus
- 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, Boolean) - Constructor for class com.deco2800.game.areas.ForestGameArea
- format(String, int) - Method in class com.deco2800.game.components.Guidebook.GuidebookDisplay
-
Formats a String based on the maximum number of character required per line and places a newline character (i.e., \n) in between line blocks of total character counter less than or equal to the provided number per line
- fps - Variable in class com.deco2800.game.files.UserSettings.Settings
-
FPS cap of the game.
- fullscreen - Variable in class com.deco2800.game.files.UserSettings.Settings
G
- GAME - Enum constant in enum class com.deco2800.game.achievements.AchievementType
- 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
-
Displays the name of the current game area.
- GameAreaDisplay(String) - Constructor for class com.deco2800.game.components.gamearea.GameAreaDisplay
- gameRunning - Static variable in class com.deco2800.game.AtlantisSinks
- GameTime - Class in com.deco2800.game.services
-
Controls the game time
- GameTime() - Constructor for class com.deco2800.game.services.GameTime
- generateCoordinate(int, int) - Static method in class com.deco2800.game.entities.UGS
-
Generates a coordinate given an x and y value
- generateUGS() - Method in class com.deco2800.game.entities.UGS
-
Generates a Mapsize x Mapsize sized grid and initialises a Tile object in each coordinate.
- 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
- getAchievementById(int) - Method in class com.deco2800.game.services.AchievementHandler
-
Returns an achievement based on its id
- getAchievementData() - Method in class com.deco2800.game.achievements.Achievement
- getAchievementHandler() - Static method in class com.deco2800.game.services.ServiceLocator
- getAchievements() - Method in class com.deco2800.game.achievements.AchievementData
- getAchievements() - Method in class com.deco2800.game.services.AchievementHandler
-
Getter method for the achievement list
- getAchievementType() - Method in class com.deco2800.game.achievements.Achievement
- getAchievementType() - Method in class com.deco2800.game.components.achievements.AchievementProgressBar
- getActive() - Method in class com.deco2800.game.rendering.DebugRenderer
- getActor() - Method in class com.deco2800.game.components.achievements.AchievementProgressBar
- getAllartefactTypes() - Static method in enum class com.deco2800.game.components.shop.artefacts.Artefact
- getAllBuildingTypes() - Static method in enum class com.deco2800.game.components.shop.artefacts.ShopBuilding
- getAllEquipmentTypes() - Static method in enum class com.deco2800.game.components.shop.equipments.Equipments
- getAllLoadedAssets() - Method in class com.deco2800.game.services.ResourceService
- getAllNamedEntities() - Method in class com.deco2800.game.entities.EntityService
-
Returns all registered entities
- getAllNamedEntities() - Method in class com.deco2800.game.entities.NpcService
-
Returns all registered entities
- getAllNamedEntities() - Method in class com.deco2800.game.entities.StructureService
-
Returns all registered entities
- getAmbientColour() - Method in class com.deco2800.game.rendering.DayNightCycleComponent
- getAnimationName() - Method in class com.deco2800.game.rendering.AnimationRenderComponent
-
Returns animation name
- getAnimationName(Equipments) - Static method in enum class com.deco2800.game.components.shop.equipments.Equipments
- getArmor() - Method in class com.deco2800.game.components.player.InventoryComponent
- getArmor() - Method in class com.deco2800.game.memento.Memento
-
retrieve the armor that the player currently has
- getArmor() - Method in class com.deco2800.game.memento.Originator
-
returns the armor enum of the previously saved record
- getAsset(String, Class<T>) - Method in class com.deco2800.game.services.ResourceService
-
Load an asset from a file
- getAssetManager() - Method in class com.deco2800.game.services.ResourceService
- getAttack() - Method in class com.deco2800.game.memento.Memento
-
retrieve the attack value saved in the memento
- getAttack() - Method in class com.deco2800.game.memento.Originator
-
returns the attack value of the player
- getAttackMultiplier() - Method in class com.deco2800.game.components.CombatStatsComponent
- getAttackMultiplier() - Method in class com.deco2800.game.components.shop.artefacts.Equipment
-
Getter for equipment attack multiplier
- getBaseAttack() - Method in class com.deco2800.game.components.CombatStatsComponent
-
Returns the entity's base attack damage.
- getBaseDefense() - Method in class com.deco2800.game.components.CombatStatsComponent
- getBaseHealth() - Method in class com.deco2800.game.components.CombatStatsComponent
-
Returns the base health of the entity
- getBlendMode() - Method in class com.deco2800.game.areas.terrain.TerrainTile
- getBody() - Method in class com.deco2800.game.physics.components.PhysicsComponent
-
Get the physics body.
- getBordersPositionList() - Method in class com.deco2800.game.areas.terrain.TerrainFactory
- getBuildingCount(ShopBuilding) - Method in class com.deco2800.game.components.player.InventoryComponent
- getBuildings() - Method in class com.deco2800.game.components.player.InventoryComponent
- getBuildings() - Method in class com.deco2800.game.memento.Memento
- getBuildings() - Method in class com.deco2800.game.memento.Originator
-
retrieve the list of previously bought buildings
- getCamera() - Method in class com.deco2800.game.components.CameraComponent
- getCamera() - Method in class com.deco2800.game.rendering.Renderer
- getCameraComponent() - Method in class com.deco2800.game.utils.RenderUtil
-
Uses EntityService to fetch the "camera" entity from which the camera component can then be located.
- getCategoryTexture() - Method in class com.deco2800.game.components.shop.artefacts.Equipment
-
Getter for equipment category texture file
- getCenterPosition() - Method in class com.deco2800.game.entities.Entity
-
Get the entity's center position
- getClickedEntity() - Method in class com.deco2800.game.entities.UGS
-
Looks up the entity in the UGS at the cursor position in grid coordinates as the key
- getCoin() - Method in class com.deco2800.game.components.tasks.BountyComponent
- getCollisionEffect() - Method in class com.deco2800.game.components.Environmental.CollisionEffectComponent
- getComponent(Class<T>) - Method in class com.deco2800.game.entities.Entity
-
Get a component of type T on the entity.
- getCreationMethod() - Method in class com.deco2800.game.entities.Entity
- getCurrentAnimation() - Method in class com.deco2800.game.rendering.AnimationRenderComponent
-
Get the name of the animation currently being played.
- getCurrentAttack() - Method in class com.deco2800.game.components.CombatStatsComponent
- getCurrentCycleIntensityStep() - Method in class com.deco2800.game.rendering.DayNightCycleComponent
-
Give steps values according to number of seconds in each part of day.
- getCurrentCycleStatus() - Method in class com.deco2800.game.services.DayNightCycleService
-
Returns the current status of the day night cycle.
- getCurrentDayMillis() - Method in class com.deco2800.game.services.DayNightCycleService
-
Returns the current number of milliseconds since the current day night cycle started.
- getCurrentDayNumber() - Method in class com.deco2800.game.services.DayNightCycleService
-
Returns the current day number.
- getCurrentHealth() - Method in class com.deco2800.game.memento.Memento
-
retrieve the health value saved in the memento
- getCurrentHealth() - Method in class com.deco2800.game.memento.Originator
-
returns the current health of the player
- getCurrentMapLvl() - Method in class com.deco2800.game.areas.terrain.TerrainComponent
- getCurrentPartOfDayIntensity() - Method in class com.deco2800.game.rendering.DayNightCycleComponent
-
Gets the current part of day intensity
- getCurrentSprite() - Method in class com.deco2800.game.components.DayNightClockComponent
-
for testing purposes
- getCurrentWorldStep() - Method in class com.deco2800.game.entities.EntityService
- getDayNightCycleComponent() - Method in class com.deco2800.game.rendering.RenderService
- getDayNightCycleService() - Static method in class com.deco2800.game.services.ServiceLocator
- getDebug() - Method in class com.deco2800.game.rendering.Renderer
- getDebug() - Method in class com.deco2800.game.rendering.RenderService
- getDefenceMultiplier() - Method in class com.deco2800.game.components.shop.artefacts.Equipment
-
Getter for equipment defence multiplier
- getDefense() - Method in class com.deco2800.game.memento.Memento
-
retrieve the defense multiplier in the memento
- getDefense() - Method in class com.deco2800.game.memento.Originator
-
returns the defense multiplier
- getDeltaTime() - Method in class com.deco2800.game.services.GameTime
- getDescription() - Method in class com.deco2800.game.achievements.Achievement
- getDescription() - Method in class com.deco2800.game.components.shop.artefacts.Equipment
-
Getter for equipment description
- getDirection() - Method in class com.deco2800.game.physics.components.PhysicsMovementComponent
- getDirection() - Method in class com.deco2800.game.physics.components.ProjectileMovementComponent
- getDisplay() - Method in class com.deco2800.game.components.mainmenu.MainMenuDisplay
- getDistanceToTarget() - Method in class com.deco2800.game.components.tasks.ShootTask
- getEnemyEntities() - Method in class com.deco2800.game.entities.EntityService
- getEnteredMessage() - Method in class com.deco2800.game.ui.terminal.Terminal
- getEntities() - Method in class com.deco2800.game.areas.terrain.EnvironmentalCollision
- getEntities() - Method in class com.deco2800.game.entities.EntityService
- 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.
- getEntity() - Method in class com.deco2800.game.entities.Tile
-
Returns the entity contained by the tile or null if none present
- getEntity(GridPoint2) - Method in class com.deco2800.game.entities.UGS
-
Takes a String and returns the associated tile's entity or null if there is none
- getEntityByName(String) - Method in class com.deco2800.game.entities.UGS
-
Returns an entity or null found in the ugs by name of that entity
- getEntityMapping() - Method in class com.deco2800.game.areas.ForestGameArea
- getEntityMapping() - Method in class com.deco2800.game.areas.GameArea
- getEntityService() - Static method in class com.deco2800.game.services.ServiceLocator
- getEntityType() - Method in class com.deco2800.game.components.npc.EntityClassification
- getEquipmentList() - Method in class com.deco2800.game.components.player.InventoryComponent
- getEquipmentsList() - Method in class com.deco2800.game.memento.Memento
- getEquipmentsList() - Method in class com.deco2800.game.memento.Originator
-
retrieves all the previously bought equipment
- getEvents() - Method in class com.deco2800.game.entities.Entity
-
Get the event handler attached to this entity.
- getEvents() - Method in class com.deco2800.game.services.AchievementHandler
-
Getter method for returning the events from AchievementHandler
- getEvents() - Method in class com.deco2800.game.services.DayNightCycleService
-
To enable events to be subscribed to
- getEvents() - Method in class com.deco2800.game.services.ResourceManagementService
- getFilepath(Artefact) - Static method in enum class com.deco2800.game.components.shop.artefacts.Artefact
- getFilepath(ShopBuilding) - Static method in enum class com.deco2800.game.components.shop.artefacts.ShopBuilding
- getFilepath(Equipments) - Static method in enum class com.deco2800.game.components.shop.equipments.Equipments
- getFixture() - Method in class com.deco2800.game.physics.components.ColliderComponent
- getFrom(Class<? extends Component>) - Static method in class com.deco2800.game.components.ComponentType
- getGameArea() - Method in class com.deco2800.game.areas.MainArea
- getGold() - Method in class com.deco2800.game.components.player.InventoryComponent
-
Returns the player's gold.
- getGold() - Method in class com.deco2800.game.memento.Memento
-
retrieve the gold amount saved in the memento
- getGold() - Method in class com.deco2800.game.memento.Originator
-
retrieve the gold status for player
- getGoldCost() - Method in class com.deco2800.game.components.infrastructure.ResourceCostComponent
-
Returns the entity's gold cost
- getGuidebook() - Method in class com.deco2800.game.components.Guidebook.GuidebookDisplay
- 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.achievements.Achievement
- 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.
- getImage() - Method in enum class com.deco2800.game.achievements.AchievementType
- 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
- getInstance() - Static method in class com.deco2800.game.areas.MainArea
- getInstance() - Static method in class com.deco2800.game.memento.CareTaker
- getInstance() - Static method in class com.deco2800.game.utils.RenderUtil
- getIntensityDifference(DayNightCycleStatus) - Method in class com.deco2800.game.rendering.DayNightCycleComponent
-
Computes the intensity between the part of day and next
- getIslandSize() - Method in class com.deco2800.game.areas.terrain.TerrainComponent
- getIslandSize() - Method in class com.deco2800.game.areas.terrain.TerrainFactory
- getItemCount(Artefact) - Method in class com.deco2800.game.components.player.InventoryComponent
- getItemList() - Method in class com.deco2800.game.memento.Memento
-
retrieve the list of artefact items saved in the memento
- getItemList() - Method in class com.deco2800.game.memento.Originator
-
retrieve the list of items in player's inventory, may be extended to different lists depending on types of item
- getItems() - Method in class com.deco2800.game.components.player.InventoryComponent
- getLandTiles() - Method in class com.deco2800.game.areas.terrain.TerrainComponent
- getLast() - Method in class com.deco2800.game.memento.CareTaker
-
retrieve the last memento saved
- getLastCycleStatus() - Method in class com.deco2800.game.services.DayNightCycleService
-
Used to get the last part of day before the current one
- getLastEntity() - Method in class com.deco2800.game.entities.EntityService
-
Returns the last registered entity
- getLastEntity() - Method in class com.deco2800.game.entities.NpcService
-
Returns the last registered entity
- getLastEntity() - Method in class com.deco2800.game.entities.StructureService
-
Returns the last registered entity
- getLastSaved() - Method in class com.deco2800.game.achievements.AchievementData
- 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.CombatStatsComponent
- getLoadDisplay() - Method in class com.deco2800.game.components.mainmenu.loader
- getMap() - Method in class com.deco2800.game.areas.terrain.TerrainComponent
- getMapBounds(int) - Method in class com.deco2800.game.areas.terrain.TerrainComponent
- getMapSize() - Method in class com.deco2800.game.areas.terrain.TerrainFactory
- getMaxHealth() - Method in class com.deco2800.game.components.CombatStatsComponent
- getMilestoneImageButtonByNumber(int, boolean, Achievement, Label) - Static method in class com.deco2800.game.components.achievements.AchievementInterface
-
Creates the milestone button actor.
- getMilestoneTotal(Achievement, int) - Method in class com.deco2800.game.services.AchievementHandler
-
Gets the total to achieve for a milestone
- getMovementTask() - Method in class com.deco2800.game.components.tasks.MeleePursueTask
- getMovementTask() - Method in class com.deco2800.game.components.tasks.RangedMovementTask
- getMoving() - Method in interface com.deco2800.game.ai.movement.MovementController
- getMoving() - Method in class com.deco2800.game.physics.components.PhysicsMovementComponent
- getName() - Method in class com.deco2800.game.achievements.Achievement
- getName() - Method in class com.deco2800.game.areas.terrain.TerrainTile
- getName() - Method in class com.deco2800.game.components.shop.artefacts.Equipment
-
Getter for equipment name
- getName() - Method in class com.deco2800.game.entities.Entity
- getNamedEntity(String) - Method in class com.deco2800.game.entities.EntityService
-
Returns a registered named entity
- getNamedEntity(String) - Method in class com.deco2800.game.entities.NpcService
-
Returns a registered named entity
- getNamedEntity(String) - Method in class com.deco2800.game.entities.StructureService
-
Returns a registered named entity
- getNotifyOnLoad() - Method in class com.deco2800.game.achievements.Achievement
- getNpcNum() - Method in class com.deco2800.game.entities.NpcService
- getNpcService() - Static method in class com.deco2800.game.services.ServiceLocator
- getNpcType() - Method in class com.deco2800.game.entities.NpcService
- getObjects() - Method in class com.deco2800.game.areas.terrain.TerrainTile
-
Not required for game, unimplemented
- getObstacle() - Method in class com.deco2800.game.components.Environmental.EnvironmentalComponent
- getOrientation() - Method in class com.deco2800.game.components.infrastructure.OrientationComponent
-
get the orientation of the entity
- getPath() - Method in class com.deco2800.game.components.tasks.MovementTask
- getPhysics() - Method in class com.deco2800.game.physics.PhysicsService
- getPhysicsService() - Static method in class com.deco2800.game.services.ServiceLocator
- getPixelsPerUnit() - Method in class com.deco2800.game.utils.RenderUtil
-
Calculates and returns the pixels per unit required
- getPlayer() - Method in class com.deco2800.game.areas.ForestGameArea
- getPlayer() - Method in class com.deco2800.game.areas.GameArea
- getPlayerSpeed() - Method in class com.deco2800.game.components.player.PlayerActions
- getPlayerTile() - Method in class com.deco2800.game.services.RangeService
-
This function returns whats in the UGS in the tile where the player is standing.
- getPopupImage() - Method in enum class com.deco2800.game.achievements.AchievementType
- getPosition() - Method in class com.deco2800.game.entities.Entity
-
Get the entity's game position.
- getPrice() - Method in class com.deco2800.game.components.shop.artefacts.Equipment
-
Getter for equipment price
- getPriority() - Method in interface com.deco2800.game.ai.tasks.PriorityTask
- getPriority() - Method in class com.deco2800.game.components.tasks.ChaseTask
- getPriority() - Method in class com.deco2800.game.components.tasks.MeleeAvoidObstacleTask
-
gets the priority of this task.
- getPriority() - Method in class com.deco2800.game.components.tasks.MeleePursueTask
-
get priority
- getPriority() - Method in class com.deco2800.game.components.tasks.NPCMovementTask
- getPriority() - Method in class com.deco2800.game.components.tasks.RangedMovementTask
- getPriority() - Method in class com.deco2800.game.components.tasks.ShootTask
- getPriority() - Method in class com.deco2800.game.components.tasks.WanderTask
- getPriority() - Method in class com.deco2800.game.input.InputComponent
- getProductionRate() - Method in class com.deco2800.game.components.infrastructure.ResourceBuilding
-
Returns this building's production rate
- getProgress() - Method in class com.deco2800.game.services.ResourceService
-
Returns the loading completion progress as a percentage.
- getProgressBar() - Method in class com.deco2800.game.components.HealthBarComponent
-
Returns the progress bar that represents the heath bar percentage to being displayed
- getProjectionMatrix() - Method in class com.deco2800.game.components.CameraComponent
- getProperties() - Method in class com.deco2800.game.areas.terrain.TerrainTile
-
Not required for game, unimplemented
- getRangeService() - Static method in class com.deco2800.game.services.ServiceLocator
- getRawDeltaTime() - Method in class com.deco2800.game.services.GameTime
- getRectangularColouredDrawable(int, int, Color) - Static method in class com.deco2800.game.utils.DrawableUtil
- getRenderService() - Static method in class com.deco2800.game.services.ServiceLocator
- getResourceAmount() - Method in class com.deco2800.game.components.Environmental.EnvironmentalComponent
- getResourceManagementService() - Static method in class com.deco2800.game.services.ServiceLocator
- getResourceService() - Static method in class com.deco2800.game.services.ServiceLocator
- getResourceType() - Method in class com.deco2800.game.entities.Entity
- getRestoreHealth() - Method in class com.deco2800.game.components.shop.artefacts.Equipment
-
Getter for equipment restore health
- getRotation() - Method in class com.deco2800.game.entities.Entity
- getScale() - Method in class com.deco2800.game.entities.Entity
-
Get the entity's scale.
- getScreenHeight() - Method in class com.deco2800.game.utils.RenderUtil
-
Utility to get screen height
- getScreenType() - Method in class com.deco2800.game.AtlantisSinks
- getSkin() - Static method in class com.deco2800.game.ui.UIComponent
- getSpawnableTiles(int) - Method in class com.deco2800.game.areas.terrain.TerrainFactory
- getSpeed() - Method in class com.deco2800.game.physics.components.PhysicsMovementComponent
- getStage() - Method in class com.deco2800.game.rendering.Renderer
- getStage() - Method in class com.deco2800.game.rendering.RenderService
- getState() - Method in class com.deco2800.game.memento.Memento
-
retrieve id of the memento
- getState() - Method in class com.deco2800.game.memento.Originator
- getStateFromMemento(Memento) - Method in class com.deco2800.game.memento.Originator
-
returns the states of the player from the specified memento
- 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.
- getStone() - Method in class com.deco2800.game.components.player.InventoryComponent
-
Returns the player's stone.
- getStone() - Method in class com.deco2800.game.memento.Memento
-
retrieve the stone amount saved in the memento
- getStone() - Method in class com.deco2800.game.memento.Originator
-
retrieve the stone status for player
- getStoneBuildings() - Method in class com.deco2800.game.services.ResourceManagementService
- getStoneCost() - Method in class com.deco2800.game.components.infrastructure.ResourceCostComponent
-
Returns the entity's stone cost
- getStringByEntity(Entity) - Method in class com.deco2800.game.entities.UGS
- getStructureOrientation() - Static method in class com.deco2800.game.entities.StructureService
-
get the orientation of the structure being built (facing forward or facing right)
- getStructures() - Method in class com.deco2800.game.entities.UGS
- getStructureService() - Static method in class com.deco2800.game.services.ServiceLocator
- getSurroundingTiles(GridPoint2, String, int) - Method in class com.deco2800.game.entities.UGS
-
Gets a map of all surrounding tiles and labels them as empty or full
- getTarget() - Method in interface com.deco2800.game.ai.movement.MovementController
- getTarget() - Method in class com.deco2800.game.physics.components.PhysicsMovementComponent
- getTempBuildState() - Static method in class com.deco2800.game.entities.StructureService
-
gets the building temp entity state
- getTempEntityName() - Static method in class com.deco2800.game.entities.StructureService
-
gets the temp building name
- getTexture() - Method in class com.deco2800.game.components.shop.artefacts.Equipment
-
Getter for equipment texture file
- getTexture() - Method in class com.deco2800.game.rendering.TextureRenderComponent
-
Gets the texture of a texture component
- getTexturePath() - Method in class com.deco2800.game.rendering.TextureRenderComponent
- getTile(String) - Method in class com.deco2800.game.entities.UGS
- getTileMapTileLayer(int) - Method in class com.deco2800.game.areas.terrain.TerrainComponent
- getTileSize() - Method in class com.deco2800.game.areas.terrain.TerrainComponent
- getTileType() - Method in class com.deco2800.game.entities.Tile
-
Returns the tile's type
- getTileType(GridPoint2) - Method in class com.deco2800.game.entities.UGS
-
Takes a String (concatenated x,y value) and returns the associated tile's type
- getTime() - Method in class com.deco2800.game.services.GameTime
- getTimePaused() - Method in class com.deco2800.game.services.DayNightCycleService
-
Returns the last time game time that the timer was paused.
- getTimer() - Method in class com.deco2800.game.components.npc.ContinuousAttackComponent
-
this is just for testing! Do not use!
- getTimer() - Method in class com.deco2800.game.services.DayNightCycleService
-
Returns the game timer
- getTimeSince(long) - Method in class com.deco2800.game.services.GameTime
- getTimeSource() - Static method in class com.deco2800.game.services.ServiceLocator
- getTitle() - Method in enum class com.deco2800.game.achievements.AchievementType
- getToDestroyEntities() - Method in class com.deco2800.game.entities.EntityService
- getTotalAchieved() - Method in class com.deco2800.game.achievements.Achievement
- getTotalDurationPaused() - Method in class com.deco2800.game.services.DayNightCycleService
-
Returns total amount of time that the timer has been paused for.
- getType() - Method in class com.deco2800.game.components.achievements.AchievementButton
- getType() - Method in class com.deco2800.game.components.Environmental.EnvironmentalComponent
- getType() - Method in class com.deco2800.game.components.infrastructure.ResourceBuilding
-
Returns this building's resource type
- getUGSService() - Static method in class com.deco2800.game.services.ServiceLocator
- getWalls() - Method in class com.deco2800.game.areas.terrain.TerrainComponent
- getWeapon() - Method in class com.deco2800.game.components.player.InventoryComponent
- getWeapon() - Method in class com.deco2800.game.memento.Memento
-
retrieve the weapon that the player currently has
- getWeapon() - Method in class com.deco2800.game.memento.Originator
-
returns the weapon enum of the previously saved record
- getWood() - Method in class com.deco2800.game.components.player.InventoryComponent
-
Returns the player's wood.
- getWood() - Method in class com.deco2800.game.memento.Memento
-
retrieve the wood amount saved in the memento
- getWood() - Method in class com.deco2800.game.memento.Originator
-
retrieve the wood status for player
- getWoodBuildings() - Method in class com.deco2800.game.services.ResourceManagementService
- getWoodCost() - Method in class com.deco2800.game.components.infrastructure.ResourceCostComponent
-
Returns the entity's wood cost
- 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.firstnight.FirstNightDisplay
- getZIndex() - Method in class com.deco2800.game.components.gamearea.PerformanceDisplay
- getZIndex() - Method in class com.deco2800.game.components.Guidebook.GuidebookDisplay
- getZIndex() - Method in class com.deco2800.game.components.Guidebook.GuidebookExitDisplay
- getZIndex() - Method in class com.deco2800.game.components.HealthBarComponent
- getZIndex() - Method in class com.deco2800.game.components.InventoryDisplay
- getZIndex() - Method in class com.deco2800.game.components.maingame.MainGameBuildingInterface
- getZIndex() - Method in class com.deco2800.game.components.maingame.MainGameExitDisplay
- getZIndex() - Method in class com.deco2800.game.components.maingame.MainGameInterface
- getZIndex() - Method in class com.deco2800.game.components.shop.ArtefactShopDisplay
- getZIndex() - Method in class com.deco2800.game.components.shop.BuildingShopDisplay
- getZIndex() - Method in class com.deco2800.game.components.shop.EquipmentsShopDisplay
- getZIndex() - Method in class com.deco2800.game.components.shop.ShopInterface
- 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.ui.terminal.TerminalDisplay
- getZIndex() - Method in class com.deco2800.game.ui.UIComponent
- GEYSER - Enum constant in enum class com.deco2800.game.components.Environmental.EnvironmentalComponent.EnvironmentalObstacle
- gold - Variable in class com.deco2800.game.entities.configs.BaseStructureConfig
- gold - Variable in class com.deco2800.game.entities.configs.EnemyConfig
- gold - Variable in class com.deco2800.game.entities.configs.PlayerConfig
- gold - Variable in class com.deco2800.game.memento.Originator
- GOLD - Enum constant in enum class com.deco2800.game.components.Environmental.EnvironmentalComponent.ResourceTypes
- GOLD - Enum constant in enum class com.deco2800.game.components.infrastructure.ResourceType
- goldCost - Variable in class com.deco2800.game.entities.configs.ArtefactConfig
- goldCost - Variable in class com.deco2800.game.entities.configs.EquipmentConfig
- goldCost - Variable in class com.deco2800.game.entities.configs.ShopBuildingConfig
- GridPoint2Utils - Class in com.deco2800.game.utils.math
-
Contains additional utility constants and functions for common GridPoint2 operations.
- GUIDEBOOK - Enum constant in enum class com.deco2800.game.AtlantisSinks.ScreenType
- GuidebookActions - Class in com.deco2800.game.components.Guidebook
-
This class listens to events relevant to the Main Game Screen and does something when one of the events is triggered.
- GuidebookActions(AtlantisSinks) - Constructor for class com.deco2800.game.components.Guidebook.GuidebookActions
- GuidebookArea - Class in com.deco2800.game.areas
- GuidebookArea() - Constructor for class com.deco2800.game.areas.GuidebookArea
- GuidebookDisplay - Class in com.deco2800.game.components.Guidebook
- GuidebookDisplay() - Constructor for class com.deco2800.game.components.Guidebook.GuidebookDisplay
- GuidebookExitDisplay - Class in com.deco2800.game.components.Guidebook
-
Displays a button to exit the Main Game screen to the Main Menu screen.
- GuidebookExitDisplay() - Constructor for class com.deco2800.game.components.Guidebook.GuidebookExitDisplay
- GuidebookScreen - Class in com.deco2800.game.screens
- GuidebookScreen(AtlantisSinks) - Constructor for class com.deco2800.game.screens.GuidebookScreen
- GuidebookStatus - Enum Class in com.deco2800.game.screens
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.
- handleBuildingDestruction(String) - Static method in class com.deco2800.game.entities.factories.StructureFactory
-
Function which handles the destruction / sale of building.
- handleClickedStructures(int, int, SortedMap<String, Rectangle>, boolean, boolean) - Static method in class com.deco2800.game.entities.factories.ResourceBuildingFactory
-
Checks if a structure on the map has been clicked.
- handleRefund(Entity, float) - Static method in class com.deco2800.game.entities.factories.StructureFactory
-
Function which handles the refund of player's resources should they sell a building.
- hasAnimation(String) - Method in class com.deco2800.game.rendering.AnimationRenderComponent
-
Whether the animator has added the given animation.
- hasEnded() - Method in class com.deco2800.game.services.DayNightCycleService
-
Returns whether the current day night cycle has ended.
- hasGold(int) - Method in class com.deco2800.game.components.player.InventoryComponent
-
Returns if the player has a certain amount of gold.
- hashCode() - Method in class com.deco2800.game.achievements.Achievement
- hashCode() - Method in class com.deco2800.game.entities.Entity
- hasStarted() - Method in class com.deco2800.game.services.DayNightCycleService
-
Returns whether the day night cycle service has been started
- hasStone(int) - Method in class com.deco2800.game.components.player.InventoryComponent
-
Returns if the player has a certain amount of stone.
- hasWood(int) - Method in class com.deco2800.game.components.player.InventoryComponent
-
Returns if the player has a certain amount of wood.
- header - Variable in class com.deco2800.game.services.configs.Page
- health - Variable in class com.deco2800.game.entities.configs.ArtefactConfig
- health - Variable in class com.deco2800.game.entities.configs.BaseEntityConfig
- health - Variable in class com.deco2800.game.entities.configs.BaseStructureConfig
- health - Variable in class com.deco2800.game.files.Tuple
- HEALTH_POTION - Enum constant in enum class com.deco2800.game.components.shop.artefacts.Artefact
- HealthBarComponent - Class in com.deco2800.game.components
-
Renders the entities health bar.
- HealthBarComponent(int, int) - Constructor for class com.deco2800.game.components.HealthBarComponent
-
Constructs a new health bar
- height - Variable in class com.deco2800.game.files.UserSettings.DisplaySettings
- HELMET - Enum constant in enum class com.deco2800.game.components.shop.equipments.Equipments
- HEXAGONAL - Enum constant in enum class com.deco2800.game.areas.terrain.TerrainComponent.TerrainOrientation
- hit - Variable in class com.deco2800.game.physics.raycast.SingleHitCallback
- hit(CombatStatsComponent) - Method in class com.deco2800.game.components.CombatStatsComponent
- HitboxComponent - Class in com.deco2800.game.physics.components
-
Physics comp
- HitboxComponent() - Constructor for class com.deco2800.game.physics.components.HitboxComponent
I
- image - Variable in class com.deco2800.game.services.configs.Page
- imagePosition - Variable in class com.deco2800.game.services.configs.Page
- INACTIVE - Enum constant in enum class com.deco2800.game.ai.tasks.Task.Status
- incrementMapLvl() - Method in class com.deco2800.game.areas.terrain.TerrainComponent
-
Expands the map by hiding the current layer, and making the next level visible
- incrementOneRunAchievement(int) - Method in class com.deco2800.game.services.AchievementHandler
-
Increments the one run achievement total
- incrementTotalAchievedForStatAchievement(Achievement, int) - Method in class com.deco2800.game.services.AchievementHandler
-
Correct updates the total achieved for a stat achievement.
- 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
- INTERNAL - Enum constant in enum class com.deco2800.game.files.FileLoader.Location
- InventoryComponent - Class in com.deco2800.game.components.player
-
A component intended to be used by the player to track their inventory.
- InventoryComponent(int, int, int) - Constructor for class com.deco2800.game.components.player.InventoryComponent
- InventoryDisplay - Class in com.deco2800.game.components
- InventoryDisplay() - Constructor for class com.deco2800.game.components.InventoryDisplay
- invIsotransform - Static variable in class com.deco2800.game.areas.terrain.IsoTileRenderer
- isAoe() - Method in class com.deco2800.game.components.Environmental.CollisionEffectComponent
-
honestly just put this in to test.
- isCollectable() - Method in class com.deco2800.game.entities.Entity
- isCompleted() - Method in class com.deco2800.game.achievements.Achievement
- isDead() - Method in class com.deco2800.game.components.CombatStatsComponent
-
Returns true if the entity's has 0 health, otherwise false.
- isFinished() - Method in class com.deco2800.game.rendering.AnimationRenderComponent
-
Has the playing animation finished? This will always be false for looping animations.
- isMilestoneAchieved(Achievement, int) - Method in class com.deco2800.game.services.AchievementHandler
-
Checks whether a milestone has been achieved for an achievement given a milestone number (1, 2,3,4)
- isNearWater(int, int) - Method in class com.deco2800.game.areas.terrain.EnvironmentalCollision
-
Checks the current tile and all tiles around it for a water tile.
- ISOMETRIC - Enum constant in enum class com.deco2800.game.areas.terrain.TerrainComponent.TerrainOrientation
- isOneNight() - Method in class com.deco2800.game.achievements.Achievement
- isOneRun() - Method in class com.deco2800.game.achievements.Achievement
- isOpen() - Method in class com.deco2800.game.ui.terminal.Terminal
- IsoTileRenderer - Class in com.deco2800.game.areas.terrain
- IsoTileRenderer(TiledMap) - Constructor for class com.deco2800.game.areas.terrain.IsoTileRenderer
- IsoTileRenderer(TiledMap, float) - Constructor for class com.deco2800.game.areas.terrain.IsoTileRenderer
- IsoTileRenderer(TiledMap, float, Batch) - Constructor for class com.deco2800.game.areas.terrain.IsoTileRenderer
- IsoTileRenderer(TiledMap, Batch) - Constructor for class com.deco2800.game.areas.terrain.IsoTileRenderer
- isPaused - Variable in class com.deco2800.game.services.DayNightCycleService
- isPopupActive() - Method in class com.deco2800.game.components.achievements.AchievementPopupComponent
- isStarted - Variable in class com.deco2800.game.services.DayNightCycleService
- isStat() - Method in class com.deco2800.game.achievements.Achievement
- isTargetVisible() - Method in class com.deco2800.game.components.tasks.ShootMultipleTask
- isTargetVisible() - Method in class com.deco2800.game.components.tasks.ShootTask
- isVisible() - Method in class com.deco2800.game.components.maingame.MainGameBuildingInterface
- isWallHere(GridPoint2) - Method in class com.deco2800.game.areas.ForestGameArea
- isWallHere(GridPoint2) - Method in class com.deco2800.game.areas.GameArea
- itemBackgroundImagePath - Variable in class com.deco2800.game.entities.configs.ArtefactConfig
- itemBackgroundImagePath - Variable in class com.deco2800.game.entities.configs.EquipmentConfig
- itemBackgroundImagePath - Variable in class com.deco2800.game.entities.configs.ShopBuildingConfig
- itemImagePath - Variable in class com.deco2800.game.entities.configs.ArtefactConfig
- itemImagePath - Variable in class com.deco2800.game.entities.configs.EquipmentConfig
- itemImagePath - Variable in class com.deco2800.game.entities.configs.ShopBuildingConfig
- items - Variable in class com.deco2800.game.memento.Originator
- 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.
K
- KEYBOARD - Enum constant in enum class com.deco2800.game.input.InputFactory.InputType
- KeyboardCameraInputComponent - Class in com.deco2800.game.components.camera
- KeyboardCameraInputComponent() - Constructor for class com.deco2800.game.components.camera.KeyboardCameraInputComponent
- 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
- 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.camera.KeyboardCameraInputComponent
-
Triggers Camera events on key press.
- 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.
- 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.camera.KeyboardCameraInputComponent
-
Triggers Camera events on key press.
- 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.components.storyline.storyLineInputComponent
-
Triggers storyline UI 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.
- killEntity(String) - Method in class com.deco2800.game.components.CombatStatsComponent
-
Triggers listener events when certain entities should be killed.
- KILLS - Enum constant in enum class com.deco2800.game.achievements.AchievementType
- KNOCKBACK - Enum constant in enum class com.deco2800.game.components.Environmental.CollisionEffectComponent.CollisionEffect
- KNOCKBACK_TOWER - Enum constant in enum class com.deco2800.game.components.Environmental.EnvironmentalComponent.EnvironmentalObstacle
L
- LARGE_FONT - Static variable in class com.deco2800.game.areas.ForestGameArea
- lastCycleStatus - Variable in class com.deco2800.game.services.DayNightCycleService
- lastPartOfDayHalveIteration - Variable in class com.deco2800.game.services.DayNightCycleService
- 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 - Variable in class com.deco2800.game.entities.configs.CrystalConfig
- level - Variable in class com.deco2800.game.files.Tuple
- lineFormat(String, int) - Static method in class com.deco2800.game.utils.TextUtil
- LOAD_PAGE - Enum constant in enum class com.deco2800.game.AtlantisSinks.ScreenType
- loadAchievements(FileHandle) - Static method in class com.deco2800.game.files.SaveGame
-
Loads achievements from save file
- loadAchievements(FileHandle) - Method in class com.deco2800.game.services.AchievementHandler
-
Loads the achievement list from the achievement file
- loadAll() - Method in class com.deco2800.game.services.ResourceService
-
Blocking call to load all assets.
- loadedTimeOffset - Variable in class com.deco2800.game.services.DayNightCycleService
- loader - Class in com.deco2800.game.components.mainmenu
- loader() - Constructor for class com.deco2800.game.components.mainmenu.loader
- loadForMillis(int) - Method in class com.deco2800.game.services.ResourceService
-
Loads assets for the specified duration in milliseconds.
- loadFromSave() - Method in class com.deco2800.game.components.DayNightClockComponent
-
Loads the clock when a save is loaded.
- loadFromSave(int, long, DayNightCycleStatus, DayNightCycleStatus, int) - Method in class com.deco2800.game.services.DayNightCycleService
-
loads the DayNightCycleService from save, setting attributes as necessary Sets LoadedTimeOffset
- loadGameState() - Static method in class com.deco2800.game.files.SaveGame
-
Load all game assets from the save game folder
- LoadingActions - Class in com.deco2800.game.components.loadingPage
- LoadingActions(AtlantisSinks) - Constructor for class com.deco2800.game.components.loadingPage.LoadingActions
- LoadingDisplay - Class in com.deco2800.game.components.loadingPage
- LoadingDisplay() - Constructor for class com.deco2800.game.components.loadingPage.LoadingDisplay
- LoadingScreen - Class in com.deco2800.game.screens
- LoadingScreen(AtlantisSinks) - Constructor for class com.deco2800.game.screens.LoadingScreen
- loadMusic(String[]) - Method in class com.deco2800.game.services.ResourceService
-
Loads a list of music assets into the asset manager.
- loadPlayer() - Static method in class com.deco2800.game.entities.factories.PlayerFactory
- 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.
- loadUpdate() - Method in class com.deco2800.game.components.mainmenu.loader
- 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.AtlantisSinks.ScreenType
- MAIN_GAME_LOAD - Enum constant in enum class com.deco2800.game.AtlantisSinks.ScreenType
- MAIN_MENU - Enum constant in enum class com.deco2800.game.AtlantisSinks.ScreenType
- MainArea - Class in com.deco2800.game.areas
- 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(AtlantisSinks, Entity) - Constructor for class com.deco2800.game.components.maingame.MainGameActions
- MainGameBuildingInterface - Class in com.deco2800.game.components.maingame
- MainGameBuildingInterface() - Constructor for class com.deco2800.game.components.maingame.MainGameBuildingInterface
- 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
- MainGameInterface - Class in com.deco2800.game.components.maingame
-
Displays a button to exit the Main Game screen to the Main Menu screen.
- MainGameInterface() - Constructor for class com.deco2800.game.components.maingame.MainGameInterface
- MainGameNpcInterface - Class in com.deco2800.game.components.maingame
- MainGameNpcInterface() - Constructor for class com.deco2800.game.components.maingame.MainGameNpcInterface
- MainGameScreen - Class in com.deco2800.game.screens
-
The game screen containing the main game.
- MainGameScreen(AtlantisSinks, Boolean) - Constructor for class com.deco2800.game.screens.MainGameScreen
- MainGameTutorials - Class in com.deco2800.game.components.maingame
- MainGameTutorials() - Constructor for class com.deco2800.game.components.maingame.MainGameTutorials
- 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(AtlantisSinks) - 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
- MainMenuScreen - Class in com.deco2800.game.screens
-
The game screen containing the main menu.
- MainMenuScreen(AtlantisSinks) - Constructor for class com.deco2800.game.screens.MainMenuScreen
- makeCrystalNoti(Boolean) - Method in class com.deco2800.game.components.maingame.MainGameBuildingInterface
-
Create Crystal Notification when Crystal has reached max level
- makeCrystalPopUp(Boolean, float, float) - Method in class com.deco2800.game.components.maingame.MainGameBuildingInterface
-
Create Crystal Upgrade Pop Up
- makeUIPopUp(Boolean) - Method in class com.deco2800.game.components.maingame.MainGameNpcInterface
-
Make Conversation UI pop up
- makeUIPopUp(Boolean, float, float, GridPoint2, String) - Method in class com.deco2800.game.components.maingame.MainGameBuildingInterface
- markAchievementCompletedById(long, boolean) - Method in class com.deco2800.game.services.AchievementHandler
-
Marks an achievement completed
- MAX - Static variable in class com.deco2800.game.utils.math.Vector2Utils
- MAX_PAGES - Static variable in class com.deco2800.game.components.Guidebook.GuidebookDisplay
- maxDays - Variable in class com.deco2800.game.services.configs.DayNightCycleConfig
- MeleeAvoidObstacleTask - Class in com.deco2800.game.components.tasks
-
task that gets enemies to avoid obstacles.
- MeleeAvoidObstacleTask(Entity) - Constructor for class com.deco2800.game.components.tasks.MeleeAvoidObstacleTask
-
initialise the avoidance task.
- MeleeBossConfig - Class in com.deco2800.game.entities.configs
-
Stats for Melee Boss enemy
- MeleeBossConfig() - Constructor for class com.deco2800.game.entities.configs.MeleeBossConfig
- meleeBossEnemy - Variable in class com.deco2800.game.entities.configs.NPCConfigs
- MeleePursueTask - Class in com.deco2800.game.components.tasks
-
Chases a target entity regardless of distance or line of sight.
- MeleePursueTask(Entity) - Constructor for class com.deco2800.game.components.tasks.MeleePursueTask
-
chases an entity regardless of line of sight
- Memento - Class in com.deco2800.game.memento
-
the object that is maintaining the state of the originator.
- Memento(int, int, int, int, int, HashMap<Artefact, Integer>, HashMap<ShopBuilding, Integer>, int, int, Equipments, Equipments, List<Equipments>) - Constructor for class com.deco2800.game.memento.Memento
-
constructor for a new memento
- MIN - Static variable in class com.deco2800.game.utils.math.Vector2Utils
- MISC - Enum constant in enum class com.deco2800.game.achievements.AchievementType
- mouseMoved(int, int) - Method in class com.deco2800.game.components.player.KeyboardPlayerInputComponent
- 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
- moveEntity(Entity, GridPoint2, float, float) - Method in class com.deco2800.game.entities.UGS
-
--------------------Does not account for tile type-------------------- Checks whether an entity can move in the given direction, and returns True if the move was carried out correctly.
- MovementController - Interface in com.deco2800.game.ai.movement
-
A movement controller moves something to a given a target.
- 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
- MovementTask(Vector2, float) - Constructor for class com.deco2800.game.components.tasks.MovementTask
- movePlayerInUgs(Vector2) - Method in class com.deco2800.game.components.player.PlayerActions
N
- name - Variable in class com.deco2800.game.components.shop.artefacts.Equipment
- name - Variable in class com.deco2800.game.entities.configs.ArtefactConfig
- name - Variable in class com.deco2800.game.entities.configs.EquipmentConfig
- name - Variable in class com.deco2800.game.entities.configs.NPCConfig
- name - Variable in class com.deco2800.game.entities.configs.ShopBuildingConfig
- name - Variable in class com.deco2800.game.files.Tuple
- nextFrame() - Method in class com.deco2800.game.components.mainmenu.MainMenuDisplay
- NIGHT - Enum constant in enum class com.deco2800.game.services.DayNightCycleStatus
- NIGHT_INTENSITY - Static variable in class com.deco2800.game.rendering.DayNightCycleComponent
- nightLength - Variable in class com.deco2800.game.services.configs.DayNightCycleConfig
- ninjaStarfish - Variable in class com.deco2800.game.entities.configs.NPCConfigs
- NONE - Enum constant in enum class com.deco2800.game.components.Environmental.CollisionEffectComponent.CollisionEffect
- NONE - Enum constant in enum class com.deco2800.game.components.Environmental.EnvironmentalComponent.ResourceTypes
- NONE - Enum constant in enum class com.deco2800.game.components.npc.EntityClassification.NPCClassification
- NONE - Enum constant in enum class com.deco2800.game.services.DayNightCycleStatus
- 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.components.Environmental.CollisionEffectComponent.EffectTarget
- NPC - Enum constant in enum class com.deco2800.game.components.npc.EntityClassification.NPCClassification
- NPC - Static variable in class com.deco2800.game.physics.PhysicsLayer
- NPC1 - Variable in class com.deco2800.game.entities.configs.NPCConfigs
- NPCAnimationController - Class in com.deco2800.game.components.npc
- NPCAnimationController() - Constructor for class com.deco2800.game.components.npc.NPCAnimationController
- npcClicked(int, int) - Static method in class com.deco2800.game.entities.NpcService
-
Determine if NPCs on map are being clicked on
- NPCConfig - Class in com.deco2800.game.entities.configs
- NPCConfig() - Constructor for class com.deco2800.game.entities.configs.NPCConfig
- 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.
- NPCMovementTask - Class in com.deco2800.game.components.tasks
- NPCMovementTask() - Constructor for class com.deco2800.game.components.tasks.NPCMovementTask
- NpcService - Class in com.deco2800.game.entities
-
Provides a global access point for NPC entities to register themselves.
- NpcService() - Constructor for class com.deco2800.game.entities.NpcService
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
- onPartOfDayChange(DayNightCycleStatus) - Method in class com.deco2800.game.rendering.DayNightCycleComponent
-
Invoked when the part of day has changed
- onTempStructurePlaced(String) - Method in class com.deco2800.game.services.AchievementHandler
-
Triggered when a structure is placed on the map.
- OPEN - Enum constant in enum class com.deco2800.game.screens.GuidebookStatus
- OPENING - Enum constant in enum class com.deco2800.game.screens.GuidebookStatus
- orientation - Variable in class com.deco2800.game.entities.configs.BaseStructureConfig
- OrientationComponent - Class in com.deco2800.game.components.infrastructure
- OrientationComponent(int) - Constructor for class com.deco2800.game.components.infrastructure.OrientationComponent
-
orientation component constructor initializes entity orientation
- Originator - Class in com.deco2800.game.memento
-
Part of the memento design pattern, originator is the object to store the states of the player, this includes the player's inventory states (e.g.
- Originator(int) - Constructor for class com.deco2800.game.memento.Originator
-
Originator constructor which can create a new originator to store the current state of the player before entering and exiting the shop
- ORTHOGONAL - Enum constant in enum class com.deco2800.game.areas.terrain.TerrainComponent.TerrainOrientation
- owner - Variable in class com.deco2800.game.ai.tasks.DefaultTask
P
- Page - Class in com.deco2800.game.services.configs
- Page() - Constructor for class com.deco2800.game.services.configs.Page
- pageNumber - Variable in class com.deco2800.game.services.configs.Page
- 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
- partOfDayHalveIteration - Variable in class com.deco2800.game.services.DayNightCycleService
- partOfDayPassed(DayNightCycleStatus) - Method in class com.deco2800.game.areas.terrain.TerrainComponent
-
Changes the current map level to the night version when night comes around
- pause() - Method in class com.deco2800.game.screens.EpilogueScreen
- pause() - Method in class com.deco2800.game.screens.FirstNightScreen
- pause() - Method in class com.deco2800.game.screens.GuidebookScreen
- pause() - Method in class com.deco2800.game.screens.LoadingScreen
- pause() - Method in class com.deco2800.game.screens.MainGameScreen
- pause() - Method in class com.deco2800.game.screens.MainMenuScreen
- pause() - Method in class com.deco2800.game.screens.PrologueScreen
- pause() - Method in class com.deco2800.game.services.DayNightCycleService
-
Pauses the timer for the day night cycle.
- paused() - Method in class com.deco2800.game.services.DayNightCycleService
-
Returns whether the day night cycle is paused.
- 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
- perimeter(Entity, GridPoint2) - Method in class com.deco2800.game.services.RangeService
-
This function allows you to pass in an entity and retrieve an array containing every entity store in the UGS that are in the 8 squares around it + the players square: (Under Player, Top Left, Directly Above, Top Right, Right, Bottom Right, Directly Bellow, Bottom Left, Left)
- physicsComponent - Variable in class com.deco2800.game.physics.components.PhysicsMovementComponent
- 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
- 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.
- pirateCrab - Variable in class com.deco2800.game.entities.configs.NPCConfigs
- placeBuilding(ShopBuilding) - Method in class com.deco2800.game.components.player.InventoryComponent
- placementName - Variable in class com.deco2800.game.entities.configs.ShopBuildingConfig
- player - Variable in class com.deco2800.game.areas.GameArea
- PLAYER - Enum constant in enum class com.deco2800.game.components.Environmental.CollisionEffectComponent.EffectTarget
- PLAYER - Enum constant in enum class com.deco2800.game.components.npc.EntityClassification.NPCClassification
- PLAYER - Static variable in class com.deco2800.game.components.CombatStatsComponent
- 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
- playerAlive - Static variable in class com.deco2800.game.components.player.PlayerActions
- 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.
- playerInRangeOf(Entity) - Method in class com.deco2800.game.services.RangeService
-
This function allows the user to check if an entity is in range of the player.
- playerState - Variable in class com.deco2800.game.files.Tuple
- 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
- playPrologue - Static variable in class com.deco2800.game.AtlantisSinks
- playShopMusic() - Method in class com.deco2800.game.areas.ForestGameArea
- point - Variable in class com.deco2800.game.physics.raycast.RaycastHit
-
Point at which the raycast hit the fixture.
- POPUP_TIMEOUT - Static variable in class com.deco2800.game.components.achievements.AchievementPopupComponent
- position - Variable in class com.deco2800.game.files.Tuple
- postSolve(Contact, ContactImpulse) - Method in class com.deco2800.game.physics.PhysicsContactListener
- preSolve(Contact, Manifold) - Method in class com.deco2800.game.physics.PhysicsContactListener
- price - Variable in class com.deco2800.game.components.shop.artefacts.Equipment
- printFn - Variable in class com.deco2800.game.utils.StringDecorator
- printUGS() - Method in class com.deco2800.game.entities.UGS
-
Returns a copy of the UGS for testing purposes
- 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 - Static variable in class com.deco2800.game.physics.PhysicsLayer
- ProjectileFactory - Class in com.deco2800.game.entities.factories
- ProjectileMovementComponent - Class in com.deco2800.game.physics.components
- ProjectileMovementComponent() - Constructor for class com.deco2800.game.physics.components.ProjectileMovementComponent
- prologueDisplay - Class in com.deco2800.game.components.storyline
-
An ui component for displaying the storyline.
- prologueDisplay() - Constructor for class com.deco2800.game.components.storyline.prologueDisplay
- PrologueScreen - Class in com.deco2800.game.screens
- PrologueScreen(AtlantisSinks) - Constructor for class com.deco2800.game.screens.PrologueScreen
- put(int, V) - Method in class com.deco2800.game.utils.SortedIntMap
-
Put key, value pair in map
Q
- QUARRY - Enum constant in enum class com.deco2800.game.components.shop.artefacts.ShopBuilding
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
- RangeAttackComponent - Class in com.deco2800.game.components
- RangeAttackComponent(short, float, float) - Constructor for class com.deco2800.game.components.RangeAttackComponent
- RangedMovementTask - Class in com.deco2800.game.components.tasks
-
Chases a target entity until they get too far away or line of sight is lost
- RangedMovementTask(Entity, int, float, float, float) - Constructor for class com.deco2800.game.components.tasks.RangedMovementTask
- RangeNPC - Static variable in class com.deco2800.game.physics.PhysicsLayer
- RangeService - Class in com.deco2800.game.services
- RangeService() - Constructor for class com.deco2800.game.services.RangeService
- 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.
- recoverCrystalHealth(Entity) - Static method in class com.deco2800.game.entities.factories.CrystalService
-
Recover crystal health at dawn, day, and dusk
- 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(Entity) - Method in class com.deco2800.game.entities.NpcService
-
Register a new entity with the NPC service.
- register(Entity) - Method in class com.deco2800.game.entities.StructureService
-
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.
- registerAchievementHandler(AchievementHandler) - Static method in class com.deco2800.game.services.ServiceLocator
- registerDayNightCycleService(DayNightCycleService) - Static method in class com.deco2800.game.services.ServiceLocator
- registeredInUGS() - Method in class com.deco2800.game.services.RangeService
-
This function filters through the UGS and returns a list of all entities that are registered in the UGS
- registerEntityEvents() - Method in class com.deco2800.game.components.tasks.MeleeAvoidObstacleTask
-
must be called after task, component, and entity are attached registers collision listeners for the entity
- registerEntityService(EntityService) - Static method in class com.deco2800.game.services.ServiceLocator
- registerInputService(InputService) - Static method in class com.deco2800.game.services.ServiceLocator
- registerNamed(String, Entity) - Method in class com.deco2800.game.entities.EntityService
-
Registers an entity with a name so it can be found later
- registerNamed(String, Entity) - Method in class com.deco2800.game.entities.NpcService
-
Registers an entity with a name so it can be found later
- registerNamed(String, Entity) - Method in class com.deco2800.game.entities.StructureService
-
Registers an entity with a name, so it can be found later
- registerNpcService(NpcService) - Static method in class com.deco2800.game.services.ServiceLocator
- registerPhysicsService(PhysicsService) - Static method in class com.deco2800.game.services.ServiceLocator
- registerRangeService(RangeService) - Static method in class com.deco2800.game.services.ServiceLocator
- registerRenderService(RenderService) - Static method in class com.deco2800.game.services.ServiceLocator
- registerResourceManagementService(ResourceManagementService) - Static method in class com.deco2800.game.services.ServiceLocator
- registerResourceService(ResourceService) - Static method in class com.deco2800.game.services.ServiceLocator
- registerStructureService(StructureService) - Static method in class com.deco2800.game.services.ServiceLocator
- registerTimeSource(GameTime) - Static method in class com.deco2800.game.services.ServiceLocator
- registerUGSService(UGS) - Static method in class com.deco2800.game.services.ServiceLocator
- removeAnimation(String) - Method in class com.deco2800.game.rendering.AnimationRenderComponent
-
Remove an animation from this animator.
- removeBuilding(ShopBuilding) - Method in class com.deco2800.game.components.player.InventoryComponent
- removeEntity(Entity) - Method in class com.deco2800.game.areas.GameArea
- removeEntity(String) - Method in class com.deco2800.game.entities.UGS
-
Removes an entity from the hashmap by name
- removeEnvironmentalObject(GridPoint2) - Method in class com.deco2800.game.areas.ForestGameArea
-
removes an entity at a specific tile coordinate goes through areaEntities to find entity in that position check if entity is an environment object put inside separate list first to avoid ConcurrentModificationException
- removeNamedEntity(String, Entity) - Method in class com.deco2800.game.entities.EntityService
- render() - Method in class com.deco2800.game.rendering.Renderer
-
Render everything to the render service.
- render(float) - Method in class com.deco2800.game.screens.EpilogueScreen
- render(float) - Method in class com.deco2800.game.screens.FirstNightScreen
- render(float) - Method in class com.deco2800.game.screens.GuidebookScreen
- render(float) - Method in class com.deco2800.game.screens.LoadingScreen
- 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.PrologueScreen
- render(float) - Method in class com.deco2800.game.screens.SettingsScreen
- render(SpriteBatch) - Method in class com.deco2800.game.rendering.DayNightCycleComponent
-
Called to apply the shader Should be frequently called as ambientColor and intensity might changed.
- 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
- renderInPixels(Batch, Runnable) - Method in class com.deco2800.game.utils.RenderUtil
-
Temporarily swaps your projection to allow rendering in pixels.
- 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
- renderTileLayer(TiledMapTileLayer) - Method in class com.deco2800.game.areas.terrain.IsoTileRenderer
- renderTrigger - Static variable in class com.deco2800.game.screens.GuidebookScreen
- RenderUtil - Class in com.deco2800.game.utils
-
Graphic utilities to help with rendering
- 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
- resetOneRunAchievements(boolean) - Method in class com.deco2800.game.services.AchievementHandler
-
Resets progress of achievements that need to be completed in a single run of the game.
- resetPlayerSpeed() - Method in class com.deco2800.game.components.player.PlayerActions
- resetSpeed() - Method in class com.deco2800.game.physics.components.PhysicsMovementComponent
-
Reset Entity to Original Speed
- 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.EpilogueScreen
- resize(int, int) - Method in class com.deco2800.game.screens.FirstNightScreen
- resize(int, int) - Method in class com.deco2800.game.screens.GuidebookScreen
- resize(int, int) - Method in class com.deco2800.game.screens.LoadingScreen
- 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.PrologueScreen
- resize(int, int) - Method in class com.deco2800.game.screens.SettingsScreen
- resize(int, int, float) - Method in class com.deco2800.game.components.CameraComponent
- ResourceBuilding - Class in com.deco2800.game.components.infrastructure
-
Resource building is a type of building used to generate resources for the player
- ResourceBuilding(int, ResourceType) - Constructor for class com.deco2800.game.components.infrastructure.ResourceBuilding
- ResourceBuildingConfig - Class in com.deco2800.game.entities.configs
-
Defines all structure configs to be loaded by the Structure Factory.
- ResourceBuildingConfig() - Constructor for class com.deco2800.game.entities.configs.ResourceBuildingConfig
- ResourceBuildingFactory - Class in com.deco2800.game.entities.factories
-
Factory to create structure entities with predefined components.
- ResourceCostComponent - Class in com.deco2800.game.components.infrastructure
-
Component used to store information related to the cost of different structures: gold, stone etc.
- ResourceCostComponent(int) - Constructor for class com.deco2800.game.components.infrastructure.ResourceCostComponent
-
Resource Cost Component constructor for objects which only cost gold.
- ResourceCostComponent(int, int) - Constructor for class com.deco2800.game.components.infrastructure.ResourceCostComponent
-
Resource Cost Component with parameters for only stone and wood.
- ResourceCostComponent(int, int, int) - Constructor for class com.deco2800.game.components.infrastructure.ResourceCostComponent
-
Resource Cost Component with extra parameters for stone and wood.
- ResourceManagementService - Class in com.deco2800.game.services
-
Manages automatic resource generation for resource buildings (stone quarries and wood cutters)
- ResourceManagementService() - Constructor for class com.deco2800.game.services.ResourceManagementService
- RESOURCES - Enum constant in enum class com.deco2800.game.achievements.AchievementType
- 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
- ResourceType - Enum Class in com.deco2800.game.components.infrastructure
- respawn(DayNightCycleStatus) - Method in class com.deco2800.game.components.player.PlayerActions
-
Respawns the player
- restoreHealth - Variable in class com.deco2800.game.components.shop.artefacts.Equipment
- resume() - Method in class com.deco2800.game.screens.EpilogueScreen
- resume() - Method in class com.deco2800.game.screens.FirstNightScreen
- resume() - Method in class com.deco2800.game.screens.GuidebookScreen
- resume() - Method in class com.deco2800.game.screens.LoadingScreen
- resume() - Method in class com.deco2800.game.screens.MainGameScreen
- resume() - Method in class com.deco2800.game.screens.MainMenuScreen
- resume() - Method in class com.deco2800.game.screens.PrologueScreen
- resume() - Method in class com.deco2800.game.services.DayNightCycleService
- revertAttack() - Method in class com.deco2800.game.components.CombatStatsComponent
- RIGHT - Enum constant in enum class com.deco2800.game.physics.components.PhysicsComponent.AlignX
- RIGHT - Static variable in class com.deco2800.game.utils.math.Vector2Utils
- ROCK - Enum constant in enum class com.deco2800.game.components.Environmental.EnvironmentalComponent.EnvironmentalObstacle
- rotateTempStructure() - Static method in class com.deco2800.game.entities.StructureService
-
Rotate the current temp structure
- rotation - Variable in class com.deco2800.game.files.Tuple
- run() - Method in class com.deco2800.game.services.DayNightCycleService
-
Main loop for the service that updates the game status.
S
- SAND - Enum constant in enum class com.deco2800.game.areas.terrain.TerrainFactory.TileType
- saveAchievements() - Method in class com.deco2800.game.services.AchievementHandler
-
Saves the current state of the achievement list with the current time
- saveAchievements(List<Achievement>) - Static method in class com.deco2800.game.files.SaveGame
-
Saves achievements to the games saves directory using a custom JSON format
- SaveGame - Class in com.deco2800.game.files
-
Class that handles all save game mechanics
- SaveGame() - Constructor for class com.deco2800.game.files.SaveGame
- saveGameState() - Static method in class com.deco2800.game.files.SaveGame
-
Save all game assets to the save game folder
- saveStateToMemento() - Method in class com.deco2800.game.memento.Originator
-
converts the originator object to a memento to store in the caretaker
- 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.
- screenPos - Static variable in class com.deco2800.game.areas.terrain.IsoTileRenderer
- screenShake() - Static method in class com.deco2800.game.entities.factories.CrystalService
-
Triggers shaking effect of the in-game camera
- 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.
- SellBuilding(String, GridPoint2) - Method in class com.deco2800.game.entities.StructureService
- 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
- setAchievementData(String) - Method in class com.deco2800.game.achievements.Achievement
- setAchievements(ArrayList<Achievement>) - Method in class com.deco2800.game.achievements.AchievementData
- setAchievementType(AchievementType) - Method in class com.deco2800.game.achievements.Achievement
- setActive(boolean) - Method in class com.deco2800.game.rendering.DebugRenderer
- setAoe(boolean) - Method in class com.deco2800.game.components.Environmental.CollisionEffectComponent
-
Sets AoE value to true - used in checks to confirm how to implement collision effect Will do nothing if the entity has no HitboxComponent attached (to avoid null pointer issues later on)
- setArmor(Equipments) - Method in class com.deco2800.game.components.player.InventoryComponent
- setArmor(Equipments) - Method in class com.deco2800.game.memento.Originator
-
sets the armor enum
- 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.
- setAttack(int) - Method in class com.deco2800.game.memento.Originator
-
saves the attack value for the player, this includes the boost for player from different weapons bought in the shop
- setAttackMultiplier(int) - Method in class com.deco2800.game.components.CombatStatsComponent
- setBaseAttack(int) - Method in class com.deco2800.game.components.CombatStatsComponent
-
Sets the entity's attack damage.
- setBaseDefense(int) - Method in class com.deco2800.game.components.CombatStatsComponent
- 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
- setBuildings(HashMap<ShopBuilding, Integer>) - Method in class com.deco2800.game.components.player.InventoryComponent
- setBuildings(HashMap<ShopBuilding, Integer>) - Method in class com.deco2800.game.memento.Originator
-
record the list of buildings in the inventory
- setClosed() - Method in class com.deco2800.game.ui.terminal.Terminal
-
Closes the terminal and clears the stored message.
- setCoin(int) - Method in class com.deco2800.game.components.tasks.BountyComponent
- setCollectable(Boolean) - Method in class com.deco2800.game.entities.Entity
- setCollisionEffect(CollisionEffectComponent.CollisionEffect) - Method in class com.deco2800.game.components.Environmental.CollisionEffectComponent
-
sets collision effect.
- setCombatStatsComponent(CombatStatsComponent) - Method in class com.deco2800.game.components.HealthBarComponent
- setCompleted(boolean) - Method in class com.deco2800.game.achievements.Achievement
- setCreationMethod(String) - Method in class com.deco2800.game.entities.Entity
- setCreationMethod(String) - Method in class com.deco2800.game.files.Tuple
- setCurrentHealth(int) - Method in class com.deco2800.game.memento.Originator
-
saves the current health of the player
- setCurrentWorldStep(Boolean) - Method in class com.deco2800.game.entities.EntityService
-
act as mutex lock to stop concurrent crashes with physics engine
- setDamage(int) - Method in class com.deco2800.game.components.Environmental.CollisionEffectComponent
- setDayNightCycleComponent(DayNightCycleComponent) - Method in class com.deco2800.game.rendering.RenderService
- setDebug(DebugRenderer) - Method in class com.deco2800.game.rendering.RenderService
- setDefense(int) - Method in class com.deco2800.game.memento.Originator
-
sets the defense multiplier
- setDensity(float) - Method in class com.deco2800.game.physics.components.ColliderComponent
-
Set density
- setDescription(String) - Method in class com.deco2800.game.achievements.Achievement
- setDestroyEntire(ArrayList<Entity>) - Method in class com.deco2800.game.entities.EntityService
- setDone(int) - Method in class com.deco2800.game.components.achievements.AchievementProgressBar
- setEffectTarget(CollisionEffectComponent.EffectTarget) - Method in class com.deco2800.game.components.Environmental.CollisionEffectComponent
-
sets the entity/ies to be effected
- 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(GridPoint2, Entity, String) - Method in class com.deco2800.game.entities.UGS
-
Takes a String and Entity, and sets the corresponding tile's Entity parameter
- setEntity(Entity) - Method in class com.deco2800.game.components.Component
-
Set the entity to which this component belongs.
- setEntity(Entity) - Method in class com.deco2800.game.entities.Tile
-
Sets the entity parameter of the tile
- setEntityType(EntityClassification.NPCClassification) - Method in class com.deco2800.game.components.npc.EntityClassification
-
Set entity type, useful for reassigning ENEMY to BOSS
- setEquipmentList(List<Equipments>) - Method in class com.deco2800.game.components.player.InventoryComponent
- setEquipmentsList(List<Equipments>) - Method in class com.deco2800.game.memento.Originator
-
record the list of equipment in the inventory
- setFriction(float) - Method in class com.deco2800.game.physics.components.ColliderComponent
-
Set friction.
- setGold(int) - Method in class com.deco2800.game.components.player.InventoryComponent
-
Sets the player's gold.
- setGold(int) - Method in class com.deco2800.game.memento.Originator
-
saves the amount of gold that the player currently have
- setHealth(int) - Method in class com.deco2800.game.components.CombatStatsComponent
-
Sets the entity's health.
- setHealth(int) - Method in class com.deco2800.game.files.Tuple
- setHideLabel(boolean) - Method in class com.deco2800.game.components.achievements.AchievementProgressBar
- setId(int) - Method in class com.deco2800.game.achievements.Achievement
- setId(int) - Method in class com.deco2800.game.areas.terrain.TerrainTile
- setInvincibility(Boolean) - Method in class com.deco2800.game.components.CombatStatsComponent
- setIslandSize(int, int) - Method in class com.deco2800.game.areas.terrain.TerrainComponent
- setItems(HashMap<Artefact, Integer>) - Method in class com.deco2800.game.components.player.InventoryComponent
- setItems(HashMap<Artefact, Integer>) - Method in class com.deco2800.game.memento.Originator
-
stores the current state of player's inventory items
- setKnockbackForce(float) - Method in class com.deco2800.game.components.Environmental.CollisionEffectComponent
- setLargeEntity(GridPoint2, Entity, int, int, String) - Method in class com.deco2800.game.entities.UGS
-
Function for setting / updating tiles for an entity whose size is greater than 1x1.
- setLastSaved(long) - Method in class com.deco2800.game.achievements.AchievementData
- setLayer(short) - Method in class com.deco2800.game.physics.components.ColliderComponent
-
Set the collider layer, used in collision logic
- setLevel(int) - Method in class com.deco2800.game.components.CombatStatsComponent
- setLevel(int) - Method in class com.deco2800.game.files.Tuple
- setMainArea(GameArea) - Method in class com.deco2800.game.areas.MainArea
- setMaxHealth(int) - Method in class com.deco2800.game.components.CombatStatsComponent
-
Sets the entity's maximum health.
- 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.
- setName(String) - Method in class com.deco2800.game.achievements.Achievement
- setName(String) - Method in class com.deco2800.game.entities.Entity
- setName(String) - Method in class com.deco2800.game.files.Tuple
- setNewSpeed(Vector2) - Method in class com.deco2800.game.physics.components.PhysicsMovementComponent
-
set new speed which can differ to default speed
- setNotifyOnLoad(Boolean) - Method in class com.deco2800.game.achievements.Achievement
- setNpcNum(int) - Method in class com.deco2800.game.entities.NpcService
- setNpcService(NpcService) - Static method in class com.deco2800.game.services.ServiceLocator
- setNpcType(int) - Method in class com.deco2800.game.entities.NpcService
- setObstacle(EnvironmentalComponent.EnvironmentalObstacle) - Method in class com.deco2800.game.components.Environmental.EnvironmentalComponent
-
Basic setter of component type
- setOneNight(boolean) - Method in class com.deco2800.game.achievements.Achievement
- setOneRun(boolean) - Method in class com.deco2800.game.achievements.Achievement
- setOpen() - Method in class com.deco2800.game.ui.terminal.Terminal
-
Opens the terminal.
- setOrientation(int) - Method in class com.deco2800.game.components.infrastructure.OrientationComponent
-
set the orientation of a structure
- setOriginalSpeed(Vector2) - Method in class com.deco2800.game.physics.components.PhysicsMovementComponent
-
Sets the fault speed of the entity
- setPartOfDay(DayNightCycleStatus) - Method in class com.deco2800.game.rendering.DayNightCycleComponent
- setPartOfDayTo(DayNightCycleStatus) - Method in class com.deco2800.game.services.DayNightCycleService
-
Helps make testing easy in mocking.
- setPlayerState(HashMap<String, Object>) - Method in class com.deco2800.game.files.Tuple
- 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) - Method in class com.deco2800.game.files.Tuple
- setPosition(Vector2, boolean) - Method in class com.deco2800.game.entities.Entity
-
Set the entity's game position and optionally notifies listeners.
- setPriority(int) - Method in class com.deco2800.game.input.InputComponent
- setRenderUtil(RenderUtil) - Method in class com.deco2800.game.components.HealthBarComponent
-
For setting a renderUtil if instantiated as a mock or otherwise
- setResourceAmount(int) - Method in class com.deco2800.game.entities.Entity
- setResourceType(ResourceType) - Method in class com.deco2800.game.entities.Entity
- setRestitution(float) - Method in class com.deco2800.game.physics.components.ColliderComponent
-
Set restitution
- setRotation(int) - Method in class com.deco2800.game.entities.Entity
- setRotation(int) - Method in class com.deco2800.game.files.Tuple
- 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(AtlantisSinks.ScreenType) - Method in class com.deco2800.game.AtlantisSinks
-
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.
- setSettingsScreen(AtlantisSinks.ScreenType) - Method in class com.deco2800.game.AtlantisSinks
- setShape(Shape) - Method in class com.deco2800.game.physics.components.ColliderComponent
-
Set shape
- setStage(Stage) - Method in class com.deco2800.game.rendering.RenderService
- setStat(boolean) - Method in class com.deco2800.game.achievements.Achievement
- setStone(int) - Method in class com.deco2800.game.components.player.InventoryComponent
-
Sets the player's stone.
- setStone(int) - Method in class com.deco2800.game.memento.Originator
-
saves the amount of stone that the player currently have
- setStructureLevel(int) - Method in class com.deco2800.game.files.Tuple
- setTangible(short) - Method in class com.deco2800.game.physics.components.ColliderComponent
-
Set specific layers it collides with, used in collision logic
- setTarget(Vector2) - Method in interface com.deco2800.game.ai.movement.MovementController
- setTarget(Vector2) - Method in class com.deco2800.game.components.tasks.MovementTask
- setTarget(Vector2) - Method in class com.deco2800.game.physics.components.PhysicsMovementComponent
-
Set a target to move towards.
- setTempBuildState(Boolean) - Method in class com.deco2800.game.entities.StructureService
-
Set the building temp entity state
- setTexture(String) - Method in class com.deco2800.game.files.Tuple
- setTileGridPosition(GridPoint2) - Method in class com.deco2800.game.entities.Entity
-
Set the entity's position at a specific tile position
- setTileString(String) - Method in class com.deco2800.game.files.Tuple
- setTileType(GridPoint2, String) - Method in class com.deco2800.game.entities.UGS
-
Takes a String and Entity, and sets the corresponding tile's tileType parameter
- setTileType(String) - Method in class com.deco2800.game.entities.Tile
-
Sets the tileType parameter of the tile
- 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.AtlantisSinks.ScreenType
- SettingsMenuDisplay - Class in com.deco2800.game.components.settingsmenu
-
Settings menu display and logic.
- SettingsMenuDisplay(AtlantisSinks, AtlantisSinks.ScreenType) - Constructor for class com.deco2800.game.components.settingsmenu.SettingsMenuDisplay
- SettingsScreen - Class in com.deco2800.game.screens
-
The game screen containing the settings.
- SettingsScreen(AtlantisSinks, AtlantisSinks.ScreenType) - Constructor for class com.deco2800.game.screens.SettingsScreen
- setTotalAchieved(Integer) - Method in class com.deco2800.game.achievements.Achievement
- setToVelocity(Body, Vector2) - Method in class com.deco2800.game.physics.components.PhysicsMovementComponent
- setToVelocity(Body, Vector2) - Method in class com.deco2800.game.physics.components.ProjectileMovementComponent
- setType(AchievementType) - Method in class com.deco2800.game.components.achievements.AchievementButton
- setUiPopUp(int, int) - Static method in class com.deco2800.game.entities.StructureService
- setWeapon(Equipments) - Method in class com.deco2800.game.components.player.InventoryComponent
- setWeapon(Equipments) - Method in class com.deco2800.game.memento.Originator
-
sets the weapon enum
- setWood(int) - Method in class com.deco2800.game.components.player.InventoryComponent
-
Sets the player's wood.
- setWood(int) - Method in class com.deco2800.game.memento.Originator
-
saves the amount of gold that the player currently have
- SHELL - Enum constant in enum class com.deco2800.game.components.Environmental.EnvironmentalComponent.EnvironmentalObstacle
- SHIELD - Enum constant in enum class com.deco2800.game.components.shop.equipments.Equipments
- SHIPWRECK_BACK - Enum constant in enum class com.deco2800.game.components.Environmental.EnvironmentalComponent.EnvironmentalObstacle
- SHIPWRECK_FRONT - Enum constant in enum class com.deco2800.game.components.Environmental.EnvironmentalComponent.EnvironmentalObstacle
- ShootMultipleTask - Class in com.deco2800.game.components.tasks
- ShootMultipleTask(ArrayList<Entity>, float) - Constructor for class com.deco2800.game.components.tasks.ShootMultipleTask
- ShootTask - Class in com.deco2800.game.components.tasks
- ShootTask(Entity, int, float, float) - Constructor for class com.deco2800.game.components.tasks.ShootTask
- SHOP_MUSIC - Static variable in class com.deco2800.game.areas.ForestGameArea
- ShopBuilding - Enum Class in com.deco2800.game.components.shop.artefacts
- ShopBuildingConfig - Class in com.deco2800.game.entities.configs
- ShopBuildingConfig() - Constructor for class com.deco2800.game.entities.configs.ShopBuildingConfig
- ShopInterface - Class in com.deco2800.game.components.shop
- ShopInterface() - Constructor for class com.deco2800.game.components.shop.ShopInterface
- ShopUtils - Class in com.deco2800.game.components.shop
- ShopUtils() - Constructor for class com.deco2800.game.components.shop.ShopUtils
- SHORELINE - Enum constant in enum class com.deco2800.game.areas.terrain.TerrainFactory.TileType
- shouldFade() - Method in class com.deco2800.game.rendering.DayNightCycleComponent
-
Signals whether we need to fade to next part of day.
- 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
- size() - Method in class com.deco2800.game.memento.CareTaker
-
retrieve the entire list of the caretaker
- skin - Static variable in class com.deco2800.game.ui.UIComponent
- SLOW - Enum constant in enum class com.deco2800.game.components.Environmental.CollisionEffectComponent.CollisionEffect
- SMALL_FONT - Static variable in class com.deco2800.game.areas.ForestGameArea
- 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
- 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.
- speed - Variable in class com.deco2800.game.entities.configs.MeleeBossConfig
- SPEED_ARTEFACT - Enum constant in enum class com.deco2800.game.components.Environmental.EnvironmentalComponent.EnvironmentalObstacle
- SPIKY_BUSH - Enum constant in enum class com.deco2800.game.components.Environmental.EnvironmentalComponent.EnvironmentalObstacle
- spliterator() - Method in class com.deco2800.game.utils.SortedIntMap
- stage - Variable in class com.deco2800.game.ui.UIComponent
- 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() - Method in class com.deco2800.game.components.tasks.MeleeAvoidObstacleTask
-
set a new target perpendicular to the direction of the previous target Note this is only called when priority is highest (i.e.
- start() - Method in class com.deco2800.game.components.tasks.MeleePursueTask
-
start chasing
- start() - Method in class com.deco2800.game.components.tasks.MovementTask
- start() - Method in class com.deco2800.game.components.tasks.NPCMovementTask
- start() - Method in class com.deco2800.game.components.tasks.RangedMovementTask
- start() - Method in class com.deco2800.game.components.tasks.ShootMultipleTask
- start() - Method in class com.deco2800.game.components.tasks.ShootTask
- 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() - Method in class com.deco2800.game.services.DayNightCycleService
-
Starts the day night cycle for the game.
- startAnimation(Entity) - Method in class com.deco2800.game.components.npc.BossAnimationController
-
starts animation, facing the boss in the direction of its target (usually crystal)
- startAnimation(String) - Method in class com.deco2800.game.rendering.AnimationRenderComponent
-
Start playback of an animation.
- STAT_ACHIEVEMENT_1_MILESTONE - Static variable in class com.deco2800.game.services.AchievementHandler
-
Default stat achievement first level
- STAT_ACHIEVEMENT_10_MILESTONE - Static variable in class com.deco2800.game.services.AchievementHandler
-
Default stat achievement second level
- STAT_ACHIEVEMENT_25_MILESTONE - Static variable in class com.deco2800.game.services.AchievementHandler
-
Default stat achievement third level
- STAT_ACHIEVEMENT_50_MILESTONE - Static variable in class com.deco2800.game.services.AchievementHandler
-
Default stat achievement forth level
- state - Variable in class com.deco2800.game.memento.Originator
- status - Variable in class com.deco2800.game.ai.tasks.DefaultTask
- stone - Variable in class com.deco2800.game.entities.configs.BaseStructureConfig
- stone - Variable in class com.deco2800.game.entities.configs.PlayerConfig
- stone - Variable in class com.deco2800.game.memento.Originator
- STONE - Enum constant in enum class com.deco2800.game.components.Environmental.EnvironmentalComponent.ResourceTypes
- STONE - Enum constant in enum class com.deco2800.game.components.infrastructure.ResourceType
- STONE_PILLAR - Enum constant in enum class com.deco2800.game.components.Environmental.EnvironmentalComponent.EnvironmentalObstacle
- stoneCost - Variable in class com.deco2800.game.entities.configs.ArtefactConfig
- stoneCost - Variable in class com.deco2800.game.entities.configs.EquipmentConfig
- stoneCost - Variable in class com.deco2800.game.entities.configs.ShopBuildingConfig
- stoneQuarry - Variable in class com.deco2800.game.entities.configs.ResourceBuildingConfig
- 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() - Method in class com.deco2800.game.components.tasks.MeleeAvoidObstacleTask
- stop() - Method in class com.deco2800.game.components.tasks.MeleePursueTask
- stop() - Method in class com.deco2800.game.components.tasks.RangedMovementTask
- stop() - Method in class com.deco2800.game.services.DayNightCycleService
-
Stops the day night cycle timer for the game.
- stopAnimation() - Method in class com.deco2800.game.rendering.AnimationRenderComponent
-
Stop the currently running animation.
- stopMusic() - Method in class com.deco2800.game.areas.GuidebookArea
- STORY_LINE_EPILOGUE - Enum constant in enum class com.deco2800.game.AtlantisSinks.ScreenType
- STORY_LINE_PROLOGUE - Enum constant in enum class com.deco2800.game.AtlantisSinks.ScreenType
- storyLineAction - Class in com.deco2800.game.components.storyline
- storyLineAction(AtlantisSinks) - Constructor for class com.deco2800.game.components.storyline.storyLineAction
- storyLineInputComponent - Class in com.deco2800.game.components.storyline
-
Input handler for the storyline UI for keyboard input.
- storyLineInputComponent() - Constructor for class com.deco2800.game.components.storyline.storyLineInputComponent
- 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.
- StructureConfig - Class in com.deco2800.game.entities.configs
-
Defines all structure configs to be loaded by the Structure Factory.
- StructureConfig() - Constructor for class com.deco2800.game.entities.configs.StructureConfig
- StructureFactory - Class in com.deco2800.game.entities.factories
-
Factory to create structure entities with predefined components.
- structureLevel - Variable in class com.deco2800.game.files.Tuple
- StructureService - Class in com.deco2800.game.entities
-
Provides a global access point for entities to register themselves.
- StructureService() - Constructor for class com.deco2800.game.entities.StructureService
- SUMMARY - Enum constant in enum class com.deco2800.game.achievements.AchievementType
- SWORD - Enum constant in enum class com.deco2800.game.components.shop.equipments.Equipments
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
- target - Variable in class com.deco2800.game.components.tasks.ShootTask
- 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
- 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
- TERRAIN - Static variable in class com.deco2800.game.areas.ForestGameArea
- 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, GridPoint2, ArrayList<ArrayList<GridPoint2>>, ArrayList<ArrayList<GridPoint2>>) - 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.
- TerrainFactory.TileType - Enum Class in com.deco2800.game.areas.terrain
- 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(float, Array<StaticTiledMapTile>, String) - Constructor for class com.deco2800.game.areas.terrain.TerrainTile
- textLabel(String, int, float) - Static method in class com.deco2800.game.components.Guidebook.GuidebookDisplay
- texture - Variable in class com.deco2800.game.components.shop.artefacts.Equipment
- texture - Variable in class com.deco2800.game.files.Tuple
- 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
- TextUtil - Class in com.deco2800.game.utils
- TextUtil() - Constructor for class com.deco2800.game.utils.TextUtil
- Tile - Class in com.deco2800.game.entities
-
Class representing a 'Tile' in the game world.
- Tile() - Constructor for class com.deco2800.game.entities.Tile
-
Creates a new Tile object and initialises it with default values.
- Tile(Entity) - Constructor for class com.deco2800.game.entities.Tile
-
Creates a new Tile object and initialises it with a given Entity
- Tile(String) - Constructor for class com.deco2800.game.entities.Tile
-
Creates a new Tile object and initialises it with a given tileType
- Tile(String, Entity) - Constructor for class com.deco2800.game.entities.Tile
-
Creates a new Tile object and initialises it with the provided values for tileType and entity
- tileString - Variable in class com.deco2800.game.files.Tuple
- tileToWorldPosition(int, int) - Method in class com.deco2800.game.areas.terrain.TerrainComponent
- tileToWorldPosition(GridPoint2) - Method in class com.deco2800.game.areas.terrain.TerrainComponent
- time - Variable in class com.deco2800.game.entities.configs.ArtefactConfig
- timePaused - Variable in class com.deco2800.game.services.DayNightCycleService
- timePerHalveOfPartOfDay - Variable in class com.deco2800.game.services.DayNightCycleService
- timer - Variable in class com.deco2800.game.services.DayNightCycleService
- TimerComponent - Class in com.deco2800.game.components
-
When this entity touches a valid enemy's hitbox, deal damage to them and apply a knockback.
- TimerComponent() - Constructor for class com.deco2800.game.components.TimerComponent
- timeSinceLastPartOfDay - Variable in class com.deco2800.game.services.DayNightCycleService
- TITLE_FONT - Static variable in class com.deco2800.game.areas.ForestGameArea
- toDestroyEntities - Variable in class com.deco2800.game.entities.EntityService
- toggleBuildState(boolean) - Static method in class com.deco2800.game.entities.factories.ResourceBuildingFactory
-
Toggles the build state of the player
- toggleIsOpen() - Method in class com.deco2800.game.ui.terminal.Terminal
-
Toggles between the terminal being open and closed.
- toggleResourceBuildState(boolean) - Static method in class com.deco2800.game.entities.factories.ResourceBuildingFactory
-
Toggles resource building placement mode
- toggleStructureOrientation() - Static method in class com.deco2800.game.entities.StructureService
-
toggle the structure orientation from 0 to 1 or from 1 to 0
- TOP - Enum constant in enum class com.deco2800.game.physics.components.PhysicsComponent.AlignY
- toString() - Method in class com.deco2800.game.components.Component
- toString() - Method in class com.deco2800.game.entities.Entity
- toString() - Method in class com.deco2800.game.memento.Originator
- toString() - Method in class com.deco2800.game.utils.StringDecorator
- totalDurationPaused - Variable in class com.deco2800.game.services.DayNightCycleService
- TotalTime - Variable in class com.deco2800.game.components.tasks.ShootTask
- 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.KeyboardPlayerInputComponent
- touchDown(int, int, int, int) - Method in class com.deco2800.game.components.player.TouchPlayerInputComponent
-
Triggers the player attack.
- 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.components.player.KeyboardPlayerInputComponent
- 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
- tower1 - Variable in class com.deco2800.game.entities.configs.StructureConfig
- TOWER1 - Enum constant in enum class com.deco2800.game.components.shop.artefacts.ShopBuilding
- tower1I - Variable in class com.deco2800.game.entities.configs.StructureConfig
- tower1II - Variable in class com.deco2800.game.entities.configs.StructureConfig
- tower2 - Variable in class com.deco2800.game.entities.configs.StructureConfig
- TOWER2 - Enum constant in enum class com.deco2800.game.components.shop.artefacts.ShopBuilding
- tower2I - Variable in class com.deco2800.game.entities.configs.StructureConfig
- tower2II - Variable in class com.deco2800.game.entities.configs.StructureConfig
- tower3 - Variable in class com.deco2800.game.entities.configs.StructureConfig
- TOWER3 - Enum constant in enum class com.deco2800.game.components.shop.artefacts.ShopBuilding
- tower3I - Variable in class com.deco2800.game.entities.configs.StructureConfig
- tower3II - Variable in class com.deco2800.game.entities.configs.StructureConfig
- translateScreenToIso(Vector2) - Method in class com.deco2800.game.areas.terrain.IsoTileRenderer
- trap - Variable in class com.deco2800.game.entities.configs.StructureConfig
- TRAP1 - Enum constant in enum class com.deco2800.game.components.shop.artefacts.ShopBuilding
- TRAP2 - Enum constant in enum class com.deco2800.game.components.shop.artefacts.ShopBuilding
- TrapComponent - Class in com.deco2800.game.components.infrastructure
-
When this entity touches a valid enemy's hitbox, deal damage to them and apply a knockback.
- TrapComponent(short, float) - Constructor for class com.deco2800.game.components.infrastructure.TrapComponent
-
Create a component which attacks entities on collision, with knockback.
- TREE - Enum constant in enum class com.deco2800.game.components.Environmental.EnvironmentalComponent.EnvironmentalObstacle
- TRIDENT - Enum constant in enum class com.deco2800.game.components.shop.equipments.Equipments
- 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
- triggerCollectEvent(DayNightCycleStatus) - Method in class com.deco2800.game.services.ResourceManagementService
-
Checks if it is morning and that it's not the first day.
- triggerCrystal(String) - Static method in class com.deco2800.game.entities.factories.CrystalService
-
Spawns Crystal outside of Game Area class
- triggerEarlyUpdate() - Method in class com.deco2800.game.components.Component
-
Used to trigger the component to early-update itself.
- triggerOnLoadPopups() - Method in class com.deco2800.game.services.AchievementHandler
-
Sends popups that couldn't be shown when game screen was swapped.
- triggerUpdate() - Method in class com.deco2800.game.components.Component
-
Used to trigger the component to update itself.
- Tuple - Class in com.deco2800.game.files
- Tuple() - Constructor for class com.deco2800.game.files.Tuple
- turret - Variable in class com.deco2800.game.entities.configs.StructureConfig
- tweenPosition(Vector2) - Method in class com.deco2800.game.entities.Entity
- type - Variable in class com.deco2800.game.components.Environmental.ValueTuple
- type - Variable in class com.deco2800.game.entities.configs.ArtefactConfig
- type - Variable in class com.deco2800.game.entities.configs.EquipmentConfig
- type - Variable in class com.deco2800.game.entities.configs.NPCConfig
- type - Variable in class com.deco2800.game.entities.configs.ShopBuildingConfig
U
- UGS - Class in com.deco2800.game.entities
-
Provides a global access point for entities to register themselves to the UGS.
- UGS() - Constructor for class com.deco2800.game.entities.UGS
- 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.
- UNDEFINED - Enum constant in enum class com.deco2800.game.components.Environmental.EnvironmentalComponent.EnvironmentalObstacle
- underAttackBuff - Static variable in class com.deco2800.game.components.npc.EffectNearBy
- underSpeedAffect - Static variable in class com.deco2800.game.components.npc.EffectNearBy
- unloadAssets(String[]) - Method in class com.deco2800.game.services.ResourceService
- unregister(Entity) - Method in class com.deco2800.game.entities.EntityService
-
Unregister an entity with the entity service.
- unregister(Entity) - Method in class com.deco2800.game.entities.NpcService
-
Unregister an entity with the NPC service.
- unregister(Entity) - Method in class com.deco2800.game.entities.StructureService
-
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.
- unregisterNamed(String) - Method in class com.deco2800.game.entities.EntityService
- UP - Static variable in class com.deco2800.game.utils.math.Vector2Utils
- 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.AOEDamageComponent
- update() - Method in class com.deco2800.game.components.camera.CameraActions
-
Updates the current position of the camera.
- update() - Method in class com.deco2800.game.components.CameraComponent
- 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.npc.EffectNearBy
-
Every 60 frames/updates run affects such as apply speed, apply regen, apply attack buff etc
- update() - Method in class com.deco2800.game.components.player.PlayerActions
- update() - Method in class com.deco2800.game.components.RangeAttackComponent
- update() - Method in class com.deco2800.game.components.settingsmenu.SettingsMenuDisplay
- update() - Method in class com.deco2800.game.components.tasks.ChaseTask
- update() - Method in class com.deco2800.game.components.tasks.MeleeAvoidObstacleTask
-
update checks if the new direction has run into any obstacles that stopped movement, and adjusts direction if necessary
- update() - Method in class com.deco2800.game.components.tasks.MeleePursueTask
-
update direction (for moving targets)
- update() - Method in class com.deco2800.game.components.tasks.MovementTask
- update() - Method in class com.deco2800.game.components.tasks.NPCMovementTask
- update() - Method in class com.deco2800.game.components.tasks.RangedMovementTask
- update() - Method in class com.deco2800.game.components.tasks.ShootMultipleTask
- update() - Method in class com.deco2800.game.components.tasks.ShootTask
- update() - Method in class com.deco2800.game.components.tasks.WaitTask
- update() - Method in class com.deco2800.game.components.tasks.WanderTask
- update() - Method in class com.deco2800.game.components.TimerComponent
- 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.entities.NpcService
-
Update all registered entities.
- update() - Method in class com.deco2800.game.entities.StructureService
-
Update all registered entities.
- update() - Method in class com.deco2800.game.physics.components.PhysicsMovementComponent
- update() - Method in class com.deco2800.game.physics.components.ProjectileMovementComponent
- update() - Method in class com.deco2800.game.physics.PhysicsEngine
- updateCrystalHealthUI(int) - Method in class com.deco2800.game.components.player.PlayerStatsDisplay
- updateDisplay() - Method in class com.deco2800.game.components.mainmenu.MainMenuDisplay
- updateItems() - Static method in class com.deco2800.game.components.player.PlayerStatsDisplay
- updateLoadingStat(float) - Method in class com.deco2800.game.components.mainmenu.loader
- updateLoadingStat(int) - Method in class com.deco2800.game.components.loadingPage.LoadingDisplay
- updateMovementTask() - Method in class com.deco2800.game.ai.tasks.AITaskComponent
- updateOrigin(Vector2) - Method in class com.deco2800.game.components.tasks.MovementTask
- updatePlayerMovement(int, boolean) - Method in class com.deco2800.game.components.player.PlayerActions
- updateProductionRate(int) - Method in class com.deco2800.game.components.infrastructure.ResourceBuilding
-
Updates this building's production rate to a new value
- updateResourceAmount() - Method in class com.deco2800.game.components.player.PlayerStatsDisplay
- updateStatAchievementByType(AchievementType, int) - Method in class com.deco2800.game.services.AchievementHandler
-
Basic method to update the stat type achievements when changes are made to the game state.
- updateStoneCountUI() - Static method in class com.deco2800.game.components.player.PlayerStatsDisplay
- updateUGS() - Method in class com.deco2800.game.areas.terrain.TerrainComponent
-
Updates the UGS in response to map state changing: updates each coordinate in the UGS to the new tile type.
- upgradeCrystal() - Static method in class com.deco2800.game.entities.factories.CrystalService
-
Upgrades the level of the Crystal changes its texture and increases its maximum health
- UPGRADES - Enum constant in enum class com.deco2800.game.achievements.AchievementType
- upgradeStructure(GridPoint2, String) - Static method in class com.deco2800.game.entities.factories.StructureFactory
-
Function which handles upgrading buildings.
- useItem(Artefact) - Method in class com.deco2800.game.components.player.InventoryComponent
- 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
- value - Variable in class com.deco2800.game.components.Environmental.ValueTuple
- valueOf(String) - Static method in enum class com.deco2800.game.achievements.AchievementType
-
Returns the enum constant of this class with the specified name.
- 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.areas.terrain.TerrainFactory.TileType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.deco2800.game.AtlantisSinks.ScreenType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.deco2800.game.components.Environmental.CollisionEffectComponent.CollisionEffect
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.deco2800.game.components.Environmental.CollisionEffectComponent.EffectTarget
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.deco2800.game.components.Environmental.EnvironmentalComponent.EnvironmentalObstacle
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.deco2800.game.components.Environmental.EnvironmentalComponent.ResourceTypes
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.deco2800.game.components.infrastructure.ResourceType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.deco2800.game.components.npc.EntityClassification.NPCClassification
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.deco2800.game.components.shop.artefacts.Artefact
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.deco2800.game.components.shop.artefacts.ShopBuilding
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.deco2800.game.components.shop.equipments.Equipments
-
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.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.
- valueOf(String) - Static method in enum class com.deco2800.game.screens.GuidebookStatus
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.deco2800.game.services.DayNightCycleStatus
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.deco2800.game.achievements.AchievementType
-
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.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.areas.terrain.TerrainFactory.TileType
-
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.AtlantisSinks.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.components.Environmental.CollisionEffectComponent.CollisionEffect
-
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.Environmental.CollisionEffectComponent.EffectTarget
-
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.Environmental.EnvironmentalComponent.EnvironmentalObstacle
-
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.Environmental.EnvironmentalComponent.ResourceTypes
-
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.infrastructure.ResourceType
-
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.npc.EntityClassification.NPCClassification
-
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.shop.artefacts.Artefact
-
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.shop.artefacts.ShopBuilding
-
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.shop.equipments.Equipments
-
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.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.
- values() - Static method in enum class com.deco2800.game.screens.GuidebookStatus
-
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.services.DayNightCycleStatus
-
Returns an array containing the constants of this enum class, in the order they are declared.
- ValueTuple<ResourceTypes,
Integer> - Class in com.deco2800.game.components.Environmental -
Tuple for passing the values of environmental objects
- ValueTuple(ResourceTypes, Integer) - Constructor for class com.deco2800.game.components.Environmental.ValueTuple
- Vector2Utils - Class in com.deco2800.game.utils.math
-
Contains additional utility constants and functions for common Vector2 operations.
- VINE - Enum constant in enum class com.deco2800.game.components.Environmental.EnvironmentalComponent.EnvironmentalObstacle
- vsync - Variable in class com.deco2800.game.files.UserSettings.Settings
W
- 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
- wall - Variable in class com.deco2800.game.entities.configs.StructureConfig
- WALL - Enum constant in enum class com.deco2800.game.components.shop.artefacts.ShopBuilding
- 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
- WATER - Enum constant in enum class com.deco2800.game.areas.terrain.TerrainFactory.TileType
- weapon - Variable in class com.deco2800.game.memento.Originator
- WHITE - Static variable in class com.deco2800.game.areas.ForestGameArea
- width - Variable in class com.deco2800.game.files.UserSettings.DisplaySettings
- wood - Variable in class com.deco2800.game.entities.configs.BaseStructureConfig
- wood - Variable in class com.deco2800.game.entities.configs.PlayerConfig
- wood - Variable in class com.deco2800.game.memento.Originator
- WOOD - Enum constant in enum class com.deco2800.game.components.Environmental.EnvironmentalComponent.ResourceTypes
- WOOD - Enum constant in enum class com.deco2800.game.components.infrastructure.ResourceType
- woodCost - Variable in class com.deco2800.game.entities.configs.ArtefactConfig
- woodCost - Variable in class com.deco2800.game.entities.configs.EquipmentConfig
- woodCost - Variable in class com.deco2800.game.entities.configs.ShopBuildingConfig
- woodCutter - Variable in class com.deco2800.game.entities.configs.ResourceBuildingConfig
- WOODCUTTER - Enum constant in enum class com.deco2800.game.components.shop.artefacts.ShopBuilding
- WOODEN_FENCE - Enum constant in enum class com.deco2800.game.components.Environmental.EnvironmentalComponent.EnvironmentalObstacle
- worldToTilePosition(float, float) - Method in class com.deco2800.game.areas.terrain.TerrainComponent
-
float x must be world position x - using camera.unproject float y must be world position y - using camera.unproject
- wouldCollide(Entity, int, int) - Method in class com.deco2800.game.areas.terrain.EnvironmentalCollision
-
Calculates if the given entity will collide with already existing entities Still in testing phase.
- 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