Index

A B C D E F G H I J K L M N O P R S T U V W Z 
All Classes and Interfaces|All Packages|Constant Field Values

A

ABSOLUTE - Enum constant in enum class com.deco2800.game.files.FileLoader.Location
 
AchievementArchive - Class in com.deco2800.game.files
 
AchievementArchive() - Constructor for class com.deco2800.game.files.AchievementArchive
 
AchievementArchive(Map<String, AchievementStatus>) - Constructor for class com.deco2800.game.files.AchievementArchive
 
AchievementConditionConfig - Class in com.deco2800.game.entities.configs.achievementConfigs
Defines a basic set of condition properties stored in achievement config files to be loaded by the Achievement Factory.
AchievementConditionConfig() - Constructor for class com.deco2800.game.entities.configs.achievementConfigs.AchievementConditionConfig
 
AchievementConfigs - Class in com.deco2800.game.entities.configs.achievementConfigs
Defines an ArrayList to store a set of achievements stored in achievement config files to be loaded by the Achievement Factory.
AchievementConfigs() - Constructor for class com.deco2800.game.entities.configs.achievementConfigs.AchievementConfigs
 
AchievementFactory - Class in com.deco2800.game.entities.factories
Factory to create achievement entities with predefined conditions.
AchievementFactory() - Constructor for class com.deco2800.game.entities.factories.AchievementFactory
 
AchievementPropertyConfig - Class in com.deco2800.game.entities.configs.achievementConfigs
Defines a set of properties for an achievement to be loaded by the Achievement Factory.
AchievementPropertyConfig() - Constructor for class com.deco2800.game.entities.configs.achievementConfigs.AchievementPropertyConfig
 
achievements - Variable in class com.deco2800.game.entities.configs.achievementConfigs.AchievementConfigs
 
ACHIEVEMENTS - Enum constant in enum class com.deco2800.game.GdxGame.ScreenType
 
AchievementsDisplay - Class in com.deco2800.game.components.achievements
 
AchievementsDisplay(GdxGame) - Constructor for class com.deco2800.game.components.achievements.AchievementsDisplay
 
AchievementService - Class in com.deco2800.game.services
 
AchievementService() - Constructor for class com.deco2800.game.services.AchievementService
 
AchievementsScreen - Class in com.deco2800.game.screens
The game screen containing the achievements.
AchievementsScreen(GdxGame) - Constructor for class com.deco2800.game.screens.AchievementsScreen
 
AchievementStatsComponent - Class in com.deco2800.game.components.achievements
 
AchievementStatsComponent() - Constructor for class com.deco2800.game.components.achievements.AchievementStatsComponent
 
AchievementStatsComponent(Map<String, AchievementStatus>) - Constructor for class com.deco2800.game.components.achievements.AchievementStatsComponent
 
AchievementStatus - Class in com.deco2800.game.components.achievements.pojo
Each achievement has a corresponding achievement status, which records various information about the achievement
AchievementStatus() - Constructor for class com.deco2800.game.components.achievements.pojo.AchievementStatus
 
AchievementStatus(String, boolean) - Constructor for class com.deco2800.game.components.achievements.pojo.AchievementStatus
 
achievementStatusMap - Variable in class com.deco2800.game.files.AchievementArchive
 
AchievementsUpdater - Class in com.deco2800.game.components.achievements
 
AchievementsUpdater() - Constructor for class com.deco2800.game.components.achievements.AchievementsUpdater
 
act(float) - Method in class com.deco2800.game.components.npcEvictionMenu.ParticleActor
 
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(int) - Method in class com.deco2800.game.components.player.entity.Backpack
 
add(int) - Method in interface com.deco2800.game.components.player.entity.Inventory
Add an item with a specified id
add(int) - Method in class com.deco2800.game.components.player.InventoryComponent
 
add(int, int) - Method in class com.deco2800.game.components.player.entity.Backpack
 
add(int, int) - Method in interface com.deco2800.game.components.player.entity.Inventory
Add several of this item
add(int, int) - Method in class com.deco2800.game.components.player.InventoryComponent
 
add(String) - Method in class com.deco2800.game.components.player.entity.Backpack
 
add(String) - Method in interface com.deco2800.game.components.player.entity.Inventory
Add an item with a specified id
add(String) - Method in class com.deco2800.game.components.player.InventoryComponent
 
add(String, int) - Method in class com.deco2800.game.components.player.entity.Backpack
 
add(String, int) - Method in interface com.deco2800.game.components.player.entity.Inventory
Add several of this item
add(String, int) - Method in class com.deco2800.game.components.player.InventoryComponent
 
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.
addAresClue0() - Method in class com.deco2800.game.components.npc.NPCClueLibrary
 
addClue(String, int) - Method in class com.deco2800.game.components.npc.NPCClueLibrary
 
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.
addDorisClue0() - Method in class com.deco2800.game.components.npc.NPCClueLibrary
 
addGold(int) - Method in class com.deco2800.game.components.player.InventoryComponent
Deprecated.
addHealth(int) - Method in class com.deco2800.game.components.CombatStatsComponent
Adds to the player's health.
addHephClue0() - Method in class com.deco2800.game.components.npc.NPCClueLibrary
 
addHephClue1() - Method in class com.deco2800.game.components.npc.NPCClueLibrary
 
addHephClue2() - Method in class com.deco2800.game.components.npc.NPCClueLibrary
 
addHephClue3() - Method in class com.deco2800.game.components.npc.NPCClueLibrary
 
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
addMetisClue0() - Method in class com.deco2800.game.components.npc.NPCClueLibrary
 
addMetisClue1() - Method in class com.deco2800.game.components.npc.NPCClueLibrary
 
addMetisClue2() - Method in class com.deco2800.game.components.npc.NPCClueLibrary
 
addMetisClue3() - Method in class com.deco2800.game.components.npc.NPCClueLibrary
 
addNereusClue0() - Method in class com.deco2800.game.components.npc.NPCClueLibrary
 
addNereusClue1() - Method in class com.deco2800.game.components.npc.NPCClueLibrary
 
addNereusClue2() - Method in class com.deco2800.game.components.npc.NPCClueLibrary
 
addNereusClue3() - Method in class com.deco2800.game.components.npc.NPCClueLibrary
 
addOrpheusClue0() - Method in class com.deco2800.game.components.npc.NPCClueLibrary
 
addOrpheusClue1() - Method in class com.deco2800.game.components.npc.NPCClueLibrary
 
addOrpheusClue2() - Method in class com.deco2800.game.components.npc.NPCClueLibrary
 
addTask(PriorityTask) - Method in class com.deco2800.game.ai.tasks.AITaskComponent
Add a priority task to the list of tasks.
addToInventory(int, InventoryComponent, Fixture) - Method in class com.deco2800.game.components.player.AddToInventoryComponent
Deprecated.
AddToInventoryComponent - Class in com.deco2800.game.components.player
When this entity touches a valid objects's hitbox, the item dissappears and is added to the inventory hashmap
AddToInventoryComponent(short) - Constructor for class com.deco2800.game.components.player.AddToInventoryComponent
Create a component which is added to the player entities on collision
AddToInventoryComponent(short, int) - Constructor for class com.deco2800.game.components.player.AddToInventoryComponent
 
addZoeClue0() - Method in class com.deco2800.game.components.npc.NPCClueLibrary
 
AdvancedNpcInteraction - Class in com.deco2800.game.components.npc
 
AdvancedNpcInteraction(int) - Constructor for class com.deco2800.game.components.npc.AdvancedNpcInteraction
Create a new instance of NpcInteractionn
AITaskComponent - Class in com.deco2800.game.ai.tasks
Task-based AI component.
AITaskComponent() - Constructor for class com.deco2800.game.ai.tasks.AITaskComponent
 
ALL - Static variable in class com.deco2800.game.physics.PhysicsLayer
 
AllHitCallback - Class in com.deco2800.game.physics.raycast
Cast a ray against all colliders that match the layer mask.
AllHitCallback() - Constructor for class com.deco2800.game.physics.raycast.AllHitCallback
 
angleFromTo(Vector2, Vector2) - Static method in class com.deco2800.game.utils.math.Vector2Utils
Calculate the angle in degrees between two vectors
angleTo(Vector2) - Static method in class com.deco2800.game.utils.math.Vector2Utils
Calculate the angle in degrees of a vector.
animateAttack() - Method in class com.deco2800.game.components.player.PlayerAnimationController
 
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.
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
 
attackStatus(boolean) - Method in class com.deco2800.game.components.player.FistAttackComponent
 
attackStatus(boolean) - Method in class com.deco2800.game.components.player.GunAttackComponent
 
attackStatus(boolean) - Method in class com.deco2800.game.components.player.KnifeAttackComponent
 
attempt - Variable in class com.deco2800.game.entities.configs.PlayerProfileProperties
 

B

Backpack - Class in com.deco2800.game.components.player.entity
 
Backpack() - Constructor for class com.deco2800.game.components.player.entity.Backpack
 
baseAttack - Variable in class com.deco2800.game.entities.configs.BaseEntityConfig
 
baseAttack - Variable in class com.deco2800.game.entities.configs.bulletConfig
 
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
 
BATTERY_ID - Static variable in class com.deco2800.game.entities.factories.SwitchFactory
 
BatteryItem - Class in com.deco2800.game.components.player.entity
 
BatteryItem() - Constructor for class com.deco2800.game.components.player.entity.BatteryItem
 
BatteryItem(int, String, String, String) - Constructor for class com.deco2800.game.components.player.entity.BatteryItem
 
beginContact(Contact) - Method in class com.deco2800.game.physics.PhysicsContactListener
 
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
 
BOTTOM - Enum constant in enum class com.deco2800.game.physics.components.PhysicsComponent.AlignY
 
bullet - Variable in class com.deco2800.game.entities.configs.NPCConfigs
 
bulletConfig - Class in com.deco2800.game.entities.configs
 
bulletConfig() - Constructor for class com.deco2800.game.entities.configs.bulletConfig
 

C

calculateAveTi(int, int) - Method in class com.deco2800.game.components.player.PlayerProfileDisplay
 
calculateAvg(int, int) - Method in class com.deco2800.game.components.player.PlayerProfileDisplay
Calculates the average value.
calculateAvgAtm(int, int) - Method in class com.deco2800.game.components.player.PlayerProfileDisplay
 
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
 
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
 
changeStatus() - Method in class com.deco2800.game.screens.MainGameScreen
 
changeStatus2() - Method in class com.deco2800.game.screens.MainGameScreen
 
chapterNum - Static variable in class com.deco2800.game.components.npc.NpcInteractionDisplay
 
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
 
CLASSPATH - Enum constant in enum class com.deco2800.game.files.FileLoader.Location
 
clear() - Method in class com.deco2800.game.components.npc.NPCClueLibrary
 
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.
ClueItem - Class in com.deco2800.game.components.player.entity
 
ClueItem() - Constructor for class com.deco2800.game.components.player.entity.ClueItem
 
ClueItem(int, String, String, String) - Constructor for class com.deco2800.game.components.player.entity.ClueItem
 
ClueItemComponent - Class in com.deco2800.game.components.player
 
ClueItemComponent(int) - Constructor for class com.deco2800.game.components.player.ClueItemComponent
Create a component which is used to increase the guilt level
ClueItemFactory - Class in com.deco2800.game.entities.factories
Deprecated.
ClueLibrary - Class in com.deco2800.game.components.clues
 
ClueLibrary() - Constructor for class com.deco2800.game.components.clues.ClueLibrary
 
CollectionAchievementStatus - Class in com.deco2800.game.components.achievements.pojo
Collection achievement status
CollectionAchievementStatus() - Constructor for class com.deco2800.game.components.achievements.pojo.CollectionAchievementStatus
 
CollectionAchievementStatus(String, boolean, int) - Constructor for class com.deco2800.game.components.achievements.pojo.CollectionAchievementStatus
 
ColliderComponent - Class in com.deco2800.game.physics.components
Attaches a physics collider to an entity.
ColliderComponent() - Constructor for class com.deco2800.game.physics.components.ColliderComponent
 
com.deco2800.game - package com.deco2800.game
 
com.deco2800.game.ai.movement - package com.deco2800.game.ai.movement
 
com.deco2800.game.ai.tasks - package com.deco2800.game.ai.tasks
 
com.deco2800.game.areas - package com.deco2800.game.areas
 
com.deco2800.game.areas.terrain - package com.deco2800.game.areas.terrain
 
com.deco2800.game.components - package com.deco2800.game.components
 
com.deco2800.game.components.achievements - package com.deco2800.game.components.achievements
 
com.deco2800.game.components.achievements.pojo - package com.deco2800.game.components.achievements.pojo
 
com.deco2800.game.components.clues - package com.deco2800.game.components.clues
 
com.deco2800.game.components.countDownClock - package com.deco2800.game.components.countDownClock
 
com.deco2800.game.components.endingmenu - package com.deco2800.game.components.endingmenu
 
com.deco2800.game.components.gamearea - package com.deco2800.game.components.gamearea
 
com.deco2800.game.components.gameoverScreen - package com.deco2800.game.components.gameoverScreen
 
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.mainmenu.storyline - package com.deco2800.game.components.mainmenu.storyline
 
com.deco2800.game.components.map - package com.deco2800.game.components.map
 
com.deco2800.game.components.npc - package com.deco2800.game.components.npc
 
com.deco2800.game.components.npcEvictionMenu - package com.deco2800.game.components.npcEvictionMenu
 
com.deco2800.game.components.player - package com.deco2800.game.components.player
 
com.deco2800.game.components.player.entity - package com.deco2800.game.components.player.entity
 
com.deco2800.game.components.settingsmenu - package com.deco2800.game.components.settingsmenu
 
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.configs.achievementConfigs - package com.deco2800.game.entities.configs.achievementConfigs
 
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.music - package com.deco2800.game.music
 
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.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
 
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.
condition - Variable in class com.deco2800.game.entities.configs.achievementConfigs.AchievementPropertyConfig
 
ConsumableItem - Class in com.deco2800.game.components.player.entity
 
ConsumableItem() - Constructor for class com.deco2800.game.components.player.entity.ConsumableItem
 
ConsumableItem(int, String, String, String) - Constructor for class com.deco2800.game.components.player.entity.ConsumableItem
 
ConsumableItemFactory - Class in com.deco2800.game.entities.factories
Deprecated.
ConsumeableItemComponent - Class in com.deco2800.game.components.player
Used to determine if object is consumable
ConsumeableItemComponent(float) - Constructor for class com.deco2800.game.components.player.ConsumeableItemComponent
Create a component which is used to increase the time
consumeClueItem(Entity, int) - Method in class com.deco2800.game.components.player.InventoryDisplayComponent
 
consumeTimeItem(Entity, int) - Method in class com.deco2800.game.components.player.InventoryDisplayComponent
 
consumeTopup() - Method in class com.deco2800.game.components.player.InventoryDisplayComponent
 
contains(int) - Method in class com.deco2800.game.components.player.entity.Backpack
 
contains(int) - Method in interface com.deco2800.game.components.player.entity.Inventory
Check if a specific item is present in the backpack
contains(int) - Method in class com.deco2800.game.components.player.InventoryComponent
 
contains(short, short) - Static method in class com.deco2800.game.physics.PhysicsLayer
 
contains(String) - Method in class com.deco2800.game.components.player.entity.Backpack
 
contains(String) - Method in interface com.deco2800.game.components.player.entity.Inventory
Check if a specific item is present in the backpack
contains(String) - Method in class com.deco2800.game.components.player.InventoryComponent
 
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
 
CoralItem - Class in com.deco2800.game.components.player.entity
 
CoralItem() - Constructor for class com.deco2800.game.components.player.entity.CoralItem
 
CoralItem(int, String, String, String) - Constructor for class com.deco2800.game.components.player.entity.CoralItem
 
count(int) - Method in class com.deco2800.game.components.player.entity.Backpack
 
count(int) - Method in interface com.deco2800.game.components.player.entity.Inventory
Quantity of a specific item
count(int) - Method in class com.deco2800.game.components.player.InventoryComponent
 
count(String) - Method in class com.deco2800.game.components.player.entity.Backpack
 
count(String) - Method in interface com.deco2800.game.components.player.entity.Inventory
Quantity of a specific item
count(String) - Method in class com.deco2800.game.components.player.InventoryComponent
 
COUNTDOWN_SCREEN - Enum constant in enum class com.deco2800.game.GdxGame.ScreenType
 
countdownDisplay - Class in com.deco2800.game.components.countDownClock
 
countdownDisplay(GdxGame) - Constructor for class com.deco2800.game.components.countDownClock.countdownDisplay
 
CountdownScreen - Class in com.deco2800.game.screens
The game screen containing the settings.
CountdownScreen(GdxGame) - Constructor for class com.deco2800.game.screens.CountdownScreen
 
counterLabel - Variable in class com.deco2800.game.components.countDownClock.countdownDisplay
 
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.components.achievements.AchievementsDisplay
 
create() - Method in class com.deco2800.game.components.achievements.AchievementStatsComponent
 
create() - Method in class com.deco2800.game.components.achievements.AchievementsUpdater
 
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.countDownClock.countdownDisplay
 
create() - Method in class com.deco2800.game.components.countDownClock.PausedWindow
 
create() - Method in class com.deco2800.game.components.countDownClock.TaskWindow
 
create() - Method in class com.deco2800.game.components.endingmenu.EndingMenuActions
 
create() - Method in class com.deco2800.game.components.endingmenu.EndingMenuDisplay
 
create() - Method in class com.deco2800.game.components.endingmenu.timeOverDisplay
 
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.gameoverScreen.GameOverDisplay
 
create() - Method in class com.deco2800.game.components.maingame.MainGameActions
 
create() - Method in class com.deco2800.game.components.maingame.MainGameExitDisplay
 
create() - Method in class com.deco2800.game.components.mainmenu.LoadGameDisplay
 
create() - Method in class com.deco2800.game.components.mainmenu.MainMenuActions
 
create() - Method in class com.deco2800.game.components.mainmenu.MainMenuDisplay
 
create() - Method in class com.deco2800.game.components.mainmenu.storyline.TutorialDisplay
 
create() - Method in class com.deco2800.game.components.map.Lab_1_Display
 
create() - Method in class com.deco2800.game.components.map.Lab_2_Display
 
create() - Method in class com.deco2800.game.components.map.Lab_3_Display
 
create() - Method in class com.deco2800.game.components.map.Lab_4_Display
 
create() - Method in class com.deco2800.game.components.map.Lab_5_Display
 
create() - Method in class com.deco2800.game.components.map.LabHouseDisplay
 
create() - Method in class com.deco2800.game.components.map.MapDisplay
 
create() - Method in class com.deco2800.game.components.npc.GhostAnimationController
 
create() - Method in class com.deco2800.game.components.npc.MonsterAnimationController
 
create() - Method in class com.deco2800.game.components.npc.NpcInteractionDisplay
 
create() - Method in class com.deco2800.game.components.npc.TriggerDialogComponent
 
create() - Method in class com.deco2800.game.components.npcEvictionMenu.NpcEvictionMenuDisplay
Deprecated.
 
create() - Method in class com.deco2800.game.components.player.AddToInventoryComponent
 
create() - Method in class com.deco2800.game.components.player.ClueItemComponent
 
create() - Method in class com.deco2800.game.components.player.ConsumeableItemComponent
 
create() - Method in class com.deco2800.game.components.player.DamageFlashDisplayComponent
 
create() - Method in class com.deco2800.game.components.player.FistAttackComponent
 
create() - Method in class com.deco2800.game.components.player.GunAttackComponent
 
create() - Method in class com.deco2800.game.components.player.InventoryComponent
 
create() - Method in class com.deco2800.game.components.player.InventoryDisplayComponent
 
create() - Method in class com.deco2800.game.components.player.KnifeAttackComponent
 
create() - Method in class com.deco2800.game.components.player.PlayerActions
 
create() - Method in class com.deco2800.game.components.player.PlayerAnimationController
 
create() - Method in class com.deco2800.game.components.player.PlayerProfileDisplay
 
create() - Method in class com.deco2800.game.components.player.PlayerStatsDisplay
Creates reusable ui styles and adds actors to the stage.
create() - Method in class com.deco2800.game.components.player.SaveGameDisplay
 
create() - Method in class com.deco2800.game.components.player.SwitchComponent
 
create() - Method in class com.deco2800.game.components.settingsmenu.SettingsMenuDisplay
 
create() - Method in class com.deco2800.game.components.storyline.StorylineDisplay
 
create() - Method in class com.deco2800.game.components.TouchAttackComponent
 
create() - Method in class com.deco2800.game.entities.Entity
Create the entity and start running.
create() - Method in class com.deco2800.game.GdxGame
 
create() - Method in class com.deco2800.game.input.InputComponent
 
create() - Method in class com.deco2800.game.physics.components.ColliderComponent
 
create() - Method in class com.deco2800.game.physics.components.HitboxComponent
 
create() - Method in class com.deco2800.game.physics.components.PhysicsComponent
 
create() - Method in class com.deco2800.game.physics.components.PhysicsMovementComponent
 
create() - Method in class com.deco2800.game.rendering.RenderComponent
 
create() - Method in class com.deco2800.game.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.
createAchievement() - Static method in class com.deco2800.game.entities.factories.AchievementFactory
Creates an achievement entity.
createBobo(Entity) - Static method in class com.deco2800.game.entities.factories.NPCFactory
 
createBody(BodyDef) - Method in class com.deco2800.game.physics.PhysicsEngine
 
createCamera() - Static method in class com.deco2800.game.entities.factories.RenderFactory
 
createConfirmDialog(String) - Method in class com.deco2800.game.components.npcEvictionMenu.NpcEvictionMenuDisplayNew
Display a confirm dialog on the window, the style is based on Team7 prototype
All scales are calculated according to the prototype from team 7 only
player has 3 choices to find traitor, if all fail, the game will directly over
if correct, A key will be spawned on the map, player can pick it up and use it in the warehouse.
createDoris(NpcInteractionDisplay) - Static method in class com.deco2800.game.entities.factories.NPCFactory
 
createForPlayer() - Method in class com.deco2800.game.input.InputFactory
Creates an input handler for the player
createForPlayer() - Method in class com.deco2800.game.input.KeyboardInputFactory
Creates an input handler for the player.
createForPlayer() - Method in class com.deco2800.game.input.TouchInputFactory
Creates an input handler for the player
createForTerminal() - Method in class com.deco2800.game.input.InputFactory
Creates an input handler for the terminal
createForTerminal() - Method in class com.deco2800.game.input.KeyboardInputFactory
Creates an input handler for the terminal.
createForTerminal() - Method in class com.deco2800.game.input.TouchInputFactory
Creates an input handler for the terminal
createFromInputType(InputFactory.InputType) - Static method in class com.deco2800.game.input.InputFactory
 
createGhost(Entity) - Static method in class com.deco2800.game.entities.factories.NPCFactory
Creates a ghost entity.
createGhostKing(Entity) - Static method in class com.deco2800.game.entities.factories.NPCFactory
Creates a ghost king entity.
createHeph(NpcInteractionDisplay) - Static method in class com.deco2800.game.entities.factories.NPCFactory
 
createItem(int) - Static method in class com.deco2800.game.entities.factories.ItemFactory
Create an item with the specified id.
createItem(Entity, String) - Static method in class com.deco2800.game.entities.factories.ClueItemFactory
Deprecated.
 
createItem(Entity, String) - Static method in class com.deco2800.game.entities.factories.ConsumableItemFactory
Deprecated.
 
createItem(Entity, String) - Static method in class com.deco2800.game.entities.factories.ItemFactory
Deprecated.
createItem(String) - Static method in class com.deco2800.game.entities.factories.ItemFactory
Create an item with the specified name.
createJoint(JointDef) - Method in class com.deco2800.game.physics.PhysicsEngine
 
createKnight(Entity) - Static method in class com.deco2800.game.entities.factories.NPCFactory
 
createMaterial(int, float, float, float) - Static method in class com.deco2800.game.entities.factories.ObstacleFactory
 
createMetis(NpcInteractionDisplay) - Static method in class com.deco2800.game.entities.factories.NPCFactory
 
createNereus() - Static method in class com.deco2800.game.entities.factories.NPCFactory
 
createNeutralLives(Entity) - Static method in class com.deco2800.game.entities.factories.NPCFactory
 
createOrpheus(NpcInteractionDisplay) - Static method in class com.deco2800.game.entities.factories.NPCFactory
 
createPiranha(Entity) - Static method in class com.deco2800.game.entities.factories.NPCFactory
 
createPlayer(GdxGame) - Static method in class com.deco2800.game.entities.factories.PlayerFactory
Create a player entity.
createPodium(Entity, GdxGame) - Static method in class com.deco2800.game.entities.factories.SwitchFactory
 
createRenderer() - Static method in class com.deco2800.game.entities.factories.RenderFactory
 
createRobot(Entity) - Static method in class com.deco2800.game.entities.factories.NPCFactory
 
createSlime(Entity) - Static method in class com.deco2800.game.entities.factories.NPCFactory
 
createSwitch(Entity, GdxGame) - Static method in class com.deco2800.game.entities.factories.SwitchFactory
 
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.
createTool() - Static method in class com.deco2800.game.entities.factories.SwitchFactory
 
createTree() - Static method in class com.deco2800.game.entities.factories.ObstacleFactory
Creates a tree entity.
creatEvictionMenu() - Method in class com.deco2800.game.components.npcEvictionMenu.NpcEvictionMenuDisplayNew
return the window of Eviction Menu, use window.addActor() to add onto window
createVillage(int, float, float, float) - Static method in class com.deco2800.game.entities.factories.ObstacleFactory
 
createWall(float, float) - Static method in class com.deco2800.game.entities.factories.ObstacleFactory
Creates an invisible physics wall.
createZoe(NpcInteractionDisplay) - Static method in class com.deco2800.game.entities.factories.NPCFactory
 

D

DamageFlashDisplayComponent - Class in com.deco2800.game.components.player
 
DamageFlashDisplayComponent() - Constructor for class com.deco2800.game.components.player.DamageFlashDisplayComponent
 
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
 
DEFAULT - Static variable in class com.deco2800.game.physics.PhysicsLayer
 
DefaultTask - Class in com.deco2800.game.ai.tasks
A default task implementation that stores the associated entity and updates status when starting/stopping a task.
DefaultTask() - Constructor for class com.deco2800.game.ai.tasks.DefaultTask
 
destroyBody(Body) - Method in class com.deco2800.game.physics.PhysicsEngine
 
destroyInventory() - Method in class com.deco2800.game.components.player.InventoryDisplayComponent
 
destroyJoint(Joint) - Method in class com.deco2800.game.physics.PhysicsEngine
 
DialogWithSelection - Class in com.deco2800.game.components.npc
 
DialogWithSelection(String) - Constructor for class com.deco2800.game.components.npc.DialogWithSelection
 
didHit - Variable in class com.deco2800.game.physics.raycast.SingleHitCallback
 
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.terrain.TerrainComponent
 
dispose() - Method in class com.deco2800.game.components.achievements.AchievementsDisplay
 
dispose() - Method in class com.deco2800.game.components.Component
Called when the component is disposed.
dispose() - Method in class com.deco2800.game.components.countDownClock.countdownDisplay
 
dispose() - Method in class com.deco2800.game.components.countDownClock.TaskWindow
 
dispose() - Method in class com.deco2800.game.components.endingmenu.EndingMenuActions
 
dispose() - Method in class com.deco2800.game.components.endingmenu.EndingMenuDisplay
 
dispose() - Method in class com.deco2800.game.components.endingmenu.timeOverDisplay
 
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.maingame.MainGameExitDisplay
 
dispose() - Method in class com.deco2800.game.components.mainmenu.LoadGameDisplay
 
dispose() - Method in class com.deco2800.game.components.mainmenu.MainMenuDisplay
 
dispose() - Method in class com.deco2800.game.components.mainmenu.storyline.TutorialDisplay
 
dispose() - Method in class com.deco2800.game.components.map.Lab_1_Display
 
dispose() - Method in class com.deco2800.game.components.map.Lab_2_Display
 
dispose() - Method in class com.deco2800.game.components.map.Lab_3_Display
 
dispose() - Method in class com.deco2800.game.components.map.Lab_4_Display
 
dispose() - Method in class com.deco2800.game.components.map.Lab_5_Display
 
dispose() - Method in class com.deco2800.game.components.map.LabHouseDisplay
 
dispose() - Method in class com.deco2800.game.components.map.MapDisplay
 
dispose() - Method in class com.deco2800.game.components.npc.NpcInteractionDisplay
 
dispose() - Method in class com.deco2800.game.components.player.AddToInventoryComponent
 
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.storyline.StorylineDisplay
 
dispose() - Method in class com.deco2800.game.entities.Entity
Dispose of the entity.
dispose() - Method in class com.deco2800.game.entities.EntityService
Dispose all entities.
dispose() - Method in class com.deco2800.game.GdxGame
 
dispose() - Method in class com.deco2800.game.input.InputComponent
 
dispose() - Method in class com.deco2800.game.physics.components.ColliderComponent
 
dispose() - Method in class com.deco2800.game.physics.components.PhysicsComponent
 
dispose() - Method in class com.deco2800.game.physics.PhysicsEngine
 
dispose() - Method in class com.deco2800.game.rendering.AnimationRenderComponent
 
dispose() - Method in class com.deco2800.game.rendering.RenderComponent
 
dispose() - Method in class com.deco2800.game.rendering.Renderer
 
dispose() - Method in class com.deco2800.game.rendering.RenderService
 
dispose() - Method in class com.deco2800.game.screens.AchievementsScreen
 
dispose() - Method in class com.deco2800.game.screens.CountdownScreen
 
dispose() - Method in class com.deco2800.game.screens.EndingMenuScreen
 
dispose() - Method in class com.deco2800.game.screens.LabHouseScreen
 
dispose() - Method in class com.deco2800.game.screens.LabScreen_1
 
dispose() - Method in class com.deco2800.game.screens.LabScreen_2
 
dispose() - Method in class com.deco2800.game.screens.LabScreen_3
 
dispose() - Method in class com.deco2800.game.screens.LabScreen_4
 
dispose() - Method in class com.deco2800.game.screens.LabScreen_5
 
dispose() - Method in class com.deco2800.game.screens.LoadSaveScreen
 
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.MapScreen
 
dispose() - Method in class com.deco2800.game.screens.NpcEvictionMenu
Deprecated.
 
dispose() - Method in class com.deco2800.game.screens.SettingsScreen
 
dispose() - Method in class com.deco2800.game.screens.StorylineScreen
 
dispose() - Method in class com.deco2800.game.screens.TimeIsOverScreen
 
dispose() - Method in class com.deco2800.game.screens.TutorialScreen
 
dispose() - Method in class com.deco2800.game.services.AchievementService
 
dispose() - Method in class com.deco2800.game.services.ResourceService
 
dispose() - Method in class com.deco2800.game.ui.terminal.TerminalDisplay
 
DistanceTask - Class in com.deco2800.game.components.tasks
 
DistanceTask(Entity, GdxGame) - Constructor for class com.deco2800.game.components.tasks.DistanceTask
 
Doris - Enum constant in enum class com.deco2800.game.entities.factories.NPCFactory.CommunicativeNpcName
 
DOWN - Static variable in class com.deco2800.game.components.player.PlayerAnimationController
 
DOWN - Static variable in class com.deco2800.game.utils.math.Vector2Utils
 
DOWN_ATTACK - Static variable in class com.deco2800.game.components.player.PlayerAnimationController
 
DOWN_GUN_ATTACK - Static variable in class com.deco2800.game.components.player.PlayerAnimationController
 
DOWN_KNIFE_ATTACK - Static variable in class com.deco2800.game.components.player.PlayerAnimationController
 
draw(Batch, float) - Method in class com.deco2800.game.components.npcEvictionMenu.ParticleActor
 
draw(SpriteBatch) - Method in class com.deco2800.game.areas.terrain.TerrainComponent
 
draw(SpriteBatch) - Method in class com.deco2800.game.components.achievements.AchievementsDisplay
 
draw(SpriteBatch) - Method in class com.deco2800.game.components.countDownClock.countdownDisplay
 
draw(SpriteBatch) - Method in class com.deco2800.game.components.countDownClock.PausedWindow
 
draw(SpriteBatch) - Method in class com.deco2800.game.components.countDownClock.TaskWindow
 
draw(SpriteBatch) - Method in class com.deco2800.game.components.endingmenu.EndingMenuDisplay
 
draw(SpriteBatch) - Method in class com.deco2800.game.components.endingmenu.timeOverDisplay
 
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.gameoverScreen.GameOverDisplay
 
draw(SpriteBatch) - Method in class com.deco2800.game.components.maingame.MainGameExitDisplay
 
draw(SpriteBatch) - Method in class com.deco2800.game.components.mainmenu.LoadGameDisplay
 
draw(SpriteBatch) - Method in class com.deco2800.game.components.mainmenu.MainMenuDisplay
 
draw(SpriteBatch) - Method in class com.deco2800.game.components.mainmenu.storyline.TutorialDisplay
 
draw(SpriteBatch) - Method in class com.deco2800.game.components.map.Lab_1_Display
 
draw(SpriteBatch) - Method in class com.deco2800.game.components.map.Lab_2_Display
 
draw(SpriteBatch) - Method in class com.deco2800.game.components.map.Lab_3_Display
 
draw(SpriteBatch) - Method in class com.deco2800.game.components.map.Lab_4_Display
 
draw(SpriteBatch) - Method in class com.deco2800.game.components.map.Lab_5_Display
 
draw(SpriteBatch) - Method in class com.deco2800.game.components.map.LabHouseDisplay
 
draw(SpriteBatch) - Method in class com.deco2800.game.components.map.MapDisplay
 
draw(SpriteBatch) - Method in class com.deco2800.game.components.npc.NpcInteractionDisplay
 
draw(SpriteBatch) - Method in class com.deco2800.game.components.npcEvictionMenu.NpcEvictionMenuDisplay
Deprecated.
 
draw(SpriteBatch) - Method in class com.deco2800.game.components.npcEvictionMenu.NpcEvictionMenuDisplayNew
 
draw(SpriteBatch) - Method in class com.deco2800.game.components.player.DamageFlashDisplayComponent
 
draw(SpriteBatch) - Method in class com.deco2800.game.components.player.InventoryDisplayComponent
 
draw(SpriteBatch) - Method in class com.deco2800.game.components.player.PlayerProfileDisplay
 
draw(SpriteBatch) - Method in class com.deco2800.game.components.player.PlayerStatsDisplay
 
draw(SpriteBatch) - Method in class com.deco2800.game.components.player.SaveGameDisplay
 
draw(SpriteBatch) - Method in class com.deco2800.game.components.settingsmenu.SettingsMenuDisplay
 
draw(SpriteBatch) - Method in class com.deco2800.game.components.storyline.StorylineDisplay
 
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
 
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

E

earlyUpdate() - Method in class com.deco2800.game.components.Component
Early update called once per frame of the game, before update().
earlyUpdate() - Method in class com.deco2800.game.entities.Entity
Perform an early update on all components.
earlyUpdate() - Method in class com.deco2800.game.physics.components.PhysicsComponent
Entity position needs to be updated to match the new physics position.
enabled - Variable in class com.deco2800.game.components.Component
 
endContact(Contact) - Method in class com.deco2800.game.physics.PhysicsContactListener
 
ENDING - Enum constant in enum class com.deco2800.game.GdxGame.ScreenType
 
EndingMenuActions - Class in com.deco2800.game.components.endingmenu
This class listens to events relevant to the Main Menu Screen and does something when one of the events is triggered.
EndingMenuActions(GdxGame) - Constructor for class com.deco2800.game.components.endingmenu.EndingMenuActions
 
EndingMenuDisplay - Class in com.deco2800.game.components.endingmenu
An ui component for displaying the Main menu.
EndingMenuDisplay() - Constructor for class com.deco2800.game.components.endingmenu.EndingMenuDisplay
 
EndingMenuScreen - Class in com.deco2800.game.screens
 
EndingMenuScreen(GdxGame) - Constructor for class com.deco2800.game.screens.EndingMenuScreen
 
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
 
Entity(String) - Constructor for class com.deco2800.game.entities.Entity
 
EntityService - Class in com.deco2800.game.entities
Provides a global access point for entities to register themselves.
EntityService() - Constructor for class com.deco2800.game.entities.EntityService
 
equals(Object) - Method in class com.deco2800.game.components.npc.DialogWithSelection
 
equals(Object) - Method in class com.deco2800.game.entities.Entity
 
EquipmentItem - Class in com.deco2800.game.components.player.entity
 
EquipmentItem() - Constructor for class com.deco2800.game.components.player.entity.EquipmentItem
 
EquipmentItem(int, String, String, String) - Constructor for class com.deco2800.game.components.player.entity.EquipmentItem
 
EventHandler - Class in com.deco2800.game.events
Send and receive events between objects.
EventHandler() - Constructor for class com.deco2800.game.events.EventHandler
 
EventListener - Interface in com.deco2800.game.events.listeners
An event listener which is notified when events occur.
EventListener0 - Interface in com.deco2800.game.events.listeners
An event listener with 0 arguments
EventListener1<T> - Interface in com.deco2800.game.events.listeners
An event listener with 1 argument
EventListener2<T0,T1> - Interface in com.deco2800.game.events.listeners
An event listener with 2 arguments
EventListener3<T0,T1,T2> - Interface in com.deco2800.game.events.listeners
An event listener with 3 arguments
exit() - Method in class com.deco2800.game.GdxGame
Exit the game.
EXTERNAL - Enum constant in enum class com.deco2800.game.files.FileLoader.Location
 

F

FAILED - Enum constant in enum class com.deco2800.game.ai.tasks.Task.Status
 
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
 
FINISHED - Enum constant in enum class com.deco2800.game.ai.tasks.Task.Status
 
FistAttackComponent - Class in com.deco2800.game.components.player
 
FistAttackComponent(float) - Constructor for class com.deco2800.game.components.player.FistAttackComponent
 
fixture - Variable in class com.deco2800.game.physics.raycast.RaycastHit
Fixture which was hit.
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
 
FOREST_LAB - 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, GdxGame) - Constructor for class com.deco2800.game.areas.ForestGameArea
 
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 - Variable in class com.deco2800.game.entities.Entity
 
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
 
GameOverDisplay - Class in com.deco2800.game.components.gameoverScreen
 
GameOverDisplay(GdxGame) - Constructor for class com.deco2800.game.components.gameoverScreen.GameOverDisplay
 
GameTime - Class in com.deco2800.game.services
Controls the game time
GameTime() - Constructor for class com.deco2800.game.services.GameTime
 
gameTimeVar - Variable in class com.deco2800.game.GdxGame
 
GdxGame - Class in com.deco2800.game
Entry point of the non-platform-specific game logic.
GdxGame() - Constructor for class com.deco2800.game.GdxGame
 
GdxGame.ScreenType - Enum Class in com.deco2800.game
 
get() - Static method in class com.deco2800.game.files.UserSettings
Get the stored user settings
get(int) - Method in class com.deco2800.game.utils.SortedIntMap
Get value from map
getAchievements() - Static method in class com.deco2800.game.entities.factories.AchievementFactory
Returns a list of achievement properties stored in achievement config files.
getAchievementService() - Static method in class com.deco2800.game.services.ServiceLocator
 
getAchievementStatusMap() - Method in class com.deco2800.game.services.AchievementService
 
getActive() - Method in class com.deco2800.game.rendering.DebugRenderer
 
getAsset(String, Class<T>) - Method in class com.deco2800.game.services.ResourceService
Load an asset from a file
getBaseAttack() - Method in class com.deco2800.game.components.CombatStatsComponent
Returns the entity's base attack damage.
getBlendMode() - Method in class com.deco2800.game.areas.terrain.TerrainTile
 
getBody() - Method in class com.deco2800.game.physics.components.PhysicsComponent
Get the physics body.
getCamera() - Method in class com.deco2800.game.components.CameraComponent
 
getCamera() - Method in class com.deco2800.game.rendering.Renderer
 
getCenterPosition() - Method in class com.deco2800.game.entities.Entity
Get the entity's center position
getChapter2Dialog() - Static method in class com.deco2800.game.components.npc.DialogWithSelection
 
getChapter2Endings() - Static method in class com.deco2800.game.components.npc.DialogWithSelection
 
getChapter3Dialog() - Static method in class com.deco2800.game.components.npc.DialogWithSelection
 
getChapter3Endings() - Static method in class com.deco2800.game.components.npc.DialogWithSelection
 
getChapter5Dialog() - Static method in class com.deco2800.game.components.npc.DialogWithSelection
 
getChapter5Ending() - Static method in class com.deco2800.game.components.npc.DialogWithSelection
 
getCollectedNum() - Method in class com.deco2800.game.components.achievements.pojo.CollectionAchievementStatus
 
getComponent(Class<T>) - Method in class com.deco2800.game.entities.Entity
Get a component of type T on the entity.
getConsumeableTimeIncrease() - Static method in class com.deco2800.game.entities.factories.ConsumableItemFactory
Deprecated.
 
getCurrentAnimation() - Method in class com.deco2800.game.rendering.AnimationRenderComponent
Get the name of the animation currently being played.
getDebug() - Method in class com.deco2800.game.rendering.Renderer
 
getDebug() - Method in class com.deco2800.game.rendering.RenderService
 
getDeltaTime() - Method in class com.deco2800.game.services.GameTime
 
getDescription() - Method in class com.deco2800.game.components.player.entity.Item
 
getDialog() - Method in class com.deco2800.game.components.npc.DialogWithSelection
 
getDistance() - Method in class com.deco2800.game.components.npc.NpcInteraction
get the current distance
getEnteredMessage() - Method in class com.deco2800.game.ui.terminal.Terminal
 
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.
getEntityService() - Static method in class com.deco2800.game.services.ServiceLocator
 
getErrorNum() - Method in class com.deco2800.game.components.npcEvictionMenu.NpcEvictionMenuDisplayNew
return the errorNum
getEvents() - Method in class com.deco2800.game.entities.Entity
Get the event handler attached to this entity.
getFixture() - Method in class com.deco2800.game.physics.components.ColliderComponent
 
getFrom(Class<? extends Component>) - Static method in class com.deco2800.game.components.ComponentType
 
getGame() - Method in class com.deco2800.game.screens.MainGameScreen
 
getGold() - Method in class com.deco2800.game.components.player.InventoryComponent
Deprecated.
getGuiltyRating() - Static method in class com.deco2800.game.entities.factories.ClueItemFactory
Deprecated.
 
getHealth() - Method in class com.deco2800.game.components.CombatStatsComponent
Returns the entity's health.
getHitsAndClear() - Method in class com.deco2800.game.physics.raycast.AllHitCallback
 
getId() - Method in class com.deco2800.game.areas.terrain.TerrainTile
 
getId() - Method in class com.deco2800.game.components.ComponentType
 
getId() - Method in class com.deco2800.game.components.player.entity.Item
 
getId() - Method in class com.deco2800.game.entities.Entity
This entity's unique ID.
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.components.npc.NPCClueLibrary
Static method to create instance of NPCClueLibrary class
getInStockItemIds() - Method in class com.deco2800.game.components.player.entity.Backpack
 
getInStockItemIds() - Method in interface com.deco2800.game.components.player.entity.Inventory
 
getInStockItemIds() - Method in class com.deco2800.game.components.player.InventoryComponent
 
getInventory() - Method in class com.deco2800.game.components.player.InventoryComponent
Deprecated.
getLastDialog() - Method in class com.deco2800.game.components.npc.DialogWithSelection
 
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
 
getMap() - Method in class com.deco2800.game.areas.terrain.TerrainComponent
 
getMapBounds(int) - Method in class com.deco2800.game.areas.terrain.TerrainComponent
 
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.components.achievements.pojo.AchievementStatus
 
getName() - Method in class com.deco2800.game.components.player.entity.Item
 
getNext() - Method in class com.deco2800.game.components.npc.DialogWithSelection
 
getNumOfAchievements() - Method in class com.deco2800.game.components.achievements.AchievementStatsComponent
 
getObjects() - Method in class com.deco2800.game.areas.terrain.TerrainTile
Not required for game, unimplemented
getOffsetX() - Method in class com.deco2800.game.areas.terrain.TerrainTile
 
getOffsetY() - Method in class com.deco2800.game.areas.terrain.TerrainTile
 
getOption1() - Method in class com.deco2800.game.components.npc.DialogWithSelection
 
getOption2() - Method in class com.deco2800.game.components.npc.DialogWithSelection
 
getPhysics() - Method in class com.deco2800.game.physics.PhysicsService
 
getPhysicsService() - Static method in class com.deco2800.game.services.ServiceLocator
 
getPlayerClues() - Method in class com.deco2800.game.components.npc.AdvancedNpcInteraction
 
getPlayerProfile() - Method in class com.deco2800.game.components.player.PlayerProfileDisplay
Gets the list of performance stats of the player (player profile) in the json file.
getPosition() - Method in class com.deco2800.game.entities.Entity
Get the entity's game position.
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.DistanceTask
 
getPriority() - Method in class com.deco2800.game.components.tasks.MovingTask
 
getPriority() - Method in class com.deco2800.game.components.tasks.SwitchTask
 
getPriority() - Method in class com.deco2800.game.components.tasks.WanderTask
 
getPriority() - Method in class com.deco2800.game.input.InputComponent
 
getProgress() - Method in class com.deco2800.game.services.ResourceService
Returns the loading completion progress as a percentage.
getProjectionMatrix() - Method in class com.deco2800.game.components.CameraComponent
 
getProperties() - Method in class com.deco2800.game.areas.terrain.TerrainTile
Not required for game, unimplemented
getRawDeltaTime() - Method in class com.deco2800.game.services.GameTime
 
getRemainingTime() - Method in class com.deco2800.game.components.countDownClock.countdownDisplay
 
getRenderService() - Static method in class com.deco2800.game.services.ServiceLocator
 
getResourceService() - Static method in class com.deco2800.game.services.ServiceLocator
 
getScale() - Method in class com.deco2800.game.entities.Entity
Get the entity's scale.
getStage() - Method in class com.deco2800.game.rendering.Renderer
 
getStage() - Method in class com.deco2800.game.rendering.RenderService
 
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.
getStatus() - Method in class com.deco2800.game.components.countDownClock.PausedWindow
 
getStatus() - Method in class com.deco2800.game.screens.MainGameScreen
 
getTarget() - Method in interface com.deco2800.game.ai.movement.MovementController
 
getTarget() - Method in class com.deco2800.game.physics.components.PhysicsMovementComponent
 
getTargetNum() - Method in class com.deco2800.game.components.achievements.pojo.CollectionAchievementStatus
 
getTexture() - Method in class com.deco2800.game.rendering.TextureRenderComponent
Gets component texture to be used across objects
getTextureLocation() - Method in class com.deco2800.game.components.player.entity.Item
 
getTextureRegion() - Method in class com.deco2800.game.areas.terrain.TerrainTile
 
getTextures() - Static method in class com.deco2800.game.entities.factories.AchievementFactory
 
getTileSize() - Method in class com.deco2800.game.areas.terrain.TerrainComponent
 
getTime() - Method in class com.deco2800.game.services.GameTime
 
getTimeSince(long) - Method in class com.deco2800.game.services.GameTime
 
getTimeSource() - Static method in class com.deco2800.game.services.ServiceLocator
 
getUnlockClues(String) - Method in class com.deco2800.game.components.npc.NPCClueLibrary
Return unlock clues
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.endingmenu.EndingMenuDisplay
 
getZIndex() - Method in class com.deco2800.game.components.gamearea.PerformanceDisplay
 
getZIndex() - Method in class com.deco2800.game.components.maingame.MainGameExitDisplay
 
getZIndex() - Method in class com.deco2800.game.components.mainmenu.MainMenuDisplay
 
getZIndex() - Method in class com.deco2800.game.components.map.Lab_1_Display
 
getZIndex() - Method in class com.deco2800.game.components.map.Lab_2_Display
 
getZIndex() - Method in class com.deco2800.game.components.map.Lab_3_Display
 
getZIndex() - Method in class com.deco2800.game.components.map.Lab_4_Display
 
getZIndex() - Method in class com.deco2800.game.components.map.Lab_5_Display
 
getZIndex() - Method in class com.deco2800.game.components.map.LabHouseDisplay
 
getZIndex() - Method in class com.deco2800.game.components.map.MapDisplay
 
getZIndex() - Method in class com.deco2800.game.components.npc.NpcInteractionDisplay
 
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
 
ghost - Variable in class com.deco2800.game.entities.configs.NPCConfigs
 
GhostAnimationController - Class in com.deco2800.game.components.npc
This class listens to events relevant to a ghost entity's state and plays the animation when one of the events is triggered.
GhostAnimationController() - Constructor for class com.deco2800.game.components.npc.GhostAnimationController
 
ghostKing - Variable in class com.deco2800.game.entities.configs.NPCConfigs
 
GhostKingConfig - Class in com.deco2800.game.entities.configs
Defines the properties stored in ghost king config files to be loaded by the NPC Factory.
GhostKingConfig() - Constructor for class com.deco2800.game.entities.configs.GhostKingConfig
 
gold - Variable in class com.deco2800.game.entities.configs.PlayerConfig
 
GridPoint2Utils - Class in com.deco2800.game.utils.math
Contains additional utility constants and functions for common GridPoint2 operations.
guiltLevel - Variable in class com.deco2800.game.components.player.InventoryDisplayComponent
 
GunAttackComponent - Class in com.deco2800.game.components.player
 
GunAttackComponent(float) - Constructor for class com.deco2800.game.components.player.GunAttackComponent
 

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.
handleLogic(String) - Method in class com.deco2800.game.components.npcEvictionMenu.NpcEvictionMenuDisplayNew
Handle the game logic of select the traitor
player has 3 choices to find traitor
if wrong, it will decrease the blood and time at the same time
hasAnimation(String) - Method in class com.deco2800.game.rendering.AnimationRenderComponent
Whether the animator has added the given animation.
hasGold(int) - Method in class com.deco2800.game.components.player.InventoryComponent
Deprecated.
hashCode() - Method in class com.deco2800.game.components.npc.DialogWithSelection
 
hashCode() - Method in class com.deco2800.game.entities.Entity
 
health - Variable in class com.deco2800.game.entities.configs.BaseEntityConfig
 
health - Variable in class com.deco2800.game.entities.configs.bulletConfig
 
height - Variable in class com.deco2800.game.files.UserSettings.DisplaySettings
 
Heph - Enum constant in enum class com.deco2800.game.entities.factories.NPCFactory.CommunicativeNpcName
 
HEXAGONAL - Enum constant in enum class com.deco2800.game.areas.terrain.TerrainComponent.TerrainOrientation
 
hideInteractionPrompt() - Method in class com.deco2800.game.components.npc.NpcInteractionDisplay
 
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

ID_ITEM_MAP - Static variable in class com.deco2800.game.components.player.entity.Backpack
 
INACTIVE - Enum constant in enum class com.deco2800.game.ai.tasks.Task.Status
 
increaseCollectedNum() - Method in class com.deco2800.game.components.achievements.pojo.CollectionAchievementStatus
 
increaseGuilt() - Method in class com.deco2800.game.components.player.ClueItemComponent
 
increaseRemainingTime(float) - Method in class com.deco2800.game.components.countDownClock.countdownDisplay
 
increaseTime() - Method in class com.deco2800.game.components.player.ConsumeableItemComponent
 
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
 
interactWithDoris() - Method in class com.deco2800.game.components.npc.NpcInteractionDisplay
 
interactWithMetis() - Method in class com.deco2800.game.components.npc.NpcInteractionDisplay
 
interactWithZoe() - Method in class com.deco2800.game.components.npc.NpcInteractionDisplay
 
INTERNAL - Enum constant in enum class com.deco2800.game.files.FileLoader.Location
 
Inventory - Interface in com.deco2800.game.components.player.entity
Inventory interface, limiting some basic functions of inventory
InventoryComponent - Class in com.deco2800.game.components.player
A component intended to be used by the player to track their inventory.
InventoryComponent() - Constructor for class com.deco2800.game.components.player.InventoryComponent
 
InventoryComponent(int) - Constructor for class com.deco2800.game.components.player.InventoryComponent
Deprecated.
InventoryDisplayComponent - Class in com.deco2800.game.components.player
 
InventoryDisplayComponent(InventoryComponent, GdxGame) - Constructor for class com.deco2800.game.components.player.InventoryDisplayComponent
 
InventoryDisplayComponent(HashMap<Integer, Integer>) - Constructor for class com.deco2800.game.components.player.InventoryDisplayComponent
Deprecated.
inventoryHashMap - Variable in class com.deco2800.game.components.player.InventoryComponent
Deprecated.
isClueItem(Entity) - Method in class com.deco2800.game.components.achievements.AchievementsUpdater
 
isCollected - Static variable in class com.deco2800.game.entities.factories.SwitchFactory
 
isCollected3 - Static variable in class com.deco2800.game.entities.factories.SwitchFactory
 
isConsumableItem(Entity) - Method in class com.deco2800.game.components.achievements.AchievementsUpdater
 
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.
isJudge() - Static method in class com.deco2800.game.components.endingmenu.EndingMenuDisplay
 
isMermaidProcessing - Static variable in class com.deco2800.game.entities.factories.SwitchFactory
 
isObtained() - Method in class com.deco2800.game.components.achievements.pojo.AchievementStatus
 
ISOMETRIC - Enum constant in enum class com.deco2800.game.areas.terrain.TerrainComponent.TerrainOrientation
 
isOpen() - Method in class com.deco2800.game.ui.terminal.Terminal
 
isPickUp(Entity) - Method in class com.deco2800.game.components.achievements.AchievementsUpdater
 
isSelectionPoint() - Method in class com.deco2800.game.components.npc.DialogWithSelection
 
isSwitchProcessing - Static variable in class com.deco2800.game.entities.factories.SwitchFactory
 
isWorking - Static variable in class com.deco2800.game.entities.factories.SwitchFactory
 
item - Variable in class com.deco2800.game.entities.configs.achievementConfigs.AchievementConditionConfig
 
Item - Class in com.deco2800.game.components.player.entity
Item abstract class
Item - Static variable in class com.deco2800.game.physics.PhysicsLayer
 
Item() - Constructor for class com.deco2800.game.components.player.entity.Item
 
Item(int, String, String, String) - Constructor for class com.deco2800.game.components.player.entity.Item
 
ItemConfigs - Class in com.deco2800.game.entities.configs
Defines all Item configs to be loaded by the Item Factory.
ItemConfigs() - Constructor for class com.deco2800.game.entities.configs.ItemConfigs
 
ItemFactory - Class in com.deco2800.game.entities.factories
Factory to create item entities with predefined components.
ItemFactory() - Constructor for class com.deco2800.game.entities.factories.ItemFactory
 
itemList - Variable in class com.deco2800.game.entities.configs.ItemConfigs
 
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

key - Variable in class com.deco2800.game.areas.ForestGameArea
 
KEYBOARD - Enum constant in enum class com.deco2800.game.input.InputFactory.InputType
 
KeyboardInputFactory - Class in com.deco2800.game.input
KeyboardInputFactory creates input handlers that process keyboard and touch support.
KeyboardInputFactory() - Constructor for class com.deco2800.game.input.KeyboardInputFactory
 
KeyboardPlayerInputComponent - Class in com.deco2800.game.components.player
Input handler for the player for keyboard and touch (mouse) input.
KeyboardPlayerInputComponent() - Constructor for class com.deco2800.game.components.player.KeyboardPlayerInputComponent
 
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.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.player.KeyboardPlayerInputComponent
Triggers player events on specific keycodes.
keyUp(int) - Method in class com.deco2800.game.components.player.TouchPlayerInputComponent
Triggers player events on specific keycodes.
keyUp(int) - Method in class com.deco2800.game.input.InputComponent
 
keyUp(int) - Method in class com.deco2800.game.input.InputDecorator
 
keyUp(int) - Method in class com.deco2800.game.input.InputService
Iterates over registered input handlers in descending priority and stops as soon as the input is processed
keyUp(int) - Method in class com.deco2800.game.ui.terminal.KeyboardTerminalInputComponent
Handles input if the terminal is open.
keyUp(int) - Method in class com.deco2800.game.ui.terminal.TouchTerminalInputComponent
Handles input if the terminal is open.
KnifeAttackComponent - Class in com.deco2800.game.components.player
 
KnifeAttackComponent() - Constructor for class com.deco2800.game.components.player.KnifeAttackComponent
 

L

LAB_1 - Enum constant in enum class com.deco2800.game.GdxGame.ScreenType
 
Lab_1_Display - Class in com.deco2800.game.components.map
An ui component for displaying the Map.
Lab_1_Display(GdxGame) - Constructor for class com.deco2800.game.components.map.Lab_1_Display
 
LAB_2 - Enum constant in enum class com.deco2800.game.GdxGame.ScreenType
 
Lab_2_Display - Class in com.deco2800.game.components.map
An ui component for displaying the Map.
Lab_2_Display(GdxGame) - Constructor for class com.deco2800.game.components.map.Lab_2_Display
 
LAB_3 - Enum constant in enum class com.deco2800.game.GdxGame.ScreenType
 
Lab_3_Display - Class in com.deco2800.game.components.map
An ui component for displaying the Map.
Lab_3_Display(GdxGame) - Constructor for class com.deco2800.game.components.map.Lab_3_Display
 
LAB_4 - Enum constant in enum class com.deco2800.game.GdxGame.ScreenType
 
Lab_4_Display - Class in com.deco2800.game.components.map
An ui component for displaying the Map.
Lab_4_Display(GdxGame) - Constructor for class com.deco2800.game.components.map.Lab_4_Display
 
LAB_5 - Enum constant in enum class com.deco2800.game.GdxGame.ScreenType
 
Lab_5_Display - Class in com.deco2800.game.components.map
An ui component for displaying the Map.
Lab_5_Display(GdxGame) - Constructor for class com.deco2800.game.components.map.Lab_5_Display
 
LAB_HOUSE - Enum constant in enum class com.deco2800.game.GdxGame.ScreenType
 
LabHouseDisplay - Class in com.deco2800.game.components.map
An ui component for displaying the Map.
LabHouseDisplay(GdxGame) - Constructor for class com.deco2800.game.components.map.LabHouseDisplay
 
LabHouseScreen - Class in com.deco2800.game.screens
The game screen containing the map
LabHouseScreen(GdxGame) - Constructor for class com.deco2800.game.screens.LabHouseScreen
 
LabScreen_1 - Class in com.deco2800.game.screens
The game screen containing the map
LabScreen_1(GdxGame) - Constructor for class com.deco2800.game.screens.LabScreen_1
 
LabScreen_2 - Class in com.deco2800.game.screens
The game screen containing the map
LabScreen_2(GdxGame) - Constructor for class com.deco2800.game.screens.LabScreen_2
 
LabScreen_3 - Class in com.deco2800.game.screens
The game screen containing the map
LabScreen_3(GdxGame) - Constructor for class com.deco2800.game.screens.LabScreen_3
 
LabScreen_4 - Class in com.deco2800.game.screens
The game screen containing the map
LabScreen_4(GdxGame) - Constructor for class com.deco2800.game.screens.LabScreen_4
 
LabScreen_5 - Class in com.deco2800.game.screens
The game screen containing the map
LabScreen_5(GdxGame) - Constructor for class com.deco2800.game.screens.LabScreen_5
 
LACK - Static variable in class com.deco2800.game.components.player.entity.ClueItem
 
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.components.player.PlayerAnimationController
 
LEFT - Static variable in class com.deco2800.game.utils.math.Vector2Utils
 
LEFT_ATTACK - Static variable in class com.deco2800.game.components.player.PlayerAnimationController
 
LEFT_GUN_ATTACK - Static variable in class com.deco2800.game.components.player.PlayerAnimationController
 
LEFT_KNIFE_ATTACK - Static variable in class com.deco2800.game.components.player.PlayerAnimationController
 
LOAD_GAME - Enum constant in enum class com.deco2800.game.GdxGame.ScreenType
 
loadAll() - Method in class com.deco2800.game.services.ResourceService
Blocking call to load all assets.
loadForMillis(int) - Method in class com.deco2800.game.services.ResourceService
Loads assets for the specified duration in milliseconds.
LoadGameDisplay - Class in com.deco2800.game.components.mainmenu
 
LoadGameDisplay(GdxGame) - Constructor for class com.deco2800.game.components.mainmenu.LoadGameDisplay
 
loadMusic(String[]) - Method in class com.deco2800.game.services.ResourceService
Loads a list of music assets into the asset manager.
LoadSaveScreen - Class in com.deco2800.game.screens
 
LoadSaveScreen(GdxGame) - Constructor for class com.deco2800.game.screens.LoadSaveScreen
 
loadSounds(String[]) - Method in class com.deco2800.game.services.ResourceService
Loads a list of sounds into the asset manager.
loadTextureAtlases(String[]) - Method in class com.deco2800.game.services.ResourceService
Loads a list of texture atlas assets into the asset manager.
loadTextures(String[]) - Method in class com.deco2800.game.services.ResourceService
Loads a list of texture assets into the asset manager.
LOCAL - Enum constant in enum class com.deco2800.game.files.FileLoader.Location
 
lockedPath - Variable in class com.deco2800.game.entities.configs.achievementConfigs.AchievementPropertyConfig
 
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
LOSE - Enum constant in enum class com.deco2800.game.components.npcEvictionMenu.NpcEvictionMenuDisplayNew.NpcResultDialogType
 

M

MAIN_GAME - Enum constant in enum class com.deco2800.game.GdxGame.ScreenType
 
MAIN_GAME_Test - Enum constant in enum class com.deco2800.game.GdxGame.ScreenType
 
MAIN_MENU - Enum constant in enum class com.deco2800.game.GdxGame.ScreenType
 
MainGameActions - Class in com.deco2800.game.components.maingame
This class listens to events relevant to the Main Game Screen and does something when one of the events is triggered.
MainGameActions(GdxGame) - Constructor for class com.deco2800.game.components.maingame.MainGameActions
 
MainGameExitDisplay - Class in com.deco2800.game.components.maingame
Displays a button to exit the Main Game screen to the Main Menu screen.
MainGameExitDisplay() - Constructor for class com.deco2800.game.components.maingame.MainGameExitDisplay
 
MainGameScreen - Class in com.deco2800.game.screens
The game screen containing the main game.
MainGameScreen(GdxGame, boolean, float) - Constructor for class com.deco2800.game.screens.MainGameScreen
 
MainMenuActions - Class in com.deco2800.game.components.mainmenu
This class listens to events relevant to the Main Menu Screen and does something when one of the events is triggered.
MainMenuActions(GdxGame) - Constructor for class com.deco2800.game.components.mainmenu.MainMenuActions
 
MainMenuDisplay - Class in com.deco2800.game.components.mainmenu
An 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(GdxGame) - Constructor for class com.deco2800.game.screens.MainMenuScreen
 
MAP - Enum constant in enum class com.deco2800.game.GdxGame.ScreenType
 
MapDisplay - Class in com.deco2800.game.components.map
An ui component for displaying the Map.
MapDisplay(GdxGame) - Constructor for class com.deco2800.game.components.map.MapDisplay
 
MapScreen - Class in com.deco2800.game.screens
The game screen containing the map
MapScreen(GdxGame) - Constructor for class com.deco2800.game.screens.MapScreen
 
MAX - Static variable in class com.deco2800.game.utils.math.Vector2Utils
 
MERMAID_SCALE1 - Static variable in class com.deco2800.game.components.player.entity.ClueItem
 
MERMAID_SCALE2 - Static variable in class com.deco2800.game.components.player.entity.ClueItem
 
MERMAID_SCALE3 - Static variable in class com.deco2800.game.components.player.entity.ClueItem
 
MERMAID_SCALE4 - Static variable in class com.deco2800.game.components.player.entity.ClueItem
 
MERMAID_SCALE5 - Static variable in class com.deco2800.game.components.player.entity.ClueItem
 
Metis - Enum constant in enum class com.deco2800.game.entities.factories.NPCFactory.CommunicativeNpcName
 
MIN - Static variable in class com.deco2800.game.utils.math.Vector2Utils
 
MonsterAnimationController - Class in com.deco2800.game.components.npc
 
MonsterAnimationController() - Constructor for class com.deco2800.game.components.npc.MonsterAnimationController
 
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
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
 
MovingTask - Class in com.deco2800.game.components.tasks
Wander around by moving a random position within a range of the starting position.
MovingTask(Vector2, float) - Constructor for class com.deco2800.game.components.tasks.MovingTask
 
MusicStuff - Class in com.deco2800.game.music
 
MusicStuff() - Constructor for class com.deco2800.game.music.MusicStuff
 

N

name - Variable in class com.deco2800.game.components.achievements.pojo.AchievementStatus
The name of the achievement
name - Variable in class com.deco2800.game.entities.configs.achievementConfigs.AchievementPropertyConfig
 
NAME_ID_MAP - Static variable in class com.deco2800.game.components.player.entity.Backpack
 
nextLevel() - Method in class com.deco2800.game.areas.ForestGameArea
 
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 - Static variable in class com.deco2800.game.physics.PhysicsLayer
 
NPCClueLibrary - Class in com.deco2800.game.components.npc
Singleton class for NPC Clue Library
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
 
NpcEvictionMenu - Class in com.deco2800.game.screens
Deprecated.
NpcEvictionMenu(GdxGame) - Constructor for class com.deco2800.game.screens.NpcEvictionMenu
Deprecated.
 
NpcEvictionMenuDisplay - Class in com.deco2800.game.components.npcEvictionMenu
Deprecated.
NpcEvictionMenuDisplay(GdxGame) - Constructor for class com.deco2800.game.components.npcEvictionMenu.NpcEvictionMenuDisplay
Deprecated.
 
NpcEvictionMenuDisplayNew - Class in com.deco2800.game.components.npcEvictionMenu
A Window actor for displaying the npc eviction menu.
NpcEvictionMenuDisplayNew(Logger, ResourceService, float, float, ForestGameArea, GdxGame) - Constructor for class com.deco2800.game.components.npcEvictionMenu.NpcEvictionMenuDisplayNew
Implement NpcEvictionMenu in to a Window(), use creatEvictionMenu() to get this Window()
NpcEvictionMenuDisplayNew.NpcResultDialogType - Enum Class in com.deco2800.game.components.npcEvictionMenu
Types of result dialog box
NPCFactory - Class in com.deco2800.game.entities.factories
Factory to create non-playable character (NPC) entities with predefined components.
NPCFactory.CommunicativeNpcName - Enum Class in com.deco2800.game.entities.factories
 
NpcInteraction - Class in com.deco2800.game.components.npc
 
NpcInteraction(int) - Constructor for class com.deco2800.game.components.npc.NpcInteraction
Create a new instance of NpcInteractionn
NpcInteractionDisplay - Class in com.deco2800.game.components.npc
 
NpcInteractionDisplay(GdxGame) - Constructor for class com.deco2800.game.components.npc.NpcInteractionDisplay
 
numOfAchievementCompleted() - Method in class com.deco2800.game.components.achievements.AchievementStatsComponent
 

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.
obtained - Variable in class com.deco2800.game.components.achievements.pojo.AchievementStatus
Whether the achievement has been completed
obtained - Variable in class com.deco2800.game.entities.configs.achievementConfigs.AchievementPropertyConfig
 
obtainedPath - Variable in class com.deco2800.game.entities.configs.achievementConfigs.AchievementPropertyConfig
 
ONE - Static variable in class com.deco2800.game.utils.math.Vector2Utils
 
onEnding() - Method in class com.deco2800.game.components.endingmenu.EndingMenuActions
 
Orpheus - Enum constant in enum class com.deco2800.game.entities.factories.NPCFactory.CommunicativeNpcName
 
ORTHOGONAL - Enum constant in enum class com.deco2800.game.areas.terrain.TerrainComponent.TerrainOrientation
 
OtherClues - Class in com.deco2800.game.components.clues
 
OtherClues(ArrayList<String>) - Constructor for class com.deco2800.game.components.clues.OtherClues
 
owner - Variable in class com.deco2800.game.ai.tasks.DefaultTask
 

P

pan(float, float, float, float) - Method in class com.deco2800.game.input.InputComponent
 
pan(float, float, float, float) - Method in class com.deco2800.game.input.InputService
Iterates over registered input handlers in descending priority and stops as soon as the input is processed
panStop(float, float, int, int) - Method in class com.deco2800.game.input.InputComponent
 
panStop(float, float, int, int) - Method in class com.deco2800.game.input.InputService
Iterates over registered input handlers in descending priority and stops as soon as the input is processed
ParticleActor - Class in com.deco2800.game.components.npcEvictionMenu
 
ParticleActor(String) - Constructor for class com.deco2800.game.components.npcEvictionMenu.ParticleActor
 
pause() - Method in class com.deco2800.game.screens.EndingMenuScreen
 
pause() - Method in class com.deco2800.game.screens.MainGameScreen
 
pause() - Method in class com.deco2800.game.screens.MainMenuScreen
 
paused - Variable in class com.deco2800.game.components.countDownClock.countdownDisplay
 
PausedWindow - Class in com.deco2800.game.components.countDownClock
 
PausedWindow(GdxGame) - Constructor for class com.deco2800.game.components.countDownClock.PausedWindow
 
pauseGame() - Method in class com.deco2800.game.components.countDownClock.countdownDisplay
 
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
 
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.
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(GdxGame) - Constructor for class com.deco2800.game.components.player.PlayerActions
 
PlayerAnimationController - Class in com.deco2800.game.components.player
This class listens to events relevant to a ghost entity's state and plays the animation when one of the events is triggered.
PlayerAnimationController() - Constructor for class com.deco2800.game.components.player.PlayerAnimationController
 
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.
playerInventory - Variable in class com.deco2800.game.components.maingame.MainGameActions
 
PlayerProfileConfig - Class in com.deco2800.game.entities.configs
This class defines a list of player stats representing each game user plays, stored in the player profile configs (configs/playerStatsInfo.json) The file is loaded in the component PlayerProfileDisplay (components/player/PlayerProfileDisplay.java).
PlayerProfileConfig() - Constructor for class com.deco2800.game.entities.configs.PlayerProfileConfig
 
PlayerProfileDisplay - Class in com.deco2800.game.components.player
This class creates the player profile window.
PlayerProfileDisplay() - Constructor for class com.deco2800.game.components.player.PlayerProfileDisplay
 
PlayerProfileProperties - Class in com.deco2800.game.entities.configs
This class defines the properties of each element of list in PlayerProfileConfig.
PlayerProfileProperties() - Constructor for class com.deco2800.game.entities.configs.PlayerProfileProperties
 
playerStats - Variable in class com.deco2800.game.entities.configs.PlayerProfileConfig
 
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
 
playMusic(String, boolean) - Static method in class com.deco2800.game.music.MusicStuff
 
point - Variable in class com.deco2800.game.physics.raycast.RaycastHit
Point at which the raycast hit the fixture.
postSolve(Contact, ContactImpulse) - Method in class com.deco2800.game.physics.PhysicsContactListener
 
preSolve(Contact, Manifold) - Method in class com.deco2800.game.physics.PhysicsContactListener
 
printFn - Variable in class com.deco2800.game.utils.StringDecorator
 
priority - Variable in class com.deco2800.game.input.InputComponent
The priority that the input handler is visited in by InputService.
PriorityTask - Interface in com.deco2800.game.ai.tasks
A priority task is a task that also has a priority.
processMessage() - Method in class com.deco2800.game.ui.terminal.Terminal
Processes the completed message entered by the user.
put(int, V) - Method in class com.deco2800.game.utils.SortedIntMap
Put key, value pair in map

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
 
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.
refreshRate - Variable in class com.deco2800.game.files.UserSettings.DisplaySettings
 
register(Entity) - Method in class com.deco2800.game.entities.EntityService
Register a new entity with the entity service.
register(InputComponent) - Method in class com.deco2800.game.input.InputService
Register an input handler based on its priority and reorder inputHandlers.
register(Renderable) - Method in class com.deco2800.game.rendering.RenderService
Register a new renderable.
registerAchievementService(AchievementService) - Static method in class com.deco2800.game.services.ServiceLocator
 
registerEntityService(EntityService) - Static method in class com.deco2800.game.services.ServiceLocator
 
registerInputService(InputService) - Static method in class com.deco2800.game.services.ServiceLocator
 
registerPhysicsService(PhysicsService) - Static method in class com.deco2800.game.services.ServiceLocator
 
registerRenderService(RenderService) - Static method in class com.deco2800.game.services.ServiceLocator
 
registerResourceService(ResourceService) - Static method in class com.deco2800.game.services.ServiceLocator
 
registerTimeSource(GameTime) - Static method in class com.deco2800.game.services.ServiceLocator
 
remove(int) - Method in class com.deco2800.game.components.player.entity.Backpack
Remove an item with this id
remove(int) - Method in interface com.deco2800.game.components.player.entity.Inventory
remove a specified item
remove(int) - Method in class com.deco2800.game.components.player.InventoryComponent
 
remove(int, int) - Method in class com.deco2800.game.components.player.entity.Backpack
 
remove(int, int) - Method in interface com.deco2800.game.components.player.entity.Inventory
 
remove(int, int) - Method in class com.deco2800.game.components.player.InventoryComponent
 
remove(String) - Method in class com.deco2800.game.components.player.entity.Backpack
 
remove(String) - Method in interface com.deco2800.game.components.player.entity.Inventory
remove a specified item
remove(String) - Method in class com.deco2800.game.components.player.InventoryComponent
 
remove(String, int) - Method in class com.deco2800.game.components.player.entity.Backpack
 
remove(String, int) - Method in interface com.deco2800.game.components.player.entity.Inventory
 
remove(String, int) - Method in class com.deco2800.game.components.player.InventoryComponent
 
removeAnimation(String) - Method in class com.deco2800.game.rendering.AnimationRenderComponent
Remove an animation from this animator.
removeDamageFlash() - Method in class com.deco2800.game.components.player.DamageFlashDisplayComponent
 
render() - Method in class com.deco2800.game.rendering.Renderer
Render everything to the render service.
render(float) - Method in class com.deco2800.game.screens.AchievementsScreen
 
render(float) - Method in class com.deco2800.game.screens.CountdownScreen
 
render(float) - Method in class com.deco2800.game.screens.EndingMenuScreen
 
render(float) - Method in class com.deco2800.game.screens.LabHouseScreen
 
render(float) - Method in class com.deco2800.game.screens.LabScreen_1
 
render(float) - Method in class com.deco2800.game.screens.LabScreen_2
 
render(float) - Method in class com.deco2800.game.screens.LabScreen_3
 
render(float) - Method in class com.deco2800.game.screens.LabScreen_4
 
render(float) - Method in class com.deco2800.game.screens.LabScreen_5
 
render(float) - Method in class com.deco2800.game.screens.LoadSaveScreen
 
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.MapScreen
 
render(float) - Method in class com.deco2800.game.screens.NpcEvictionMenu
Deprecated.
 
render(float) - Method in class com.deco2800.game.screens.SettingsScreen
 
render(float) - Method in class com.deco2800.game.screens.StorylineScreen
 
render(float) - Method in class com.deco2800.game.screens.TimeIsOverScreen
 
render(float) - Method in class com.deco2800.game.screens.TutorialScreen
 
render(SpriteBatch) - Method in interface com.deco2800.game.rendering.Renderable
Render the renderable.
render(SpriteBatch) - Method in class com.deco2800.game.rendering.RenderComponent
 
render(SpriteBatch) - Method in class com.deco2800.game.rendering.RenderService
Trigger rendering on the given batch.
render(Matrix4) - Method in class com.deco2800.game.rendering.DebugRenderer
 
Renderable - Interface in com.deco2800.game.rendering
Can be rendered onto the screen given a Sprite batch.
RenderComponent - Class in com.deco2800.game.rendering
A generic component for rendering an entity.
RenderComponent() - Constructor for class com.deco2800.game.rendering.RenderComponent
 
Renderer - Class in com.deco2800.game.rendering
Core rendering system for the game.
Renderer(CameraComponent) - Constructor for class com.deco2800.game.rendering.Renderer
Create a new renderer with default settings
Renderer(CameraComponent, float, SpriteBatch, Stage, RenderService, DebugRenderer) - Constructor for class com.deco2800.game.rendering.Renderer
Create a renderer
RenderFactory - Class in com.deco2800.game.entities.factories
 
renderPhysicsWorld(World) - Method in class com.deco2800.game.rendering.DebugRenderer
 
RenderService - Class in com.deco2800.game.rendering
Globally accessible service for registering renderable components.
RenderService() - Constructor for class com.deco2800.game.rendering.RenderService
 
reportRayFixture(Fixture, Vector2, Vector2, float) - Method in class com.deco2800.game.physics.raycast.AllHitCallback
 
reportRayFixture(Fixture, Vector2, Vector2, float) - Method in class com.deco2800.game.physics.raycast.SingleHitCallback
 
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.AchievementsScreen
 
resize(int, int) - Method in class com.deco2800.game.screens.CountdownScreen
 
resize(int, int) - Method in class com.deco2800.game.screens.EndingMenuScreen
 
resize(int, int) - Method in class com.deco2800.game.screens.LabHouseScreen
 
resize(int, int) - Method in class com.deco2800.game.screens.LabScreen_1
 
resize(int, int) - Method in class com.deco2800.game.screens.LabScreen_2
 
resize(int, int) - Method in class com.deco2800.game.screens.LabScreen_3
 
resize(int, int) - Method in class com.deco2800.game.screens.LabScreen_4
 
resize(int, int) - Method in class com.deco2800.game.screens.LabScreen_5
 
resize(int, int) - Method in class com.deco2800.game.screens.LoadSaveScreen
 
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.MapScreen
 
resize(int, int) - Method in class com.deco2800.game.screens.NpcEvictionMenu
Deprecated.
 
resize(int, int) - Method in class com.deco2800.game.screens.SettingsScreen
 
resize(int, int) - Method in class com.deco2800.game.screens.StorylineScreen
 
resize(int, int) - Method in class com.deco2800.game.screens.TimeIsOverScreen
 
resize(int, int) - Method in class com.deco2800.game.screens.TutorialScreen
 
resize(int, int, float) - Method in class com.deco2800.game.components.CameraComponent
 
ResourceService - Class in com.deco2800.game.services
Service for loading resources, e.g.
ResourceService() - Constructor for class com.deco2800.game.services.ResourceService
 
ResourceService(AssetManager) - Constructor for class com.deco2800.game.services.ResourceService
 
result - Variable in class com.deco2800.game.entities.configs.PlayerProfileProperties
 
resume() - Method in class com.deco2800.game.screens.EndingMenuScreen
 
resume() - Method in class com.deco2800.game.screens.MainGameScreen
 
resume() - Method in class com.deco2800.game.screens.MainMenuScreen
 
resumeGame() - Method in class com.deco2800.game.components.countDownClock.PausedWindow
 
returnX() - Method in class com.deco2800.game.components.tasks.MovementTask
 
returnY() - Method in class com.deco2800.game.components.tasks.MovementTask
 
RIGHT - Enum constant in enum class com.deco2800.game.physics.components.PhysicsComponent.AlignX
 
RIGHT - Static variable in class com.deco2800.game.components.player.PlayerAnimationController
 
RIGHT - Static variable in class com.deco2800.game.utils.math.Vector2Utils
 
RIGHT_ATTACK - Static variable in class com.deco2800.game.components.player.PlayerAnimationController
 
RIGHT_BOX - Enum constant in enum class com.deco2800.game.components.npcEvictionMenu.NpcEvictionMenuDisplayNew.NpcResultDialogType
 
RIGHT_GUN_ATTACK - Static variable in class com.deco2800.game.components.player.PlayerAnimationController
 
RIGHT_KNIFE_ATTACK - Static variable in class com.deco2800.game.components.player.PlayerAnimationController
 

S

SaveGameDisplay - Class in com.deco2800.game.components.player
 
SaveGameDisplay() - Constructor for class com.deco2800.game.components.player.SaveGameDisplay
 
scaleEntity() - Method in class com.deco2800.game.rendering.AnimationRenderComponent
Scale the entity to a width of 1 and a height matching the texture's ratio
scaleEntity() - Method in class com.deco2800.game.rendering.TextureRenderComponent
Scale the entity to a width of 1 and a height matching the texture's ratio
scaleHeight(float) - Method in class com.deco2800.game.entities.Entity
Set the entity's height and scale the width to maintain aspect ratio.
scaleWidth(float) - Method in class com.deco2800.game.entities.Entity
Set the entity's width and scale the height to maintain aspect ratio.
scrolled(float, float) - Method in class com.deco2800.game.input.InputComponent
 
scrolled(float, float) - Method in class com.deco2800.game.input.InputDecorator
 
scrolled(float, float) - Method in class com.deco2800.game.input.InputService
Iterates over registered input handlers in descending priority and stops as soon as the input is processed
scrolled(float, float) - Method in class com.deco2800.game.ui.terminal.TouchTerminalInputComponent
Scrolling up will open the terminal and scrolling down will close the terminal.
ServiceLocator - Class in com.deco2800.game.services
A simplified implementation of the Service Locator pattern: https://martinfowler.com/articles/injection.html#UsingAServiceLocator
set(UserSettings.Settings, boolean) - Static method in class com.deco2800.game.files.UserSettings
Set the stored user settings
setActive(boolean) - Method in class com.deco2800.game.rendering.DebugRenderer
 
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.
setBaseAttack(int) - Method in class com.deco2800.game.components.CombatStatsComponent
Sets the entity's attack damage.
setBlendMode(TiledMapTile.BlendMode) - Method in class com.deco2800.game.areas.terrain.TerrainTile
 
setBodyType(BodyDef.BodyType) - Method in class com.deco2800.game.physics.components.PhysicsComponent
Set body type
setClosed() - Method in class com.deco2800.game.ui.terminal.Terminal
Closes the terminal and clears the stored message.
setCollectedNum(int) - Method in class com.deco2800.game.components.achievements.pojo.CollectionAchievementStatus
 
setDebug(DebugRenderer) - Method in class com.deco2800.game.rendering.RenderService
 
setDensity(float) - Method in class com.deco2800.game.physics.components.ColliderComponent
Set density
setDialog(String) - Method in class com.deco2800.game.components.npc.DialogWithSelection
 
setEnabled(boolean) - Method in class com.deco2800.game.components.Component
Enable or disable the component.
setEnabled(boolean) - Method in class com.deco2800.game.entities.Entity
Enable or disable an entity.
setEnabled(boolean) - Method in class com.deco2800.game.physics.components.PhysicsComponent
 
setEnteredMessage(String) - Method in class com.deco2800.game.ui.terminal.Terminal
Sets the text shown on the terminal
setEntity(Entity) - Method in class com.deco2800.game.components.Component
Set the entity to which this component belongs.
setFindKey(Boolean) - Method in class com.deco2800.game.components.npcEvictionMenu.NpcEvictionMenuDisplayNew
Setting from other class, true if the player has found the key
setFriction(float) - Method in class com.deco2800.game.physics.components.ColliderComponent
Set friction.
setGameOver() - Method in class com.deco2800.game.components.countDownClock.countdownDisplay
 
setGameTime(float) - Method in class com.deco2800.game.GdxGame
 
setGold(int) - Method in class com.deco2800.game.components.player.InventoryComponent
Deprecated.
setHealth(int) - Method in class com.deco2800.game.components.CombatStatsComponent
Sets the entity's health.
setId(int) - Method in class com.deco2800.game.areas.terrain.TerrainTile
 
setLayer(short) - Method in class com.deco2800.game.physics.components.ColliderComponent
Set the collider layer, used in collision logic
setLose() - Static method in class com.deco2800.game.components.endingmenu.EndingMenuDisplay
 
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.components.achievements.pojo.AchievementStatus
 
setNext(DialogWithSelection) - Method in class com.deco2800.game.components.npc.DialogWithSelection
 
setObtained(boolean) - Method in class com.deco2800.game.components.achievements.pojo.AchievementStatus
 
setOffsetX(float) - Method in class com.deco2800.game.areas.terrain.TerrainTile
 
setOffsetY(float) - Method in class com.deco2800.game.areas.terrain.TerrainTile
 
setOpen() - Method in class com.deco2800.game.ui.terminal.Terminal
Opens the terminal.
setOption1(DialogWithSelection) - Method in class com.deco2800.game.components.npc.DialogWithSelection
 
setOption2(DialogWithSelection) - Method in class com.deco2800.game.components.npc.DialogWithSelection
 
setOwner(Entity) - Method in class com.deco2800.game.components.tasks.DistanceTask
 
setOwner(Entity) - Method in class com.deco2800.game.components.tasks.SwitchTask
 
setPosition(float, float) - Method in class com.deco2800.game.components.npcEvictionMenu.ParticleActor
 
setPosition(float, float) - Method in class com.deco2800.game.entities.Entity
Set the entity's game position.
setPosition(Vector2) - Method in class com.deco2800.game.entities.Entity
Set the entity's game position.
setPosition(Vector2, boolean) - Method in class com.deco2800.game.entities.Entity
Set the entity's game position and optionally notifies listeners.
setPriority(int) - Method in class com.deco2800.game.input.InputComponent
 
setRestitution(float) - Method in class com.deco2800.game.physics.components.ColliderComponent
Set restitution
setScale(float, float) - Method in class com.deco2800.game.entities.Entity
Set the entity's scale.
setScale(Vector2) - Method in class com.deco2800.game.entities.Entity
Set the entity's scale.
setScaledCollider(Entity, float, float) - Static method in class com.deco2800.game.physics.PhysicsUtils
 
setScreen(GdxGame.ScreenType) - Method in class com.deco2800.game.GdxGame
Sets the game's screen to a new screen of the provided type.
setSensor(boolean) - Method in class com.deco2800.game.physics.components.ColliderComponent
Set whether this physics component is a sensor.
setShape(Shape) - Method in class com.deco2800.game.physics.components.ColliderComponent
Set shape
setStage(Stage) - Method in class com.deco2800.game.rendering.RenderService
 
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.
setTargetNum(int) - Method in class com.deco2800.game.components.achievements.pojo.CollectionAchievementStatus
 
setterForCountDown() - Method in class com.deco2800.game.screens.MainGameScreen
 
setTextureRegion(TextureRegion) - Method in class com.deco2800.game.areas.terrain.TerrainTile
 
setTimeRemaining(float) - Method in class com.deco2800.game.components.countDownClock.countdownDisplay
 
setTimeScale(float) - Method in class com.deco2800.game.services.GameTime
Set the speed of time passing.
Settings() - Constructor for class com.deco2800.game.files.UserSettings.Settings
 
SETTINGS - Enum constant in enum class com.deco2800.game.GdxGame.ScreenType
 
SettingsMenuDisplay - Class in com.deco2800.game.components.settingsmenu
Settings menu display and logic.
SettingsMenuDisplay(GdxGame) - Constructor for class com.deco2800.game.components.settingsmenu.SettingsMenuDisplay
 
SettingsScreen - Class in com.deco2800.game.screens
The game screen containing the settings.
SettingsScreen(GdxGame) - Constructor for class com.deco2800.game.screens.SettingsScreen
 
setWin() - Static method in class com.deco2800.game.components.endingmenu.EndingMenuDisplay
 
showInteractionPrompt() - Method in class com.deco2800.game.components.npc.NpcInteractionDisplay
 
showInventoryFull() - Method in class com.deco2800.game.components.player.AddToInventoryComponent
 
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
 
skin - Static variable in class com.deco2800.game.ui.UIComponent
 
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.
spawnKey(GdxGame) - Method in class com.deco2800.game.areas.ForestGameArea
 
spawnTimeConsumeableItem() - Method in class com.deco2800.game.areas.ForestGameArea
 
spliterator() - Method in class com.deco2800.game.utils.SortedIntMap
 
spookyFactor - Variable in class com.deco2800.game.entities.configs.GhostKingConfig
 
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.npcEvictionMenu.ParticleActor
 
start() - Method in class com.deco2800.game.components.tasks.ChaseTask
 
start() - Method in class com.deco2800.game.components.tasks.DistanceTask
Start waiting from now until duration has passed.
start() - Method in class com.deco2800.game.components.tasks.MovementTask
 
start() - Method in class com.deco2800.game.components.tasks.MovingTask
 
start() - Method in class com.deco2800.game.components.tasks.SwitchTask
 
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
 
startAnimation(String) - Method in class com.deco2800.game.rendering.AnimationRenderComponent
Start playback of an animation.
status - Variable in class com.deco2800.game.ai.tasks.DefaultTask
 
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.MovementTask
 
stopAnimation() - Method in class com.deco2800.game.rendering.AnimationRenderComponent
Stop the currently running animation.
stopCountDownAssets() - Method in class com.deco2800.game.components.countDownClock.countdownDisplay
 
stopGame - Variable in class com.deco2800.game.GdxGame
 
STORYLINE - Enum constant in enum class com.deco2800.game.GdxGame.ScreenType
 
StorylineDisplay - Class in com.deco2800.game.components.storyline
 
StorylineDisplay(GdxGame) - Constructor for class com.deco2800.game.components.storyline.StorylineDisplay
 
StorylineScreen - Class in com.deco2800.game.screens
The game screen containing the settings.
StorylineScreen(GdxGame) - Constructor for class com.deco2800.game.screens.StorylineScreen
 
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.
SwitchComponent - Class in com.deco2800.game.components.player
 
SwitchComponent() - Constructor for class com.deco2800.game.components.player.SwitchComponent
 
SwitchFactory - Class in com.deco2800.game.entities.factories
 
SwitchFactory() - Constructor for class com.deco2800.game.entities.factories.SwitchFactory
 
switchLevel() - Method in class com.deco2800.game.screens.MainGameScreen
 
SwitchTask - Class in com.deco2800.game.components.tasks
 
SwitchTask(Entity, GdxGame) - Constructor for class com.deco2800.game.components.tasks.SwitchTask
 

T

tap(float, float, int, int) - Method in class com.deco2800.game.input.InputComponent
 
tap(float, float, int, int) - Method in class com.deco2800.game.input.InputService
Iterates over registered input handlers in descending priority and stops as soon as the input is processed
Task - Interface in com.deco2800.game.ai.tasks
An AI task can be started and stopped at any time.
Task.Status - Enum Class in com.deco2800.game.ai.tasks
 
TaskRunner - Interface in com.deco2800.game.ai.tasks
 
TaskWindow - Class in com.deco2800.game.components.countDownClock
 
TaskWindow(GdxGame, String) - Constructor for class com.deco2800.game.components.countDownClock.TaskWindow
 
Terminal - Class in com.deco2800.game.ui.terminal
State tracker for a debug terminal.
Terminal() - Constructor for class com.deco2800.game.ui.terminal.Terminal
 
Terminal(Map<String, Command>) - Constructor for class com.deco2800.game.ui.terminal.Terminal
 
TerminalDisplay - Class in com.deco2800.game.ui.terminal
A ui component for displaying the debug terminal.
TerminalDisplay() - Constructor for class com.deco2800.game.ui.terminal.TerminalDisplay
 
terrain - Variable in class com.deco2800.game.areas.GameArea
 
TerrainComponent - Class in com.deco2800.game.areas.terrain
Render a tiled terrain for a given tiled map and orientation.
TerrainComponent(OrthographicCamera, TiledMap, TiledMapRenderer, TerrainComponent.TerrainOrientation, float) - Constructor for class com.deco2800.game.areas.terrain.TerrainComponent
 
TerrainComponent.TerrainOrientation - Enum Class in com.deco2800.game.areas.terrain
 
TerrainFactory - Class in com.deco2800.game.areas.terrain
Factory for creating game terrains.
TerrainFactory(CameraComponent) - Constructor for class com.deco2800.game.areas.terrain.TerrainFactory
Create a terrain factory with Orthogonal orientation
TerrainFactory(CameraComponent, TerrainComponent.TerrainOrientation) - Constructor for class com.deco2800.game.areas.terrain.TerrainFactory
Create a terrain factory
TerrainFactory.TerrainType - Enum Class in com.deco2800.game.areas.terrain
This enum should contain the different terrains in your game, e.g.
TerrainTile - Class in com.deco2800.game.areas.terrain
Custom terrain tile implementation for tiled map terrain that stores additional properties we may want to have in the game, such as audio, walking speed, traversability by AI, etc.
TerrainTile(TextureRegion) - Constructor for class com.deco2800.game.areas.terrain.TerrainTile
 
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
 
theGameScreen - Variable in class com.deco2800.game.GdxGame
 
tileToWorldPosition(int, int) - Method in class com.deco2800.game.areas.terrain.TerrainComponent
 
tileToWorldPosition(GridPoint2) - Method in class com.deco2800.game.areas.terrain.TerrainComponent
 
TIME_OVER - Enum constant in enum class com.deco2800.game.GdxGame.ScreenType
 
TimeIsOverScreen - Class in com.deco2800.game.screens
 
TimeIsOverScreen(GdxGame) - Constructor for class com.deco2800.game.screens.TimeIsOverScreen
 
timeOverDisplay - Class in com.deco2800.game.components.endingmenu
 
timeOverDisplay(GdxGame) - Constructor for class com.deco2800.game.components.endingmenu.timeOverDisplay
 
timeRemaining - Variable in class com.deco2800.game.components.countDownClock.countdownDisplay
 
timeRemaining - Variable in class com.deco2800.game.entities.configs.PlayerProfileProperties
 
toggleIsOpen() - Method in class com.deco2800.game.ui.terminal.Terminal
Toggles between the terminal being open and closed.
TOOL_ID - Static variable in class com.deco2800.game.entities.factories.SwitchFactory
 
ToolComponent - Class in com.deco2800.game.components.player
 
ToolComponent() - Constructor for class com.deco2800.game.components.player.ToolComponent
 
ToolItem - Class in com.deco2800.game.components.player.entity
 
ToolItem() - Constructor for class com.deco2800.game.components.player.entity.ToolItem
 
ToolItem(int, String, String, String) - Constructor for class com.deco2800.game.components.player.entity.ToolItem
 
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.components.countDownClock.countdownDisplay
 
toString() - Method in class com.deco2800.game.components.player.entity.Backpack
 
toString() - Method in class com.deco2800.game.entities.Entity
 
toString() - Method in class com.deco2800.game.utils.StringDecorator
 
TOUCH - Enum constant in enum class com.deco2800.game.input.InputFactory.InputType
 
TouchAttackComponent - Class in com.deco2800.game.components
When this entity touches a valid enemy's hitbox, deal damage to them and apply a knockback.
TouchAttackComponent(short) - Constructor for class com.deco2800.game.components.TouchAttackComponent
Create a component which attacks entities on collision, without knockback.
TouchAttackComponent(short, float) - Constructor for class com.deco2800.game.components.TouchAttackComponent
Create a component which attacks entities on collision, with knockback.
touchDown(float, float, int, int) - Method in class com.deco2800.game.input.InputComponent
 
touchDown(float, float, int, int) - Method in class com.deco2800.game.input.InputService
Iterates over registered input handlers in descending priority and stops as soon as the input is processed
touchDown(int, int, int, int) - Method in class com.deco2800.game.components.player.TouchPlayerInputComponent
Triggers the player 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.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
TraitorClues - Class in com.deco2800.game.components.clues
Singleton class for Traitor Clue Library
TraitorClues(ArrayList<String>) - Constructor for class com.deco2800.game.components.clues.TraitorClues
 
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
TriggerDialogComponent - Class in com.deco2800.game.components.npc
 
TriggerDialogComponent(short, NpcInteractionDisplay, NPCFactory.CommunicativeNpcName) - Constructor for class com.deco2800.game.components.npc.TriggerDialogComponent
 
triggerEarlyUpdate() - Method in class com.deco2800.game.components.Component
Used to trigger the component to early-update itself.
triggerUpdate() - Method in class com.deco2800.game.components.Component
Used to trigger the component to update itself.
TUTORIAL - Enum constant in enum class com.deco2800.game.GdxGame.ScreenType
 
TutorialDisplay - Class in com.deco2800.game.components.mainmenu.storyline
 
TutorialDisplay(GdxGame) - Constructor for class com.deco2800.game.components.mainmenu.storyline.TutorialDisplay
 
TutorialScreen - Class in com.deco2800.game.screens
The game screen containing the tutorials.
TutorialScreen(GdxGame) - Constructor for class com.deco2800.game.screens.TutorialScreen
 
type - Variable in class com.deco2800.game.entities.configs.achievementConfigs.AchievementPropertyConfig
 
type - Variable in class com.deco2800.game.entities.Entity
type: This parameter is used to identify the type of the entity example: "key" "ClueItem" ...
TYPE_COLLECTION - Static variable in class com.deco2800.game.entities.configs.achievementConfigs.AchievementPropertyConfig
 
TYPE_PLOT - Static variable in class com.deco2800.game.entities.configs.achievementConfigs.AchievementPropertyConfig
 

U

UIComponent - Class in com.deco2800.game.ui
A generic component for rendering onto the ui.
UIComponent() - Constructor for class com.deco2800.game.ui.UIComponent
 
uiScale - Variable in class com.deco2800.game.files.UserSettings.Settings
ui Scale.
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(InputComponent) - Method in class com.deco2800.game.input.InputService
Unregister an input handler
unregister(Renderable) - Method in class com.deco2800.game.rendering.RenderService
Unregister a renderable.
UP - Static variable in class com.deco2800.game.components.player.PlayerAnimationController
 
UP - Static variable in class com.deco2800.game.utils.math.Vector2Utils
 
UP_ATTACK - Static variable in class com.deco2800.game.components.player.PlayerAnimationController
 
UP_GUN_ATTACK - Static variable in class com.deco2800.game.components.player.PlayerAnimationController
 
UP_KNIFE_ATTACK - Static variable in class com.deco2800.game.components.player.PlayerAnimationController
 
update() - Method in class com.deco2800.game.ai.tasks.AITaskComponent
On update, run the current highest priority task.
update() - Method in class com.deco2800.game.ai.tasks.DefaultTask
 
update() - Method in interface com.deco2800.game.ai.tasks.Task
Run one frame of the task.
update() - Method in class com.deco2800.game.components.CameraComponent
 
update() - Method in class com.deco2800.game.components.Component
Called once per frame of the game, and should be used for most component logic.
update() - Method in class com.deco2800.game.components.countDownClock.countdownDisplay
 
update() - Method in class com.deco2800.game.components.endingmenu.timeOverDisplay
 
update() - Method in class com.deco2800.game.components.mainmenu.storyline.TutorialDisplay
 
update() - Method in class com.deco2800.game.components.player.PlayerActions
 
update() - Method in class com.deco2800.game.components.settingsmenu.SettingsMenuDisplay
 
update() - Method in class com.deco2800.game.components.storyline.StorylineDisplay
 
update() - Method in class com.deco2800.game.components.tasks.ChaseTask
 
update() - Method in class com.deco2800.game.components.tasks.DistanceTask
 
update() - Method in class com.deco2800.game.components.tasks.MovementTask
 
update() - Method in class com.deco2800.game.components.tasks.MovingTask
 
update() - Method in class com.deco2800.game.components.tasks.SwitchTask
 
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.entities.Entity
Perform an update on all components.
update() - Method in class com.deco2800.game.entities.EntityService
Update all registered entities.
update() - Method in class com.deco2800.game.physics.components.PhysicsMovementComponent
 
update() - Method in class com.deco2800.game.physics.PhysicsEngine
 
updateClueCollectionAchievement(Entity) - Method in class com.deco2800.game.components.achievements.AchievementStatsComponent
 
updateConsumableCollectionAchievement(Entity) - Method in class com.deco2800.game.components.achievements.AchievementStatsComponent
 
updateDistance(int) - Method in class com.deco2800.game.components.npc.NpcInteraction
set new distance
updateIsObtained() - Method in class com.deco2800.game.components.achievements.pojo.CollectionAchievementStatus
 
updatePlayerHealth(int) - Method in class com.deco2800.game.areas.ForestGameArea
 
updatePlayerHealthUI(int) - Method in class com.deco2800.game.components.player.PlayerStatsDisplay
Updates the player's health on the ui.
useItem(int) - Method in class com.deco2800.game.components.player.InventoryDisplayComponent
 
useItem(Entity, Integer) - Method in class com.deco2800.game.components.player.InventoryDisplayComponent
Deprecated.
UserSettings - Class in com.deco2800.game.files
Reading, Writing, and applying user settings in the game.
UserSettings.DisplaySettings - Class in com.deco2800.game.files
Stores chosen display settings.
UserSettings.Settings - Class in com.deco2800.game.files
Stores game settings, can be serialised/deserialised.

V

valueOf(String) - Static method in enum class com.deco2800.game.ai.tasks.Task.Status
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.deco2800.game.areas.terrain.TerrainComponent.TerrainOrientation
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.deco2800.game.areas.terrain.TerrainFactory.TerrainType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.deco2800.game.components.npcEvictionMenu.NpcEvictionMenuDisplayNew.NpcResultDialogType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.deco2800.game.entities.factories.NPCFactory.CommunicativeNpcName
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.deco2800.game.files.FileLoader.Location
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.deco2800.game.GdxGame.ScreenType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.deco2800.game.input.InputFactory.InputType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.deco2800.game.physics.components.PhysicsComponent.AlignX
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.deco2800.game.physics.components.PhysicsComponent.AlignY
Returns the enum constant of this class with the specified name.
values() - Static method in enum class com.deco2800.game.ai.tasks.Task.Status
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.deco2800.game.areas.terrain.TerrainComponent.TerrainOrientation
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.deco2800.game.areas.terrain.TerrainFactory.TerrainType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.deco2800.game.components.npcEvictionMenu.NpcEvictionMenuDisplayNew.NpcResultDialogType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.deco2800.game.entities.factories.NPCFactory.CommunicativeNpcName
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.deco2800.game.files.FileLoader.Location
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.deco2800.game.GdxGame.ScreenType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.deco2800.game.input.InputFactory.InputType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.deco2800.game.physics.components.PhysicsComponent.AlignX
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.deco2800.game.physics.components.PhysicsComponent.AlignY
Returns an array containing the constants of this enum class, in the order they are declared.
Vector2Utils - Class in com.deco2800.game.utils.math
Contains additional utility constants and functions for common Vector2 operations.
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
 
waitTime() - Method in class com.deco2800.game.components.player.DamageFlashDisplayComponent
 
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
 
width - Variable in class com.deco2800.game.files.UserSettings.DisplaySettings
 
WIN - Enum constant in enum class com.deco2800.game.components.npcEvictionMenu.NpcEvictionMenuDisplayNew.NpcResultDialogType
 
wirteToLocal() - Method in class com.deco2800.game.services.AchievementService
 
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.
WRONG_BOX1 - Enum constant in enum class com.deco2800.game.components.npcEvictionMenu.NpcEvictionMenuDisplayNew.NpcResultDialogType
 
WRONG_BOX2 - Enum constant in enum class com.deco2800.game.components.npcEvictionMenu.NpcEvictionMenuDisplayNew.NpcResultDialogType
 

Z

ZERO - Static variable in class com.deco2800.game.utils.math.GridPoint2Utils
 
Zoe - Enum constant in enum class com.deco2800.game.entities.factories.NPCFactory.CommunicativeNpcName
 
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
A B C D E F G H I J K L M N O P R S T U V W Z 
All Classes and Interfaces|All Packages|Constant Field Values