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|Serialized Form

A

ABSOLUTE - Enum constant in enum class com.deco2800.game.files.FileLoader.Location
 
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.ConstructionCommand
 
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
 
addActors() - Method in class com.deco2800.game.components.LoadingBar
 
addActors() - Method in class com.deco2800.game.components.maingame.DialogueBoxDisplay
Add all necessary dialogue box components
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.
addBuilding(Building, boolean) - Method in class com.deco2800.game.areas.MapGenerator.Buildings.CityRow
Attempts to add a building to this City Row
addCollectionAmount(int) - Method in class com.deco2800.game.worker.components.CollectStatsComponent
Adds to the amount which an entity can collect.
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.
addEvents() - Method in class com.deco2800.game.components.building.damageAnimation
 
addGameResource(Coordinate, Entity) - Method in class com.deco2800.game.areas.MapGenerator.MapGenerator
 
addGold(int) - Method in class com.deco2800.game.components.player.InventoryComponent
Adds to the player's gold.
addHealth(int) - Method in class com.deco2800.game.components.CombatStatsComponent
Adds to the player's health.
addIslandTile(int, int) - Method in class com.deco2800.game.map.MapService
Add an island tile position to the MapService
addLevel() - Method in class com.deco2800.game.components.building.BuildingActions
Increments level by 1 and upgrades combat stats
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
addListener(String, EventListener4<T0, T1, T2, T3>) - Method in class com.deco2800.game.events.EventHandler
Add a listener to an event with three arguments
addMetal(int) - Method in class com.deco2800.game.worker.components.WorkerInventoryComponent
Adds to the player's metal.
addPlacement(Coordinate) - Method in class com.deco2800.game.areas.MapGenerator.ResourceSpecification
Associates this ResourceSpecification with a tile of the map to be placed on
addStone(int) - Method in class com.deco2800.game.worker.components.WorkerInventoryComponent
Adds to the player's stone.
addTask(PriorityTask) - Method in class com.deco2800.game.ai.tasks.AITaskComponent
Add a priority task to the list of tasks.
addToDestroy(Entity) - Method in class com.deco2800.game.physics.PhysicsEngine
 
addWood(int) - Method in class com.deco2800.game.worker.components.WorkerInventoryComponent
Adds to the player's wood.
AIHorizontalMovement - Class in com.deco2800.game.components.tasks
A class that makes enemies move horizontally in a constant speed.
AIHorizontalMovement(float, int) - Constructor for class com.deco2800.game.components.tasks.AIHorizontalMovement
 
AITaskComponent - Class in com.deco2800.game.ai.tasks
Task-based AI component.
AITaskComponent() - Constructor for class com.deco2800.game.ai.tasks.AITaskComponent
 
AIVerticalMovementTask - Class in com.deco2800.game.components.tasks
A class that makes enemies move vertically in a constant speed.
AIVerticalMovementTask(float, int) - Constructor for class com.deco2800.game.components.tasks.AIVerticalMovementTask
 
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.
angleToVector(Vector2, float) - Static method in class com.deco2800.game.utils.math.Vector2Utils
Find the vector relative to origin pointing in given angle
animateEast() - Method in class com.deco2800.game.components.npc.EnemyAnimationController
Play animation when enemy moves east
animateNorth() - Method in class com.deco2800.game.components.npc.EnemyAnimationController
Play animation when enemy moves north
animateSouth() - Method in class com.deco2800.game.components.npc.EnemyAnimationController
Play animation when enemy moves south
animateWest() - Method in class com.deco2800.game.components.npc.EnemyAnimationController
Play animation when enemy moves west
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.
AnimationTestingComponent - Class in com.deco2800.game.components.building
 
AnimationTestingComponent() - Constructor for class com.deco2800.game.components.building.AnimationTestingComponent
 
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.
archer - Variable in class com.deco2800.game.entities.configs.UnitConfigs
 
ARCHER - Enum constant in enum class com.deco2800.game.entities.UnitType
 
ArcherAnimationController - Class in com.deco2800.game.components.friendlyunits.controller
 
ArcherAnimationController - Class in com.deco2800.game.soldiers.animation
 
ArcherAnimationController() - Constructor for class com.deco2800.game.components.friendlyunits.controller.ArcherAnimationController
 
ArcherAnimationController() - Constructor for class com.deco2800.game.soldiers.animation.ArcherAnimationController
 
ArcherComponent - Class in com.deco2800.game.soldiers.type
 
ArcherComponent() - Constructor for class com.deco2800.game.soldiers.type.ArcherComponent
 
ArcherFactory - Class in com.deco2800.game.soldiers.factories
 
areaEntities - Variable in class com.deco2800.game.areas.GameArea
 
AtlantisGameArea - Class in com.deco2800.game.areas
Atlantis game area for creating the map the game is played in
AtlantisGameArea(AtlantisTerrainFactory) - Constructor for class com.deco2800.game.areas.AtlantisGameArea
 
AtlantisGameAreaEventHandler - Class in com.deco2800.game.components
 
AtlantisGameAreaEventHandler(EventHandler) - Constructor for class com.deco2800.game.components.AtlantisGameAreaEventHandler
 
atlantisSounds - Static variable in class com.deco2800.game.areas.AtlantisGameArea
 
atlantisSounds - Static variable in class com.deco2800.game.areas.TutorialGameArea
 
atlantisSounds - Static variable in class com.deco2800.game.screens.TutorialScreen
 
AtlantisTerrainFactory - Class in com.deco2800.game.areas.terrain
Factory for creating game terrain.
AtlantisTerrainFactory(CameraComponent) - Constructor for class com.deco2800.game.areas.terrain.AtlantisTerrainFactory
Create a terrain factory with Isometric orientation
attackEast() - Method in class com.deco2800.game.components.npc.EnemyAnimationController
Play animation when enemy attacks in east direction
AttackListener - Class in com.deco2800.game.components.building
 
AttackListener(Entity, GameArea) - Constructor for class com.deco2800.game.components.building.AttackListener
 
attackNorth() - Method in class com.deco2800.game.components.npc.EnemyAnimationController
Play animation when enemy attacks in north direction
attackSouth() - Method in class com.deco2800.game.components.npc.EnemyAnimationController
Play animation when enemy attacks in south direction
attackWest() - Method in class com.deco2800.game.components.npc.EnemyAnimationController
Play animation when enemy attacks in west direction
AvatarIconComponent - Class in com.deco2800.game.components.friendlyunits
 
AvatarIconComponent(Texture) - Constructor for class com.deco2800.game.components.friendlyunits.AvatarIconComponent
 
AvatarIconComponent(String) - Constructor for class com.deco2800.game.components.friendlyunits.AvatarIconComponent
 

B

barracks - Variable in class com.deco2800.game.entities.configs.BuildingConfigs
 
BARRACKS - Enum constant in enum class com.deco2800.game.components.building.Building
 
BARRACKS - Enum constant in enum class com.deco2800.game.entities.BuildingType
 
BarracksConfig - Class in com.deco2800.game.entities.configs
Defines the barracks properties stored in config file to be loaded by the Building Factory.
BarracksConfig() - Constructor for class com.deco2800.game.entities.configs.BarracksConfig
 
baseAttack - Variable in class com.deco2800.game.entities.configs.BaseEntityConfig
 
baseAttack - Variable in class com.deco2800.game.entities.configs.BaseUnitConfig
 
BaseComponent - Class in com.deco2800.game.worker.components.type
 
BaseComponent() - Constructor for class com.deco2800.game.worker.components.type.BaseComponent
 
baseDefence - Variable in class com.deco2800.game.entities.configs.BaseEntityConfig
 
baseDefence - Variable in class com.deco2800.game.entities.configs.BaseUnitConfig
 
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
 
BaseUnitConfig - Class in com.deco2800.game.entities.configs
 
BaseUnitConfig() - Constructor for class com.deco2800.game.entities.configs.BaseUnitConfig
 
beginContact(Contact) - Method in class com.deco2800.game.physics.PhysicsContactListener
 
blacksmith - Variable in class com.deco2800.game.entities.configs.BuildingConfigs
 
BLACKSMITH - Enum constant in enum class com.deco2800.game.components.building.Building
 
BlacksmithConfig - Class in com.deco2800.game.entities.configs
Defines the Black Smith properties stored in config file to be loaded by the Building Factory.
BlacksmithConfig() - Constructor for class com.deco2800.game.entities.configs.BlacksmithConfig
 
blueJoker - Variable in class com.deco2800.game.entities.configs.EnemyConfigs
 
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
 
BuilderAnimationController - Class in com.deco2800.game.worker.components
 
BuilderAnimationController() - Constructor for class com.deco2800.game.worker.components.BuilderAnimationController
 
BuilderComponent - Class in com.deco2800.game.worker.components.type
 
BuilderComponent() - Constructor for class com.deco2800.game.worker.components.type.BuilderComponent
 
BuilderFactory - Class in com.deco2800.game.worker.type
 
BuilderFactory() - Constructor for class com.deco2800.game.worker.type.BuilderFactory
 
Building - Class in com.deco2800.game.areas.MapGenerator.Buildings
 
Building - Enum Class in com.deco2800.game.components.building
 
Building(int, int, String, GridPoint2) - Constructor for class com.deco2800.game.areas.MapGenerator.Buildings.Building
 
BUILDING - Enum constant in enum class com.deco2800.game.components.EntityType
 
BUILDING_NODE - Static variable in class com.deco2800.game.physics.PhysicsLayer
 
BuildingActions - Class in com.deco2800.game.components.building
Action component for interacting with a building.
BuildingActions(Building, int) - Constructor for class com.deco2800.game.components.building.BuildingActions
Constructs components with specified level
BuildingAnimationController - Class in com.deco2800.game.components.building
Component to handle building animations, this component simply listens to events and plays animation associated with events called.
BuildingAnimationController() - Constructor for class com.deco2800.game.components.building.BuildingAnimationController
 
BuildingConfigs - Class in com.deco2800.game.entities.configs
Defines all building configs to be loaded by the Building Factory.
BuildingConfigs() - Constructor for class com.deco2800.game.entities.configs.BuildingConfigs
 
BuildingFactory - Class in com.deco2800.game.entities.factories
Factory to create a building entity with predefined components.
BuildingFixComponent - Class in com.deco2800.game.worker.components
 
BuildingFixComponent(short) - Constructor for class com.deco2800.game.worker.components.BuildingFixComponent
Create a component which collects resources from entity on collision.
BuildingGenerator - Class in com.deco2800.game.areas.MapGenerator.Buildings
 
BuildingGenerator(MapGenerator) - Constructor for class com.deco2800.game.areas.MapGenerator.Buildings.BuildingGenerator
 
BuildingHealth - Enum Class in com.deco2800.game.components.building
 
BuildingHealthManager - Class in com.deco2800.game.components.building
Component that sets the buildings health state.
BuildingHealthManager() - Constructor for class com.deco2800.game.components.building.BuildingHealthManager
 
BuildingMenuButton - Class in com.deco2800.game.components.buildingmenu
 
BuildingMenuButton() - Constructor for class com.deco2800.game.components.buildingmenu.BuildingMenuButton
 
BuildingMenuDisplay - Class in com.deco2800.game.components.buildingmenu
 
BuildingMenuDisplay() - Constructor for class com.deco2800.game.components.buildingmenu.BuildingMenuDisplay
 
buildingMenuTextures - Static variable in class com.deco2800.game.areas.AtlantisGameArea
 
buildingPlacementTextures - Static variable in class com.deco2800.game.areas.AtlantisGameArea
 
buildingPlacementTextures - Static variable in class com.deco2800.game.areas.TutorialGameArea
 
BuildingSpecification - Class in com.deco2800.game.areas.MapGenerator.Buildings
 
BuildingSpecification(String, int, int, String, int) - Constructor for class com.deco2800.game.areas.MapGenerator.Buildings.BuildingSpecification
Construct a new BuildingSpecification
BuildingType - Enum Class in com.deco2800.game.entities
 
BuildingUIDataComponent - Class in com.deco2800.game.components
 
BuildingUIDataComponent() - Constructor for class com.deco2800.game.components.BuildingUIDataComponent
 
bulletHitShips - Class in com.deco2800.game.components
When this entity touches a valid enemy's bullet, deal damage to them and destroy the bullet.
bulletHitShips(Entity, GameArea) - Constructor for class com.deco2800.game.components.bulletHitShips
 

C

CameraComponent - Class in com.deco2800.game.components
 
CameraComponent() - Constructor for class com.deco2800.game.components.CameraComponent
 
CameraComponent(Camera) - Constructor for class com.deco2800.game.components.CameraComponent
 
CameraInputComponent - Class in com.deco2800.game.input
 
CameraInputComponent() - Constructor for class com.deco2800.game.input.CameraInputComponent
 
CampSpawnStones - Class in com.deco2800.game.worker.resources
 
CampSpawnStones() - Constructor for class com.deco2800.game.worker.resources.CampSpawnStones
 
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
 
centreRow() - Method in class com.deco2800.game.areas.MapGenerator.Buildings.CityRow
Distributes buildings evenly across the city based on how much empty space is left
changeAnimation() - Method in class com.deco2800.game.physics.components.PhysicsMovementComponent
Checks the direction of the entity and changes to appropriate animation and direction
changeImage(String) - Method in class com.deco2800.game.components.floodtimer.FloodTimer
 
changeSpeed(float) - Method in class com.deco2800.game.physics.components.PhysicsMovementComponent
 
changeWeatherImage() - Method in class com.deco2800.game.components.weather.WeatherIcon
This method is called when the timer for the weather expires.
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
 
check(List<GridPoint2>) - Method in class com.deco2800.game.areas.MapGenerator.pathBuilding.CheckConnectivity
Determines if a graph of positions is connected with paths and returns all disconnected points.
CheckConnectivity - Class in com.deco2800.game.areas.MapGenerator.pathBuilding
 
CheckConnectivity(PathGenerator) - Constructor for class com.deco2800.game.areas.MapGenerator.pathBuilding.CheckConnectivity
Constructs an instance of CheckConnectivity.
checkTile(float, float) - Static method in class com.deco2800.game.worker.resources.CampSpawnStones
 
CityFeatureFactory - Class in com.deco2800.game.entities.factories
 
CityFeatureFactory() - Constructor for class com.deco2800.game.entities.factories.CityFeatureFactory
 
CityRow - Class in com.deco2800.game.areas.MapGenerator.Buildings
 
CityRow(int, int, int, int, int) - Constructor for class com.deco2800.game.areas.MapGenerator.Buildings.CityRow
Creates a new row of the city to allocate buildings to, given the width of the city in tiles, the amount of tiles to dedicate to walls around the city, and the amount of space to place between each city
CLASSPATH - Enum constant in enum class com.deco2800.game.files.FileLoader.Location
 
clear() - Static method in class com.deco2800.game.services.ServiceLocator
 
clear() - Method in class com.deco2800.game.utils.SortedIntMap
Clear the map
clearAllAssets() - Method in class com.deco2800.game.services.ResourceService
Clears all loaded assets and assets in the preloading queue.
CLOUDY - Enum constant in enum class com.deco2800.game.components.weather.WeatherIconProperties
 
collapse() - Method in class com.deco2800.game.components.building.damageAnimation
 
COLLECTION_TIME - Static variable in class com.deco2800.game.worker.components.ResourceCollectComponent
 
collectMetal(CollectStatsComponent) - Method in class com.deco2800.game.worker.components.ResourceStatsComponent
 
collectMetal(ResourceStatsComponent) - Method in class com.deco2800.game.worker.components.ResourceCollectComponent
Adds the collected metal to the worker inventory.
CollectStatsComponent - Class in com.deco2800.game.worker.components
 
CollectStatsComponent(int) - Constructor for class com.deco2800.game.worker.components.CollectStatsComponent
 
collectStone(CollectStatsComponent) - Method in class com.deco2800.game.worker.components.ResourceStatsComponent
Collects stone
collectStone(ResourceStatsComponent) - Method in class com.deco2800.game.worker.components.ResourceCollectComponent
Adds the collected stone to the worker inventory.
collectWood(CollectStatsComponent) - Method in class com.deco2800.game.worker.components.ResourceStatsComponent
Collects stone
collectWood(ResourceStatsComponent) - Method in class com.deco2800.game.worker.components.ResourceCollectComponent
Adds the collected wood to the worker inventory.
ColliderComponent - Class in com.deco2800.game.physics.components
Attaches a physics collider to an entity.
ColliderComponent() - Constructor for class com.deco2800.game.physics.components.ColliderComponent
 
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.MapGenerator - package com.deco2800.game.areas.MapGenerator
 
com.deco2800.game.areas.MapGenerator.Buildings - package com.deco2800.game.areas.MapGenerator.Buildings
 
com.deco2800.game.areas.MapGenerator.pathBuilding - package com.deco2800.game.areas.MapGenerator.pathBuilding
 
com.deco2800.game.areas.terrain - package com.deco2800.game.areas.terrain
 
com.deco2800.game.components - package com.deco2800.game.components
 
com.deco2800.game.components.building - package com.deco2800.game.components.building
 
com.deco2800.game.components.buildingmenu - package com.deco2800.game.components.buildingmenu
 
com.deco2800.game.components.endgame - package com.deco2800.game.components.endgame
 
com.deco2800.game.components.enemy - package com.deco2800.game.components.enemy
 
com.deco2800.game.components.floodtimer - package com.deco2800.game.components.floodtimer
 
com.deco2800.game.components.friendly - package com.deco2800.game.components.friendly
 
com.deco2800.game.components.friendlyunits - package com.deco2800.game.components.friendlyunits
 
com.deco2800.game.components.friendlyunits.controller - package com.deco2800.game.components.friendlyunits.controller
 
com.deco2800.game.components.friendlyunits.gamearea - package com.deco2800.game.components.friendlyunits.gamearea
 
com.deco2800.game.components.friendlyunits.task - package com.deco2800.game.components.friendlyunits.task
 
com.deco2800.game.components.maingame - package com.deco2800.game.components.maingame
 
com.deco2800.game.components.mainmenu - package com.deco2800.game.components.mainmenu
 
com.deco2800.game.components.npc - package com.deco2800.game.components.npc
 
com.deco2800.game.components.pausemenu - package com.deco2800.game.components.pausemenu
 
com.deco2800.game.components.player - package com.deco2800.game.components.player
 
com.deco2800.game.components.resources - package com.deco2800.game.components.resources
 
com.deco2800.game.components.settingsmenu - package com.deco2800.game.components.settingsmenu
 
com.deco2800.game.components.soldiermenu - package com.deco2800.game.components.soldiermenu
 
com.deco2800.game.components.story - package com.deco2800.game.components.story
 
com.deco2800.game.components.tasks - package com.deco2800.game.components.tasks
 
com.deco2800.game.components.tutorial - package com.deco2800.game.components.tutorial
 
com.deco2800.game.components.weather - package com.deco2800.game.components.weather
 
com.deco2800.game.concurrency - package com.deco2800.game.concurrency
 
com.deco2800.game.entities - package com.deco2800.game.entities
 
com.deco2800.game.entities.configs - package com.deco2800.game.entities.configs
 
com.deco2800.game.entities.factories - package com.deco2800.game.entities.factories
 
com.deco2800.game.events - package com.deco2800.game.events
 
com.deco2800.game.events.listeners - package com.deco2800.game.events.listeners
 
com.deco2800.game.files - package com.deco2800.game.files
 
com.deco2800.game.input - package com.deco2800.game.input
 
com.deco2800.game.map - package com.deco2800.game.map
 
com.deco2800.game.map.util - package com.deco2800.game.map.util
 
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.soldiers.animation - package com.deco2800.game.soldiers.animation
 
com.deco2800.game.soldiers.factories - package com.deco2800.game.soldiers.factories
 
com.deco2800.game.soldiers.movement - package com.deco2800.game.soldiers.movement
 
com.deco2800.game.soldiers.type - package com.deco2800.game.soldiers.type
 
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
 
com.deco2800.game.utils.random - package com.deco2800.game.utils.random
 
com.deco2800.game.worker - package com.deco2800.game.worker
 
com.deco2800.game.worker.components - package com.deco2800.game.worker.components
 
com.deco2800.game.worker.components.duration - package com.deco2800.game.worker.components.duration
 
com.deco2800.game.worker.components.movement - package com.deco2800.game.worker.components.movement
 
com.deco2800.game.worker.components.type - package com.deco2800.game.worker.components.type
 
com.deco2800.game.worker.resources - package com.deco2800.game.worker.resources
 
com.deco2800.game.worker.type - package com.deco2800.game.worker.type
 
CombatStatsComponent - Class in com.deco2800.game.components
Component used to store information related to combat such as health, attack, etc.
CombatStatsComponent(int, int, int) - Constructor for class com.deco2800.game.components.CombatStatsComponent
 
CombatStatsComponent(int, int, int, int, float) - Constructor for class com.deco2800.game.components.CombatStatsComponent
 
CombatStatsComponent(int, int, int, int, float, 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.areas.terrain.MinimapComponent
 
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.
CONNECTOR_EW - Enum constant in enum class com.deco2800.game.components.building.Building
 
CONNECTOR_NS - Enum constant in enum class com.deco2800.game.components.building.Building
 
CONNECTOR_SCALE - Static variable in class com.deco2800.game.entities.factories.BuildingFactory
Width in tiles of wall connectors and gates - do not change as they are contingent on CORNER_SCALE
construct(BuildingType) - Method in class com.deco2800.game.ui.terminal.commands.ConstructionCommand
Takes a BuildingType and produces a corresponding input component and highlight
ConstructionCommand - Class in com.deco2800.game.ui.terminal.commands
 
ConstructionCommand() - Constructor for class com.deco2800.game.ui.terminal.commands.ConstructionCommand
 
ConstructionInputComponent - Class in com.deco2800.game.components.building
 
ConstructionInputComponent(Entity, BuildingType) - Constructor for class com.deco2800.game.components.building.ConstructionInputComponent
 
contains(float, float, float) - Method in class com.deco2800.game.components.friendlyunits.SelectableComponent
 
contains(float, float, float) - Static method in class com.deco2800.game.utils.math.RandomUtils
 
contains(short, short) - Static method in class com.deco2800.game.physics.PhysicsLayer
 
contains(V) - Method in class com.deco2800.game.utils.SortedIntMap
 
containsAsset(String, Class<T>) - Method in class com.deco2800.game.services.ResourceService
Check if an asset has been loaded already
containsKey(int) - Method in class com.deco2800.game.utils.SortedIntMap
 
containsUs(int, int, int, int) - Method in class com.deco2800.game.components.friendlyunits.SelectableComponent
Called when player wishes to select units in a certain area on the screen and checks if this unit is in that area
Coordinate - Class in com.deco2800.game.areas.MapGenerator
Coordinates represent a cartesian point on the map and are used to assist in processing data in the dynamic generation of the map
Coordinate() - Constructor for class com.deco2800.game.areas.MapGenerator.Coordinate
Default constructor for an empty coordinate, assumes (0,0) starting location
Coordinate(int, int) - Constructor for class com.deco2800.game.areas.MapGenerator.Coordinate
Constructs a new coordinate at the given (x,y) position
copyMap(char[][], int, int) - Static method in class com.deco2800.game.areas.MapGenerator.MapGenerator
Copies the 2D map array into a new char[][] array
CORNER_SCALE - Static variable in class com.deco2800.game.entities.factories.BuildingFactory
Width in tiles of a wall pillar entity
create() - Method in class com.deco2800.game.areas.AtlantisGameArea
Create the game area, including terrain, static entities (resources), dynamic entities (player)
create() - Method in class com.deco2800.game.areas.ForestGameArea
Create the game area, including terrain, static entities (trees), dynamic entities (player)
create() - Method in class com.deco2800.game.areas.GameArea
Create the game area in the world.
create() - Method in class com.deco2800.game.areas.MapGenerator.FloodingGenerator
Create the component in the game.
create() - Method in class com.deco2800.game.areas.TutorialGameArea
 
create() - Method in class com.deco2800.game.components.building.AnimationTestingComponent
 
create() - Method in class com.deco2800.game.components.building.AttackListener
 
create() - Method in class com.deco2800.game.components.building.BuildingActions
Called upon creation.
create() - Method in class com.deco2800.game.components.building.BuildingAnimationController
 
create() - Method in class com.deco2800.game.components.building.BuildingHealthManager
 
create() - Method in class com.deco2800.game.components.building.ConstructionInputComponent
 
create() - Method in class com.deco2800.game.components.building.damageAnimation
 
create() - Method in class com.deco2800.game.components.building.DirectionalBuildingAnimationController
 
create() - Method in class com.deco2800.game.components.building.GateCollider
On create, listen for the events "collisionStart" and "collisionEnd" initiated by the PhysicsContactListener, which will execute the functions "onCollisionStart" and "onCollisionEnd"
create() - Method in class com.deco2800.game.components.building.ShopUIFunctionalityComponent
 
create() - Method in class com.deco2800.game.components.building.UpdateBuildingDirection
 
create() - Method in class com.deco2800.game.components.buildingmenu.BuildingMenuButton
 
create() - Method in class com.deco2800.game.components.buildingmenu.BuildingMenuDisplay
 
create() - Method in class com.deco2800.game.components.BuildingUIDataComponent
 
create() - Method in class com.deco2800.game.components.bulletHitShips
 
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.endgame.EndGameActions
 
create() - Method in class com.deco2800.game.components.endgame.EndGameDisplay
 
create() - Method in class com.deco2800.game.components.floodtimer.FloodTimerDisplay
Creates weather icon object for the display.
create() - Method in class com.deco2800.game.components.friendly.TroopContainerComponent
Called when the corresponding entity is created.
create() - Method in class com.deco2800.game.components.friendlyunits.controller.ArcherAnimationController
 
create() - Method in class com.deco2800.game.components.friendlyunits.controller.HopliteAnimationController
 
create() - Method in class com.deco2800.game.components.friendlyunits.controller.SpearmanAnimationController
 
create() - Method in class com.deco2800.game.components.friendlyunits.controller.SwordsmanAnimationController
 
create() - Method in class com.deco2800.game.components.friendlyunits.gamearea.GameAreaDisplay
 
create() - Method in class com.deco2800.game.components.friendlyunits.gamearea.PerformanceDisplay
 
create() - Method in class com.deco2800.game.components.friendlyunits.GestureDisplay
 
create() - Method in class com.deco2800.game.components.friendlyunits.MouseInputComponent
 
create() - Method in class com.deco2800.game.components.friendlyunits.SelectableComponent
 
create() - Method in class com.deco2800.game.components.HealthBarComponent
 
create() - Method in class com.deco2800.game.components.LoadingBar
 
create() - Method in class com.deco2800.game.components.maingame.DialogueBoxActions
 
create() - Method in class com.deco2800.game.components.maingame.DialogueBoxDisplay
 
create() - Method in class com.deco2800.game.components.maingame.Explosion
 
create() - Method in class com.deco2800.game.components.maingame.InfoBoxDisplay
 
create() - Method in class com.deco2800.game.components.maingame.MainGameActions
 
create() - Method in class com.deco2800.game.components.maingame.MainGameExitDisplay
 
create() - Method in class com.deco2800.game.components.maingame.SpellUI
 
create() - Method in class com.deco2800.game.components.mainmenu.MainMenuActions
 
create() - Method in class com.deco2800.game.components.mainmenu.MainMenuDisplay
 
create() - Method in class com.deco2800.game.components.npc.EnemyAnimationController
 
create() - Method in class com.deco2800.game.components.npc.GhostAnimationController
 
create() - Method in class com.deco2800.game.components.pausemenu.PauseMenuActions
 
create() - Method in class com.deco2800.game.components.pausemenu.PauseMenuDisplay
 
create() - Method in class com.deco2800.game.components.player.PlayerActions
 
create() - Method in class com.deco2800.game.components.player.PlayerStatsDisplay
Creates reusable ui styles and adds actors to the stage.
create() - Method in class com.deco2800.game.components.resources.ResourceCountDisplay
 
create() - Method in class com.deco2800.game.components.settingsmenu.SettingsMenuDisplay
 
create() - Method in class com.deco2800.game.components.soldiermenu.SoldierMenuButton
 
create() - Method in class com.deco2800.game.components.story.StoryActions
 
create() - Method in class com.deco2800.game.components.story.StoryDisplay
 
create() - Method in class com.deco2800.game.components.TouchAttackComponent
 
create() - Method in class com.deco2800.game.components.tutorial.TutorialActions
 
create() - Method in class com.deco2800.game.components.tutorial.TutorialDisplay
 
create() - Method in class com.deco2800.game.components.UnitSpawningComponent
 
create() - Method in class com.deco2800.game.components.weather.WeatherIconDisplay
Creates weather icon object for the display.
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.CameraInputComponent
 
create() - Method in class com.deco2800.game.input.InputComponent
 
create() - Method in class com.deco2800.game.map.MapComponent
 
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.soldiers.animation.ArcherAnimationController
 
create() - Method in class com.deco2800.game.soldiers.animation.HopliteAnimationController
 
create() - Method in class com.deco2800.game.soldiers.animation.SpearmanAnimationController
 
create() - Method in class com.deco2800.game.soldiers.animation.SwordsmanAnimationController
 
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() - Method in class com.deco2800.game.worker.components.BuilderAnimationController
 
create() - Method in class com.deco2800.game.worker.components.BuildingFixComponent
 
create() - Method in class com.deco2800.game.worker.components.duration.DurationBarComponent
 
create() - Method in class com.deco2800.game.worker.components.duration.DurationBarUiComponent
 
create() - Method in class com.deco2800.game.worker.components.EnemyDetectionComponent
 
create() - Method in class com.deco2800.game.worker.components.ForagerAnimationController
 
create() - Method in class com.deco2800.game.worker.components.MinerAnimationController
 
create() - Method in class com.deco2800.game.worker.components.movement.WorkerInputComponent
 
create() - Method in class com.deco2800.game.worker.components.ResourceCollectComponent
 
create() - Method in class com.deco2800.game.worker.resources.StoneAnimationController
 
create() - Method in class com.deco2800.game.worker.resources.TreeAnimationController
 
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.
createArcher(Entity, GameArea) - Static method in class com.deco2800.game.soldiers.factories.ArcherFactory
 
createArrayMap() - Method in class com.deco2800.game.areas.MapGenerator.MapGenerator
Get array map of city.
createArrow(Entity, Entity, GameArea) - Static method in class com.deco2800.game.soldiers.factories.ArcherFactory
 
createAtlantisTerrainComponent() - Method in class com.deco2800.game.areas.terrain.AtlantisTerrainFactory
 
createBarracks() - Static method in class com.deco2800.game.entities.factories.BuildingFactory
Creates entity, adds and configures Barracks components
createBaseBuilding() - Static method in class com.deco2800.game.entities.factories.BuildingFactory
Use this as a base entity for creating buildings
createBlacksmith() - Static method in class com.deco2800.game.entities.factories.BuildingFactory
Creates and returns a blacksmith building entity
createBlueJoker(AtlantisTerrainFactory) - Static method in class com.deco2800.game.entities.factories.EnemyFactory
Creates a Blue Joker enemy entity
createBody(BodyDef) - Method in class com.deco2800.game.physics.PhysicsEngine
 
createBuilder() - Static method in class com.deco2800.game.worker.type.BuilderFactory
 
createBullet(Entity, Entity, GameArea) - Static method in class com.deco2800.game.entities.factories.EnemyFactory
Creates the bullet for the Trebuchet.
createCamera() - Static method in class com.deco2800.game.entities.factories.RenderFactory
 
createCityBush() - Static method in class com.deco2800.game.entities.factories.CityFeatureFactory
 
createCornerWall() - Static method in class com.deco2800.game.entities.factories.BuildingFactory
 
createDurationBar() - Static method in class com.deco2800.game.worker.components.duration.DurationBarFactory
 
createEWConnector() - Static method in class com.deco2800.game.entities.factories.BuildingFactory
Creates a connector between wall pillars, oriented to face east/west
createEWGate() - Static method in class com.deco2800.game.entities.factories.BuildingFactory
Creates a east/west facing gate entity, that allows friendly units to leave and enter the city
createExampleUnit() - Static method in class com.deco2800.game.entities.factories.UnitFactory
 
createFarm() - Static method in class com.deco2800.game.entities.factories.BuildingFactory
Creates a farm building entity to be spawned in the game.
createForager() - Static method in class com.deco2800.game.worker.type.ForagerFactory
 
createForCamera() - Method in class com.deco2800.game.input.InputFactory
Creates an input handler for the camera
createForCamera() - Method in class com.deco2800.game.input.KeyboardInputFactory
Creates an input handler for the camera.
createForCamera() - Method in class com.deco2800.game.input.TouchInputFactory
Creates an input handler for the camera
createForFriendlyUnit() - Method in class com.deco2800.game.input.InputFactory
 
createForFriendlyUnit() - Method in class com.deco2800.game.input.KeyboardInputFactory
 
createForFriendlyUnit() - Method in class com.deco2800.game.input.TouchInputFactory
 
createForPlayer() - Method in class com.deco2800.game.input.InputFactory
Creates an input handler for the player
createForPlayer() - Method in class com.deco2800.game.input.KeyboardInputFactory
Creates an input handler for the player.
createForPlayer() - Method in class com.deco2800.game.input.TouchInputFactory
Creates an input handler for the player
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
createForWorker() - Method in class com.deco2800.game.input.InputFactory
Creates an input handler for the worker
createForWorker() - Method in class com.deco2800.game.input.KeyboardInputFactory
Creates an input handler for the worker
createForWorker() - Method in class com.deco2800.game.input.TouchInputFactory
Creates an input handler for the worker
createFromInputType(InputFactory.InputType) - Static method in class com.deco2800.game.input.InputFactory
 
createHoplite() - Static method in class com.deco2800.game.soldiers.factories.HopliteFactory
 
createJoint(JointDef) - Method in class com.deco2800.game.physics.PhysicsEngine
 
createLamp() - Static method in class com.deco2800.game.entities.factories.CityFeatureFactory
Creates a lamp entity
createLibrary() - Static method in class com.deco2800.game.entities.factories.BuildingFactory
Creates and returns a library building entity
createMiner() - Static method in class com.deco2800.game.worker.type.MinerFactory
 
createMiningCamp() - Static method in class com.deco2800.game.worker.resources.MiningCampFactory
 
createMovementTask() - Method in class com.deco2800.game.components.tasks.EnemyMovement
Creates a movement task.
createNSConnector() - Static method in class com.deco2800.game.entities.factories.BuildingFactory
Creates a connector between wall pillars, oriented to face north/south
createNSGate() - Static method in class com.deco2800.game.entities.factories.BuildingFactory
Creates a north/south facing gate entity, that allows friendly units to leave and enter the city
createRenderer() - Static method in class com.deco2800.game.entities.factories.RenderFactory
 
createShip() - Static method in class com.deco2800.game.entities.factories.BuildingFactory
Creates a ship entity, a ship shrine is an enemy building that transports enemy entities from sea to the shores of the island.
createShip(AtlantisTerrainFactory) - Static method in class com.deco2800.game.entities.factories.BuildingFactory
Creates a ship entity, a ship shrine is an enemy building that transports enemy entities from sea to the shores of the island.
createSnake(AtlantisTerrainFactory) - Static method in class com.deco2800.game.entities.factories.EnemyFactory
Creates a Snake entity
createSoldier() - Static method in class com.deco2800.game.soldiers.factories.SoldierFactory
 
createSpearman() - Static method in class com.deco2800.game.soldiers.factories.SpearmanFactory
 
createStone() - Static method in class com.deco2800.game.worker.resources.StoneFactory
 
createSwordsman() - Static method in class com.deco2800.game.soldiers.factories.SwordsmanFactory
 
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.
createTitan(AtlantisTerrainFactory) - Static method in class com.deco2800.game.entities.factories.EnemyFactory
Creates a titan entity
createTitanShrine() - Static method in class com.deco2800.game.entities.factories.BuildingFactory
Creates a titan shrine entity, a titan shrine is an enemy building that spawns titan's.
createTownHall() - Static method in class com.deco2800.game.entities.factories.BuildingFactory
Creates entity, adds and configures TownHall components
createTrebuchet(Entity, GameArea) - Static method in class com.deco2800.game.entities.factories.BuildingFactory
Creates a trebuchet entity, a trebuchet is a friendly building that defends the shores of atlantis, it primarily attacks enemy transport ships.
createTree() - Static method in class com.deco2800.game.entities.factories.ObstacleFactory
Creates a tree entity.
createTree() - Static method in class com.deco2800.game.worker.resources.TreeFactory
 
createUnit(UnitType) - Static method in class com.deco2800.game.entities.factories.UnitFactory
 
createWall() - Static method in class com.deco2800.game.entities.factories.BuildingFactory
Creates a wall entity, adds and configures Wall components
createWall(float, float) - Static method in class com.deco2800.game.entities.factories.ObstacleFactory
Creates an invisible physics wall.
createWaterFeature() - Static method in class com.deco2800.game.entities.factories.CityFeatureFactory
Creates a water feature entity
createWolf(AtlantisTerrainFactory) - Static method in class com.deco2800.game.entities.factories.EnemyFactory
Creates a wolf entity
createWorker() - Static method in class com.deco2800.game.worker.WorkerFactory
Create a worker entity.
createWorkerBase() - Static method in class com.deco2800.game.worker.WorkerBaseFactory
 

D

damageAnimation - Class in com.deco2800.game.components.building
 
damageAnimation() - Constructor for class com.deco2800.game.components.building.damageAnimation
 
Damaged() - Method in class com.deco2800.game.components.building.damageAnimation
 
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
 
debugInfo - Static variable in class com.deco2800.game.areas.MapGenerator.pathBuilding.PathGenerator
 
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
 
decreaseHealth(int) - Method in class com.deco2800.game.components.CombatStatsComponent
 
DEFAULT - Enum constant in enum class com.deco2800.game.components.building.BuildingHealth
 
DEFAULT - Enum constant in enum class com.deco2800.game.components.EntityDirection
 
DEFAULT - Static variable in class com.deco2800.game.input.InputLayer
 
DEFAULT - Static variable in class com.deco2800.game.physics.PhysicsLayer
 
defaultAnimation() - Method in class com.deco2800.game.components.npc.EnemyAnimationController
Display default state enemy sprite
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
 
delay - Variable in class com.deco2800.game.utils.random.Timer
Initiating the delay variable.
destroyBody(Body) - Method in class com.deco2800.game.physics.PhysicsEngine
 
destroyJoint(Joint) - Method in class com.deco2800.game.physics.PhysicsEngine
 
DialogueBoxActions - Class in com.deco2800.game.components.maingame
Represents all actions bound to a dialogue box
DialogueBoxActions(UIComponent) - Constructor for class com.deco2800.game.components.maingame.DialogueBoxActions
 
dialogueBoxDisplay - Variable in class com.deco2800.game.areas.TutorialGameArea
dialogue box
DialogueBoxDisplay - Class in com.deco2800.game.components.maingame
Represents a Dialogue Box to be displayed randomly
DialogueBoxDisplay() - Constructor for class com.deco2800.game.components.maingame.DialogueBoxDisplay
 
didHit - Variable in class com.deco2800.game.physics.raycast.SingleHitCallback
 
DirectionalBuildingAnimationController - Class in com.deco2800.game.components.building
Some buildings face different direction, as such they will have animation in different directions, this component accounts for these cases and handles animations and states just for these buildings.
DirectionalBuildingAnimationController() - Constructor for class com.deco2800.game.components.building.DirectionalBuildingAnimationController
 
disableInputType(int) - Method in class com.deco2800.game.input.InputService
disable specific type(s) of input - depends on correct registration NB - it is recommended that you do not disable the default input class
display - Variable in class com.deco2800.game.screens.TutorialScreen
 
display() - Method in class com.deco2800.game.map.MapComponent
 
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.AtlantisGameArea
 
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.MapGenerator.FloodingGenerator
Remove the entity from the game.
dispose() - Method in class com.deco2800.game.areas.terrain.MinimapComponent
 
dispose() - Method in class com.deco2800.game.areas.terrain.TerrainComponent
 
dispose() - Method in class com.deco2800.game.areas.TutorialGameArea
 
dispose() - Method in class com.deco2800.game.components.buildingmenu.BuildingMenuButton
 
dispose() - Method in class com.deco2800.game.components.buildingmenu.BuildingMenuDisplay
 
dispose() - Method in class com.deco2800.game.components.Component
Called when the component is disposed.
dispose() - Method in class com.deco2800.game.components.endgame.EndGameDisplay
 
dispose() - Method in class com.deco2800.game.components.floodtimer.FloodTimerDisplay
 
dispose() - Method in class com.deco2800.game.components.friendly.TroopContainerComponent
 
dispose() - Method in class com.deco2800.game.components.friendlyunits.gamearea.GameAreaDisplay
 
dispose() - Method in class com.deco2800.game.components.friendlyunits.gamearea.PerformanceDisplay
 
dispose() - Method in class com.deco2800.game.components.HealthBarComponent
 
dispose() - Method in class com.deco2800.game.components.LoadingBar
 
dispose() - Method in class com.deco2800.game.components.maingame.DialogueBoxDisplay
 
dispose() - Method in class com.deco2800.game.components.maingame.Explosion
 
dispose() - Method in class com.deco2800.game.components.maingame.InfoBoxDisplay
 
dispose() - Method in class com.deco2800.game.components.maingame.MainGameExitDisplay
 
dispose() - Method in class com.deco2800.game.components.maingame.SpellUI
 
dispose() - Method in class com.deco2800.game.components.mainmenu.MainMenuDisplay
 
dispose() - Method in class com.deco2800.game.components.pausemenu.PauseMenuDisplay
 
dispose() - Method in class com.deco2800.game.components.player.PlayerStatsDisplay
 
dispose() - Method in class com.deco2800.game.components.resources.ResourceCountDisplay
 
dispose() - Method in class com.deco2800.game.components.settingsmenu.SettingsMenuDisplay
 
dispose() - Method in class com.deco2800.game.components.soldiermenu.SoldierMenuButton
 
dispose() - Method in class com.deco2800.game.components.story.StoryDisplay
 
dispose() - Method in class com.deco2800.game.components.tutorial.TutorialDisplay
 
dispose() - Method in class com.deco2800.game.components.weather.WeatherIconDisplay
Removes the weather icon from the screen when called.
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.map.MapComponent
 
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.EndGameScreen
 
dispose() - Method in class com.deco2800.game.screens.LoadingScreen
 
dispose() - Method in class com.deco2800.game.screens.MainGameScreen
 
dispose() - Method in class com.deco2800.game.screens.MainMenuScreen
 
dispose() - Method in class com.deco2800.game.screens.SettingsScreen
 
dispose() - Method in class com.deco2800.game.screens.StoryScreen
 
dispose() - Method in class com.deco2800.game.screens.TutorialScreen
 
dispose() - Method in class com.deco2800.game.services.ResourceService
 
dispose() - Method in class com.deco2800.game.ui.terminal.TerminalDisplay
 
dispose() - Method in class com.deco2800.game.worker.components.duration.DurationBarUiComponent
 
disposeFloodedSquares() - Method in class com.deco2800.game.areas.MapGenerator.MapGenerator
Iterates through the game resources and removes entities that have been flooded.
distanceBetweenWorldPositions(Vector2, Vector2) - Method in class com.deco2800.game.components.maingame.SpellUI
 
DOWN - Static variable in class com.deco2800.game.utils.math.Vector2Utils
 
draw(Batch, float) - Method in class com.deco2800.game.components.floodtimer.FloodTimer
 
draw(Batch, float) - Method in class com.deco2800.game.components.weather.WeatherIcon
Draws the weather layout to the game screen.
draw(SpriteBatch) - Method in class com.deco2800.game.areas.terrain.MinimapComponent
 
draw(SpriteBatch) - Method in class com.deco2800.game.areas.terrain.TerrainComponent
 
draw(SpriteBatch) - Method in class com.deco2800.game.components.buildingmenu.BuildingMenuButton
 
draw(SpriteBatch) - Method in class com.deco2800.game.components.buildingmenu.BuildingMenuDisplay
 
draw(SpriteBatch) - Method in class com.deco2800.game.components.BuildingUIDataComponent
Draw the render-able.
draw(SpriteBatch) - Method in class com.deco2800.game.components.endgame.EndGameDisplay
 
draw(SpriteBatch) - Method in class com.deco2800.game.components.floodtimer.FloodTimerDisplay
Draws to the terminal.
draw(SpriteBatch) - Method in class com.deco2800.game.components.friendlyunits.AvatarIconComponent
 
draw(SpriteBatch) - Method in class com.deco2800.game.components.friendlyunits.gamearea.GameAreaDisplay
 
draw(SpriteBatch) - Method in class com.deco2800.game.components.friendlyunits.gamearea.PerformanceDisplay
 
draw(SpriteBatch) - Method in class com.deco2800.game.components.friendlyunits.GestureDisplay
 
draw(SpriteBatch) - Method in class com.deco2800.game.components.HealthBarComponent
 
draw(SpriteBatch) - Method in class com.deco2800.game.components.LoadingBar
 
draw(SpriteBatch) - Method in class com.deco2800.game.components.maingame.DialogueBoxDisplay
Query current sizing of window and UI items and size/position appropriately
draw(SpriteBatch) - Method in class com.deco2800.game.components.maingame.InfoBoxDisplay
 
draw(SpriteBatch) - Method in class com.deco2800.game.components.maingame.MainGameExitDisplay
 
draw(SpriteBatch) - Method in class com.deco2800.game.components.maingame.SpellUI
 
draw(SpriteBatch) - Method in class com.deco2800.game.components.mainmenu.MainMenuDisplay
 
draw(SpriteBatch) - Method in class com.deco2800.game.components.pausemenu.PauseMenuDisplay
 
draw(SpriteBatch) - Method in class com.deco2800.game.components.player.PlayerStatsDisplay
 
draw(SpriteBatch) - Method in class com.deco2800.game.components.resources.ResourceCountDisplay
 
draw(SpriteBatch) - Method in class com.deco2800.game.components.settingsmenu.SettingsMenuDisplay
 
draw(SpriteBatch) - Method in class com.deco2800.game.components.soldiermenu.SoldierMenuButton
 
draw(SpriteBatch) - Method in class com.deco2800.game.components.soldiermenu.SoldierMenuDisplay
 
draw(SpriteBatch) - Method in class com.deco2800.game.components.story.StoryDisplay
 
draw(SpriteBatch) - Method in class com.deco2800.game.components.tutorial.TutorialDisplay
 
draw(SpriteBatch) - Method in class com.deco2800.game.components.weather.WeatherIconDisplay
Draws to the terminal.
draw(SpriteBatch) - Method in class com.deco2800.game.rendering.AnimationRenderComponent
 
draw(SpriteBatch) - Method in class com.deco2800.game.rendering.HighlightedTextureRenderComponent
 
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
 
draw(SpriteBatch) - Method in class com.deco2800.game.worker.components.duration.DurationBarUiComponent
 
draw(String, String) - Method in class com.deco2800.game.components.mainmenu.InsertButtons
 
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
drawPoints - Variable in class com.deco2800.game.components.building.TextureScaler
 
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
drawTextureBox(SpriteBatch) - Method in class com.deco2800.game.rendering.TextureRenderComponent
Draws a square around the area enclosed by the texture - for debugging
drawTextureBox(List<Vector2>, List<Vector2>, SpriteBatch) - Method in class com.deco2800.game.rendering.TextureRenderComponent
Debug function which draws a box around an entity with a TextureRenderComponent
DurationBar - Class in com.deco2800.game.worker.components.duration
 
DurationBar(int, int) - Constructor for class com.deco2800.game.worker.components.duration.DurationBar
 
DurationBarComponent - Class in com.deco2800.game.worker.components.duration
 
DurationBarComponent() - Constructor for class com.deco2800.game.worker.components.duration.DurationBarComponent
 
DurationBarFactory - Class in com.deco2800.game.worker.components.duration
 
DurationBarFactory() - Constructor for class com.deco2800.game.worker.components.duration.DurationBarFactory
 
DurationBarUiComponent - Class in com.deco2800.game.worker.components.duration
 
DurationBarUiComponent() - Constructor for class com.deco2800.game.worker.components.duration.DurationBarUiComponent
 

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.components.friendly.TroopContainerComponent
 
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.
EAST - Enum constant in enum class com.deco2800.game.components.EntityDirection
 
enabled - Variable in class com.deco2800.game.components.Component
 
enableInputType(int) - Method in class com.deco2800.game.input.InputService
enable specific type(s) of input
endContact(Contact) - Method in class com.deco2800.game.physics.PhysicsContactListener
 
ENDGAME - Enum constant in enum class com.deco2800.game.GdxGame.ScreenType
 
EndGameActions - Class in com.deco2800.game.components.endgame
 
EndGameActions(GdxGame) - Constructor for class com.deco2800.game.components.endgame.EndGameActions
 
EndGameDisplay - Class in com.deco2800.game.components.endgame
 
EndGameDisplay() - Constructor for class com.deco2800.game.components.endgame.EndGameDisplay
 
EndGameScreen - Class in com.deco2800.game.screens
 
EndGameScreen(GdxGame) - Constructor for class com.deco2800.game.screens.EndGameScreen
 
ENEMY - Enum constant in enum class com.deco2800.game.components.EntityType
 
EnemyAnimationController - Class in com.deco2800.game.components.npc
This class listens to events relevant to enemy entity's state and plays the animation when one of the events is triggered.
EnemyAnimationController() - Constructor for class com.deco2800.game.components.npc.EnemyAnimationController
 
EnemyConfigs - Class in com.deco2800.game.entities.configs
Defines all NPC configs to be loaded by the NPC Factory.
EnemyConfigs() - Constructor for class com.deco2800.game.entities.configs.EnemyConfigs
 
EnemyDetectionComponent - Class in com.deco2800.game.worker.components
 
EnemyDetectionComponent() - Constructor for class com.deco2800.game.worker.components.EnemyDetectionComponent
 
EnemyEntity - Class in com.deco2800.game.entities
 
EnemyEntity() - Constructor for class com.deco2800.game.entities.EnemyEntity
 
EnemyFactory - Class in com.deco2800.game.entities.factories
Factory to create non-playable character (NPC) entities with predefined components.
EnemyMovement - Class in com.deco2800.game.components.tasks
AI task to handle enemy movement
EnemyMovement(AtlantisTerrainFactory) - Constructor for class com.deco2800.game.components.tasks.EnemyMovement
Creates an EnemyMovement instance.
EnemySignal - Class in com.deco2800.game.components.enemy
 
EnemySignal() - Constructor for class com.deco2800.game.components.enemy.EnemySignal
 
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
 
EntityDirection - Enum Class in com.deco2800.game.components
Enumeration used to represent compass direction of enemy entities.
EntityDirectionComponent - Class in com.deco2800.game.components
Used to keep record of the position that moving units such as enemies, friendlies and workers, it uses an EnemyDirection enumeration class for each compass direction and EnemyDirection.DEFAULT which is only set upon initialising the class, this to stop avoid using null for direction when component is first initialised.
EntityDirectionComponent() - Constructor for class com.deco2800.game.components.EntityDirectionComponent
 
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
 
EntityType - Enum Class in com.deco2800.game.components
 
equals(Object) - Method in class com.deco2800.game.areas.MapGenerator.Buildings.BuildingSpecification
 
equals(Object) - Method in class com.deco2800.game.areas.MapGenerator.Buildings.CityRow
 
equals(Object) - Method in class com.deco2800.game.areas.MapGenerator.Coordinate
Coordinates are equal if their x and y values coincide.
equals(Object) - Method in class com.deco2800.game.areas.MapGenerator.ResourceSpecification
Returns true if this ResourceSpecification is equal to the passed object For two ResourceSpecifications to be equal they must have the same: - Name - Width - Height - Amount - Preferred distance - Placements
equals(Object) - Method in class com.deco2800.game.entities.Entity
 
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
EventListener4<T0,T1,T2,T4> - Interface in com.deco2800.game.events.listeners
An event listener with 4 arguments
example - Variable in class com.deco2800.game.entities.configs.UnitConfigs
 
exit() - Method in class com.deco2800.game.GdxGame
Exit the game.
Explosion - Class in com.deco2800.game.components.maingame
 
Explosion() - Constructor for class com.deco2800.game.components.maingame.Explosion
 
EXTERNAL - Enum constant in enum class com.deco2800.game.files.FileLoader.Location
 

F

faceEast() - Method in class com.deco2800.game.physics.components.PhysicsMovementComponent
Changes the direction to face east and trigger that respective animation on the condition that the previous recorded direction is not east.
faceNorth() - Method in class com.deco2800.game.physics.components.PhysicsMovementComponent
Changes the direction to face north and trigger that respective animation on the condition that the previous recorded direction is not north.
faceSouth() - Method in class com.deco2800.game.physics.components.PhysicsMovementComponent
Changes the direction to face south and trigger that respective animation on the condition that the previous recorded direction is not south.
faceWest() - Method in class com.deco2800.game.physics.components.PhysicsMovementComponent
Changes the direction to face west and trigger that respective animation on the condition that the previous recorded direction is not west.
FAILED - Enum constant in enum class com.deco2800.game.ai.tasks.Task.Status
 
farm - Variable in class com.deco2800.game.entities.configs.BuildingConfigs
 
FARM - Enum constant in enum class com.deco2800.game.components.building.Building
 
FarmConfig - Class in com.deco2800.game.entities.configs
Defines the farm properties stored in config file to be loaded by the Building Factory.
FarmConfig() - Constructor for class com.deco2800.game.entities.configs.FarmConfig
 
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
 
FindPath - Class in com.deco2800.game.areas.MapGenerator.pathBuilding
 
FindPath(PathGenerator) - Constructor for class com.deco2800.game.areas.MapGenerator.pathBuilding.FindPath
Constructs an instance of FindPath.
findPathBetween(GridPoint2, GridPoint2) - Method in class com.deco2800.game.areas.MapGenerator.pathBuilding.FindPath
Finds a path between two points using BFS search.
FINISHED - Enum constant in enum class com.deco2800.game.ai.tasks.Task.Status
 
FIX_AMOUNT - Static variable in class com.deco2800.game.worker.components.BuildingFixComponent
 
fixture - Variable in class com.deco2800.game.physics.raycast.RaycastHit
Fixture which was hit.
flashTiles() - Method in class com.deco2800.game.areas.MapGenerator.MapGenerator
Given a coordinate (x, y), update the internal representation of the map to flood that tile.
flashTiles() - Method in class com.deco2800.game.areas.terrain.AtlantisTerrainFactory
Updates the structure and rendering to show flashing tiles before flooding.
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
flood() - Method in class com.deco2800.game.areas.AtlantisGameArea
 
flood() - Method in class com.deco2800.game.areas.MapGenerator.MapGenerator
Floods selected tiles
FloodingGenerator - Class in com.deco2800.game.areas.MapGenerator
 
FloodingGenerator(AtlantisTerrainFactory, AtlantisGameArea) - Constructor for class com.deco2800.game.areas.MapGenerator.FloodingGenerator
Creates the entity that manages flooding for the game.
floodTiles() - Method in class com.deco2800.game.areas.terrain.AtlantisTerrainFactory
Updates the structure and rendering to show flooding.
FloodTimer - Class in com.deco2800.game.components.floodtimer
 
FloodTimer() - Constructor for class com.deco2800.game.components.floodtimer.FloodTimer
 
FloodTimerDisplay - Class in com.deco2800.game.components.floodtimer
 
FloodTimerDisplay(FloodingGenerator) - Constructor for class com.deco2800.game.components.floodtimer.FloodTimerDisplay
 
ForagerAnimationController - Class in com.deco2800.game.worker.components
 
ForagerAnimationController() - Constructor for class com.deco2800.game.worker.components.ForagerAnimationController
 
ForagerComponent - Class in com.deco2800.game.worker.components.type
 
ForagerComponent() - Constructor for class com.deco2800.game.worker.components.type.ForagerComponent
 
ForagerFactory - Class in com.deco2800.game.worker.type
 
ForagerFactory() - Constructor for class com.deco2800.game.worker.type.ForagerFactory
 
forEach(Consumer<? super V>) - Method in class com.deco2800.game.utils.SortedIntMap
 
FOREST_DEMO - Enum constant in enum class com.deco2800.game.areas.terrain.TerrainFactory.TerrainType
 
FOREST_DEMO_HEX - Enum constant in enum class com.deco2800.game.areas.terrain.TerrainFactory.TerrainType
 
FOREST_DEMO_ISO - Enum constant in enum class com.deco2800.game.areas.terrain.TerrainFactory.TerrainType
 
ForestGameArea - Class in com.deco2800.game.areas
Forest area for the demo game with trees, a player, and some enemies.
ForestGameArea(TerrainFactory) - Constructor for class com.deco2800.game.areas.ForestGameArea
 
forestTextureAtlases - Static variable in class com.deco2800.game.areas.AtlantisGameArea
 
forestTextureAtlases - Static variable in class com.deco2800.game.areas.TutorialGameArea
 
forestTextures - Static variable in class com.deco2800.game.areas.AtlantisGameArea
 
fps - Variable in class com.deco2800.game.files.UserSettings.Settings
FPS cap of the game.
FRIENDLY - Enum constant in enum class com.deco2800.game.components.EntityType
 
FRIENDLY - Static variable in class com.deco2800.game.input.InputLayer
 
FriendlyComponent - Class in com.deco2800.game.components.friendly
Component to indicate that this Entity is friendly - used by the gate to distinguish friendly entities.
FriendlyComponent() - Constructor for class com.deco2800.game.components.friendly.FriendlyComponent
 
friendlyId - Variable in class com.deco2800.game.components.friendly.FriendlyComponent
 
FULL_HEALTH - Enum constant in enum class com.deco2800.game.components.building.BuildingHealth
 
fullscreen - Variable in class com.deco2800.game.files.UserSettings.Settings
 

G

GAME - Static variable in class com.deco2800.game.input.InputLayer
 
GAME_STORY - Enum constant in enum class com.deco2800.game.GdxGame.ScreenType
 
gameArea - Static variable in class com.deco2800.game.services.ServiceLocator
 
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.friendlyunits.gamearea
Displays the name of the current game area.
GameAreaDisplay(String) - Constructor for class com.deco2800.game.components.friendlyunits.gamearea.GameAreaDisplay
 
GameAreaEventService - Class in com.deco2800.game.areas
A global event handler for the game, this can be used to invoke events that trigger functions dependent on access to objects in the game area, for example, spawning units and buildings.
GameAreaEventService() - Constructor for class com.deco2800.game.areas.GameAreaEventService
 
GameTime - Class in com.deco2800.game.services
Controls the game time
GameTime() - Constructor for class com.deco2800.game.services.GameTime
 
GATE_EW - Enum constant in enum class com.deco2800.game.components.building.Building
 
GATE_NS - Enum constant in enum class com.deco2800.game.components.building.Building
 
GATE_SCALE - Static variable in class com.deco2800.game.entities.factories.BuildingFactory
 
GateCollider - Class in com.deco2800.game.components.building
 
GateCollider() - Constructor for class com.deco2800.game.components.building.GateCollider
 
gateOpen - Variable in class com.deco2800.game.components.building.GateCollider
 
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
 
generateMap() - Method in class com.deco2800.game.areas.MapGenerator.MapGenerator
Adds the ocean and island tiles to the MapGenerator's map
GestureDisplay - Class in com.deco2800.game.components.friendlyunits
 
GestureDisplay() - Constructor for class com.deco2800.game.components.friendlyunits.GestureDisplay
 
get() - Static method in class com.deco2800.game.files.UserSettings
Get the stored user settings
get(int) - Method in class com.deco2800.game.utils.SortedIntMap
Get value from map
getActive() - Method in class com.deco2800.game.rendering.DebugRenderer
 
getAllEntityPositions() - Method in class com.deco2800.game.map.MapService
Returns a map of all entities to the positions they occupy.
getAmount() - Method in class com.deco2800.game.areas.MapGenerator.ResourceSpecification
Returns the amount of this resource to add to the game
getAnimation() - Method in class com.deco2800.game.components.building.HealthAnimation
 
getAsset() - Method in class com.deco2800.game.components.TextureImageComponent
Returns the UI display texture of the building
getAsset(String, Class<T>) - Method in class com.deco2800.game.services.ResourceService
Load an asset from a file
getBase() - Method in class com.deco2800.game.worker.components.BuildingFixComponent
Gets the base entity.
getBase() - Method in class com.deco2800.game.worker.components.EnemyDetectionComponent
Gets the base entity.
getBase() - Method in class com.deco2800.game.worker.components.ResourceCollectComponent
Gets the base entity.
getBaseAttack() - Method in class com.deco2800.game.components.CombatStatsComponent
Returns the entity's base attack damage.
getBaseDefence() - Method in class com.deco2800.game.components.CombatStatsComponent
Returns the entity's base defence.
getBlendMode() - Method in class com.deco2800.game.areas.terrain.TerrainTile
 
getBody() - Method in class com.deco2800.game.physics.components.PhysicsComponent
Get the physics body.
getBottomLeftX() - Method in class com.deco2800.game.areas.MapGenerator.MapGenerator
 
getBottomLeftY() - Method in class com.deco2800.game.areas.MapGenerator.MapGenerator
 
getBufferPositions() - Method in class com.deco2800.game.areas.MapGenerator.pathBuilding.PathGenerator
Returns all positions the path cannot be.
getBuildings() - Method in class com.deco2800.game.areas.MapGenerator.Buildings.BuildingGenerator
Returns a copy of this BuildingGenerator's buildingspec list
getBuildings() - Method in class com.deco2800.game.areas.MapGenerator.Buildings.CityRow
Returns a copy of this CityRow's building list
getCamera() - Method in class com.deco2800.game.components.CameraComponent
 
getCamera() - Method in class com.deco2800.game.entities.EntityService
Finds the game camera which is registered with an entity in the EntityService, and returns it.
getCamera() - Method in class com.deco2800.game.rendering.Renderer
 
getCameraComponent() - Method in class com.deco2800.game.areas.terrain.AtlantisTerrainFactory
Getter for the CameraComponent of this class
getCameraComponent() - Method in class com.deco2800.game.areas.terrain.TerrainFactory
 
getCenterPosition() - Method in class com.deco2800.game.entities.Entity
Get the entity's center position
getCharMap() - Method in class com.deco2800.game.areas.MapGenerator.Buildings.BuildingGenerator
Returns char char array of the current city contents in the CityRows
getCity() - Method in class com.deco2800.game.areas.MapGenerator.pathBuilding.PathGenerator
Returns the city as an array.
getCityBuffer() - Method in class com.deco2800.game.areas.MapGenerator.Buildings.BuildingGenerator
Returns the number of tiles buildings are placed from each other.
getCityCenter(AtlantisTerrainFactory) - Static method in class com.deco2800.game.areas.RandomPointGenerator
Get the centre of the city as a GridPoint2
getCityChar() - Method in class com.deco2800.game.areas.MapGenerator.MapGenerator
Returns the current char representing a city tile
getCityDetails() - Method in class com.deco2800.game.areas.MapGenerator.MapGenerator
Returns details about the city's extremities
getCityHeight() - Method in class com.deco2800.game.areas.MapGenerator.Buildings.BuildingGenerator
Gets the city height.
getCityHeight() - Method in class com.deco2800.game.areas.MapGenerator.MapGenerator
 
getCityRows() - Method in class com.deco2800.game.areas.MapGenerator.Buildings.BuildingGenerator
Returns a copy of this BuildingGenerators CityRow list - used to find building placements
getCityWidth() - Method in class com.deco2800.game.areas.MapGenerator.Buildings.BuildingGenerator
Gets the city width.
getCityWidth() - Method in class com.deco2800.game.areas.MapGenerator.MapGenerator
 
getCollectionAmount() - Method in class com.deco2800.game.worker.components.CollectStatsComponent
Returns the amount which entity can collect.
getCollidedIds() - Method in class com.deco2800.game.components.building.GateCollider
Returns a copy of the collided allies list - used for unit testing
getColour() - Method in class com.deco2800.game.map.MapComponent
 
getComponent(Class<T>) - Method in class com.deco2800.game.entities.Entity
Get a component of type T on the entity.
getCurrentAnimation() - Method in class com.deco2800.game.rendering.AnimationRenderComponent
Get the name of the animation currently being played.
getCurrentIndex() - Method in class com.deco2800.game.components.weather.WeatherIcon
Getter method to access the current index of the Weather Icon.
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
 
getDestinationPoint() - Method in class com.deco2800.game.components.tasks.EnemyMovement
Returns the destination point of entity
getDoor() - Method in class com.deco2800.game.areas.MapGenerator.Buildings.Building
Returns the building coordinates of the door.
getDoor() - Method in class com.deco2800.game.areas.MapGenerator.Buildings.BuildingSpecification
 
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.
getEntity() - Method in class com.deco2800.game.components.maingame.Explosion
 
getEntityAt(GridPoint2) - Method in class com.deco2800.game.map.MapService
Gets the entity at the given position.
getEntityBounds() - Method in class com.deco2800.game.worker.components.movement.WorkerInputComponent
Return a Rectangle which represents the region in the game occupied by the entity.
getEntityByID(int) - Method in class com.deco2800.game.areas.AtlantisGameArea
Gets the entity(ies) in the area which match the given id.
getEntityDirection() - Method in class com.deco2800.game.components.EntityDirectionComponent
Returns the direction the unit is facing in
getEntityName() - Method in class com.deco2800.game.entities.Entity
 
getEntityOccupiedPositions() - Method in class com.deco2800.game.map.MapService
Returns a map of positions to entities.
getEntityService() - Static method in class com.deco2800.game.services.ServiceLocator
 
getEventHandler() - Method in class com.deco2800.game.areas.GameAreaEventService
 
getEvents() - Method in class com.deco2800.game.entities.Entity
Get the event handler attached to this entity.
getFilterLocation() - Method in enum class com.deco2800.game.components.weather.WeatherIconProperties
Access filter location for a weather type.
getFixture() - Method in class com.deco2800.game.physics.components.ColliderComponent
 
getFlagStatus() - Method in class com.deco2800.game.utils.random.Timer
Updates flags and returns them.
getFlashChar() - Method in class com.deco2800.game.areas.MapGenerator.MapGenerator
Returns the current char representing a flashing tile.
getFormation(Vector2, float, int) - Static method in class com.deco2800.game.components.friendly.TroopContainerComponent
Finds the formation of the troops around a point
getFrom(Class<? extends Component>) - Static method in class com.deco2800.game.components.ComponentType
 
getGameArea() - Static method in class com.deco2800.game.services.ServiceLocator
 
getGameAreaEventHandler() - Method in class com.deco2800.game.areas.AtlantisGameArea
 
getGameAreaEventService() - Static method in class com.deco2800.game.services.ServiceLocator
 
getGameTime() - Method in class com.deco2800.game.services.GameTime
 
getGold() - Method in class com.deco2800.game.components.player.InventoryComponent
Returns the player's gold.
getHealth() - Method in class com.deco2800.game.components.building.HealthAnimation
 
getHealth() - Method in class com.deco2800.game.components.CombatStatsComponent
Returns the entity's health.
getHeight() - Method in class com.deco2800.game.areas.MapGenerator.Buildings.Building
Returns height of building
getHeight() - Method in class com.deco2800.game.areas.MapGenerator.Buildings.BuildingSpecification
 
getHeight() - Method in class com.deco2800.game.areas.MapGenerator.Buildings.CityRow
 
getHeight() - Method in class com.deco2800.game.areas.MapGenerator.MapGenerator
Returns the current map height
getHeight() - Method in class com.deco2800.game.areas.MapGenerator.ResourceSpecification
Returns the height of this resource (in tiles)
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.friendly.FriendlyComponent
Returns unique identifier ID for this friendly unit
getId() - Method in class com.deco2800.game.entities.Entity
This entity's unique ID.
getImageLocation() - Method in enum class com.deco2800.game.components.weather.WeatherIconProperties
Access image location for a weather type.
getIndex() - Method in class com.deco2800.game.areas.MapGenerator.Buildings.CityRow
 
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
 
getIsArcher() - Method in class com.deco2800.game.soldiers.type.ArcherComponent
 
getIsBase() - Method in class com.deco2800.game.worker.components.type.BaseComponent
 
getIsBuilder() - Method in class com.deco2800.game.worker.components.type.BuilderComponent
 
getIsEnemy() - Method in class com.deco2800.game.components.enemy.EnemySignal
 
getIsForager() - Method in class com.deco2800.game.worker.components.type.ForagerComponent
 
getIsHoplite() - Method in class com.deco2800.game.soldiers.type.HopliteComponent
 
getIslandChar() - Method in class com.deco2800.game.areas.MapGenerator.MapGenerator
Returns the current char representing an island tile
getIslandEdges() - Method in class com.deco2800.game.areas.MapGenerator.MapGenerator
Returns a map containing the coordinates of each island edge
getIslandExtremities() - Method in class com.deco2800.game.areas.MapGenerator.MapGenerator
Finds the y-coordinate of the extremities of the island.
getIslandSize() - Method in class com.deco2800.game.areas.MapGenerator.MapGenerator
Returns the island size associated with the current map
getIslandTiles() - Method in class com.deco2800.game.map.MapService
Returns a list of island tile positions.
getIsMiner() - Method in class com.deco2800.game.worker.components.type.MinerComponent
 
getIsSpearman() - Method in class com.deco2800.game.soldiers.type.SpearmanComponent
 
getIsStone() - Method in class com.deco2800.game.worker.components.type.StoneComponent
 
getIsSwordsman() - Method in class com.deco2800.game.soldiers.type.SwordsmanComponent
 
getIsTree() - Method in class com.deco2800.game.worker.components.type.TreeComponent
 
getLandSpeed() - Method in class com.deco2800.game.components.CombatStatsComponent
Returns the land movement speed of the unit
getLayer() - Method in class com.deco2800.game.areas.terrain.MinimapComponent
Minimap instantiated on layer 2 to draw over terrain and player
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
 
getLegalCoordinates() - Method in class com.deco2800.game.areas.MapGenerator.MapGenerator
 
getLevel() - Method in class com.deco2800.game.components.building.BuildingActions
 
getMap() - Method in class com.deco2800.game.areas.MapGenerator.MapGenerator
Returns a copy of this MapGenerator's map array
getMap() - Method in class com.deco2800.game.areas.terrain.TerrainComponent
 
getMapBounds(int) - Method in class com.deco2800.game.areas.terrain.TerrainComponent
 
getMapComponents() - Method in class com.deco2800.game.map.MapService
Returns all registered entities.
getMapGenerator() - Method in class com.deco2800.game.areas.terrain.AtlantisTerrainFactory
Getter for the MapGenerator of this class
getMapGenerator() - Method in class com.deco2800.game.areas.terrain.TerrainFactory
 
getMapService() - Static method in class com.deco2800.game.services.ServiceLocator
 
getMaxAmount() - Method in class com.deco2800.game.areas.MapGenerator.ResourceSpecification
Returns the maximum amount of this resource that can be added to the game
getMaxHealth() - Method in class com.deco2800.game.components.CombatStatsComponent
Get's the entity's maximum health.
getMetal() - Method in class com.deco2800.game.worker.components.type.BaseComponent
 
getMetal() - Method in class com.deco2800.game.worker.components.WorkerInventoryComponent
Returns the amount of metal in the inventory
getMinAmount() - Method in class com.deco2800.game.areas.MapGenerator.ResourceSpecification
Returns the minimum amount of this resource that can be added to the game
getMovementSpeed() - Method in class com.deco2800.game.components.weather.WeatherIcon
Getter method to obtain the movement speed factor.
getMovementTask() - Method in class com.deco2800.game.components.friendlyunits.task.UnitIdleTask
Return the current movement task
getMovementTask() - Method in class com.deco2800.game.soldiers.movement.SoldierIdleTask
Return the current movement task
getMovementTask() - Method in class com.deco2800.game.worker.components.movement.WorkerIdleTask
Return the current movement task
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.areas.MapGenerator.Buildings.Building
Returns the name of this building
getName() - Method in class com.deco2800.game.areas.MapGenerator.Buildings.BuildingSpecification
 
getName() - Method in class com.deco2800.game.areas.MapGenerator.ResourceSpecification
Returns the name of the resource
getName() - Method in class com.deco2800.game.map.MapComponent
 
getNum() - Method in class com.deco2800.game.areas.MapGenerator.Buildings.BuildingSpecification
 
getObjects() - Method in class com.deco2800.game.areas.terrain.TerrainTile
Not required for game, unimplemented
getOceanChar() - Method in class com.deco2800.game.areas.MapGenerator.MapGenerator
Returns the current char representing an ocean tile
getOffsetX() - Method in class com.deco2800.game.areas.terrain.TerrainTile
 
getOffsetY() - Method in class com.deco2800.game.areas.terrain.TerrainTile
 
getOutlineMap() - Method in class com.deco2800.game.areas.MapGenerator.MapGenerator
Returns a copy of this MapGenerator's outline map
getPath(GridPoint2) - Method in class com.deco2800.game.areas.MapGenerator.pathBuilding.FindPath
Finds a path between two points using BFS search.
getPath(GridPoint2, GridPoint2) - Method in class com.deco2800.game.map.MapService
Finds a path between two points using BFS search.
getPath(MapComponent, GridPoint2) - Method in class com.deco2800.game.map.MapService
Returns the shortest path to a goal, or throws an exception if the goal is invalid.
getPathGenerator() - Method in class com.deco2800.game.areas.MapGenerator.Buildings.BuildingGenerator
Returns the PathGenerator instance.
getPathTile() - Method in class com.deco2800.game.areas.MapGenerator.pathBuilding.PathGenerator
Returns the path tile character.
getPhysics() - Method in class com.deco2800.game.physics.components.PhysicsComponent
 
getPhysics() - Method in class com.deco2800.game.physics.PhysicsService
 
getPhysicsService() - Static method in class com.deco2800.game.services.ServiceLocator
 
getPlacement() - Method in class com.deco2800.game.areas.MapGenerator.Buildings.Building
Returns the placement of this building
getPlacements() - Method in class com.deco2800.game.areas.MapGenerator.ResourceSpecification
Getter method to return all the tile locations that this resource has been placed at
getPosition() - Method in class com.deco2800.game.components.building.TextureScaler
Returns the Gridpoint2 (x,y) position of this entity tile wise
getPosition() - Method in class com.deco2800.game.entities.Entity
Get the entity's game position.
getPotentialPlacements() - Method in class com.deco2800.game.areas.MapGenerator.ResourceSpecification
Getter method to return all the tile locations that this resource may be placed at
getPreferredDistance() - Method in class com.deco2800.game.areas.MapGenerator.ResourceSpecification
Returns the preferredDistance of this resource from the city centre
getPriority() - Method in interface com.deco2800.game.ai.tasks.PriorityTask
 
getPriority() - Method in class com.deco2800.game.components.friendlyunits.task.UnitIdleTask
 
getPriority() - Method in class com.deco2800.game.components.tasks.AIHorizontalMovement
 
getPriority() - Method in class com.deco2800.game.components.tasks.AIVerticalMovementTask
 
getPriority() - Method in class com.deco2800.game.components.tasks.ChaseTask
 
getPriority() - Method in class com.deco2800.game.components.tasks.EnemyMovement
Returns priority of task
getPriority() - Method in class com.deco2800.game.components.tasks.rangedAttackTask
 
getPriority() - Method in class com.deco2800.game.components.tasks.WanderTask
 
getPriority() - Method in class com.deco2800.game.input.InputComponent
 
getPriority() - Method in class com.deco2800.game.soldiers.movement.SoldierIdleTask
 
getPriority() - Method in class com.deco2800.game.worker.components.movement.WorkerIdleTask
 
getPriority() - Method in class com.deco2800.game.worker.resources.CampSpawnStones
 
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
getRandomItem(List<T>) - Static method in class com.deco2800.game.utils.random.PseudoRandom
This method selects an item from a list by pseudo-randomly generating an integer between 0 and the length of the list, and returning the element at this index.
getRandomPointInIsland(AtlantisTerrainFactory, int) - Static method in class com.deco2800.game.areas.RandomPointGenerator
Gets a position to deploy entities on the island, the range value is to choose a point such that the entity being placed fits in only island tiles and doesn't end up being spawned at the edges.
getRandomPointInRange(AtlantisTerrainFactory, double) - Static method in class com.deco2800.game.areas.RandomPointGenerator
Finds a random point within a certain range of the city centre, based on the scale used.
getRandomPointInSea(AtlantisTerrainFactory, int) - Static method in class com.deco2800.game.areas.RandomPointGenerator
Gets a position to deploy entities in the sea, the range value is to choose a point such that the entity being placed fits in only sea tiles and doesn't end up being spawned at the edges.
getRange() - Method in class com.deco2800.game.components.CombatStatsComponent
Returns the attack range for unit
getRawDeltaTime() - Method in class com.deco2800.game.services.GameTime
 
getRemainingPlacements() - Method in class com.deco2800.game.areas.MapGenerator.ResourceSpecification
Returns how many more of this resource must be placed by the ResourceGenerator
getRenderService() - Static method in class com.deco2800.game.services.ServiceLocator
 
getRescaledBottomRightCorner(AtlantisTerrainFactory, double) - Static method in class com.deco2800.game.areas.RandomPointGenerator
Gets the bottom-right corner of the city map after re-scaling
getRescaledHeight(AtlantisTerrainFactory, double) - Static method in class com.deco2800.game.areas.RandomPointGenerator
Gets the re-scaled height of the city map
getRescaledTopLeftCorner(AtlantisTerrainFactory, double) - Static method in class com.deco2800.game.areas.RandomPointGenerator
Gets the top-left corner of the city map after re-scaling
getRescaledWidth(AtlantisTerrainFactory, double) - Static method in class com.deco2800.game.areas.RandomPointGenerator
Gets the re-scaled width of the city map
getResourcePlacements() - Method in class com.deco2800.game.areas.MapGenerator.MapGenerator
Returns the list of resourceSpecification, holding the placements of each placed resource
getResources() - Method in class com.deco2800.game.areas.MapGenerator.ResourceGenerator
Returns the list of resources - which contain their map placements.
getResourceService() - Static method in class com.deco2800.game.services.ServiceLocator
 
getResourcesFromBase(ResourceStatsComponent) - Method in class com.deco2800.game.worker.components.BuildingFixComponent
Loads the collected resources to the base.
getRightWallBuffer() - Method in class com.deco2800.game.areas.MapGenerator.Buildings.BuildingGenerator
Returns the number of tiles buildings are placed from the right wall.
getRowBuffer() - Method in class com.deco2800.game.areas.MapGenerator.Buildings.BuildingGenerator
Returns the number of tiles buildings are placed from each other on the y axis.
getRowWidth() - Method in class com.deco2800.game.areas.MapGenerator.Buildings.CityRow
 
getScale() - Method in class com.deco2800.game.entities.Entity
Get the entity's scale.
getSpaceRemaining() - Method in class com.deco2800.game.areas.MapGenerator.Buildings.CityRow
 
getSpeedFactor() - Method in enum class com.deco2800.game.components.weather.WeatherIconProperties
Access speed factor for a weather type.
getStage() - Method in class com.deco2800.game.rendering.Renderer
 
getStage() - Method in class com.deco2800.game.rendering.RenderService
 
getStartPos() - Method in class com.deco2800.game.components.tasks.EnemyMovement
Returns the starting position upon spawning of entity
getStatus() - Method in class com.deco2800.game.ai.tasks.DefaultTask
 
getStatus() - Method in interface com.deco2800.game.ai.tasks.Task
Get the current status of the task.
getStone() - Method in class com.deco2800.game.worker.components.type.BaseComponent
 
getStone() - Method in class com.deco2800.game.worker.components.WorkerInventoryComponent
Returns the amount of stone in the inventory
getTarget() - Method in interface com.deco2800.game.ai.movement.MovementController
 
getTarget() - Method in class com.deco2800.game.physics.components.PhysicsMovementComponent
 
getTextureOG() - Method in class com.deco2800.game.rendering.TextureRenderComponent
 
getTextureRegion() - Method in class com.deco2800.game.areas.terrain.TerrainTile
 
getTileHeight() - Method in class com.deco2800.game.components.building.TextureScaler
Returns the height of this entity in tiles
getTileSize() - Method in class com.deco2800.game.areas.terrain.TerrainComponent
 
getTileWidth() - Method in class com.deco2800.game.components.building.TextureScaler
Returns the width of this entity in tiles
getTime() - Method in class com.deco2800.game.services.GameTime
 
getTimer() - Method in class com.deco2800.game.components.weather.WeatherIconDisplay
Getter method to get the timer object associated with the WeatherDisplay.
getTimerCountdown() - Method in class com.deco2800.game.components.weather.WeatherIconDisplay
Getter method to get the timer countdown associated with the object.
getTimerLabel() - Method in class com.deco2800.game.components.weather.WeatherIcon
Getter method to obtain the timer label.
getTimeSince(long) - Method in class com.deco2800.game.services.GameTime
 
getTimeSource() - Static method in class com.deco2800.game.services.ServiceLocator
 
getTotalPlacements() - Method in class com.deco2800.game.areas.MapGenerator.Buildings.CityRow
Returns the total amount of buildings placed in this row
getTroops() - Method in class com.deco2800.game.components.CombatStatsComponent
Returns number of troops the unit has
getType() - Method in class com.deco2800.game.components.building.BuildingActions
 
getVisible() - Method in class com.deco2800.game.components.HealthBarComponent
 
getWallBuffer() - Method in class com.deco2800.game.areas.MapGenerator.Buildings.BuildingGenerator
Returns the number of tiles buildings are placed from the wall.
getWeatherIcon() - Method in class com.deco2800.game.components.weather.WeatherIconDisplay
Getter method to get the WeatherIcon associated with the object.
getWeatherIconProperties() - Method in class com.deco2800.game.components.weather.WeatherIcon
Getter method to obtain WeatherIconProperties.
getWidth() - Method in class com.deco2800.game.areas.MapGenerator.Buildings.Building
Returns width of building
getWidth() - Method in class com.deco2800.game.areas.MapGenerator.Buildings.BuildingSpecification
 
getWidth() - Method in class com.deco2800.game.areas.MapGenerator.MapGenerator
Returns the current map width
getWidth() - Method in class com.deco2800.game.areas.MapGenerator.ResourceSpecification
Returns the width of this resource (in tiles)
getWood() - Method in class com.deco2800.game.worker.components.type.BaseComponent
 
getWood() - Method in class com.deco2800.game.worker.components.WorkerInventoryComponent
Returns the amount of wood in the inventory
getWorld() - Method in class com.deco2800.game.physics.PhysicsEngine
 
getX() - Method in class com.deco2800.game.areas.MapGenerator.Coordinate
Getter function to return the x value of this coordinate
getY() - Method in class com.deco2800.game.areas.MapGenerator.Coordinate
Getter function to return the y value of this coordinate
getZIndex() - Method in class com.deco2800.game.areas.terrain.MinimapComponent
Gets Z index of Minimap - 0 (higher Z in layer 1 drawn on top)
getZIndex() - Method in class com.deco2800.game.areas.terrain.TerrainComponent
 
getZIndex() - Method in class com.deco2800.game.components.friendlyunits.gamearea.PerformanceDisplay
 
getZIndex() - Method in class com.deco2800.game.components.HealthBarComponent
 
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.pausemenu.PauseMenuDisplay
 
getZIndex() - Method in class com.deco2800.game.components.story.StoryDisplay
 
getZIndex() - Method in class com.deco2800.game.components.tutorial.TutorialDisplay
 
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
 
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
 
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
 
globalFriendlyId - Static variable in class com.deco2800.game.components.friendly.FriendlyComponent
 
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.

H

HALF_HEALTH - Enum constant in enum class com.deco2800.game.components.building.BuildingHealth
 
HalfDamaged() - Method in class com.deco2800.game.components.building.damageAnimation
 
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
 
handle(T0, T1, T2, T4) - Method in interface com.deco2800.game.events.listeners.EventListener4
 
handleBackspace() - Method in class com.deco2800.game.ui.terminal.Terminal
Removes the last character of the entered message.
hasAnimation(String) - Method in class com.deco2800.game.rendering.AnimationRenderComponent
Whether the animator has added the given animation.
hasEvent(String) - Method in class com.deco2800.game.events.EventHandler
 
hasGold(int) - Method in class com.deco2800.game.components.player.InventoryComponent
Returns if the player has a certain amount of gold.
hashCode() - Method in class com.deco2800.game.areas.MapGenerator.Buildings.BuildingSpecification
 
hashCode() - Method in class com.deco2800.game.areas.MapGenerator.Buildings.CityRow
 
hashCode() - Method in class com.deco2800.game.areas.MapGenerator.Coordinate
 
hashCode() - Method in class com.deco2800.game.areas.MapGenerator.ResourceSpecification
 
hashCode() - Method in class com.deco2800.game.entities.Entity
 
hasMetal(int) - Method in class com.deco2800.game.worker.components.WorkerInventoryComponent
Returns if the entity has a certain amount of metal.
hasStone(int) - Method in class com.deco2800.game.worker.components.WorkerInventoryComponent
Returns if the entity has a certain amount of stone.
hasWood(int) - Method in class com.deco2800.game.worker.components.WorkerInventoryComponent
Returns if the entity has a certain amount of wood.
health - Variable in class com.deco2800.game.components.building.HealthAnimation
 
health - Variable in class com.deco2800.game.entities.configs.BaseEntityConfig
 
health - Variable in class com.deco2800.game.entities.configs.BaseUnitConfig
 
HealthAnimation - Class in com.deco2800.game.components.building
 
HealthAnimation() - Constructor for class com.deco2800.game.components.building.HealthAnimation
 
HealthBarComponent - Class in com.deco2800.game.components
The Health Bar Component can be added to entities This component will display the health under the entity The health is specified by the combat stats component
HealthBarComponent(EntityType) - Constructor for class com.deco2800.game.components.HealthBarComponent
Health bar will display health of entity in game.
height - Variable in class com.deco2800.game.files.UserSettings.DisplaySettings
 
HEXAGONAL - Enum constant in enum class com.deco2800.game.areas.terrain.TerrainComponent.TerrainOrientation
 
hide() - Method in class com.deco2800.game.components.maingame.DialogueBoxDisplay
Make invisible if not already
hideHealthBar() - Method in class com.deco2800.game.components.HealthBarComponent
Hides health bar
HighlightedTextureRenderComponent - Class in com.deco2800.game.rendering
Render a static texture.
HighlightedTextureRenderComponent(Texture) - Constructor for class com.deco2800.game.rendering.HighlightedTextureRenderComponent
 
HighlightedTextureRenderComponent(String) - Constructor for class com.deco2800.game.rendering.HighlightedTextureRenderComponent
 
hit - Variable in class com.deco2800.game.physics.raycast.SingleHitCallback
 
hit(CombatStatsComponent) - Method in class com.deco2800.game.components.CombatStatsComponent
Manages the entity being hit by an attacking enemy.
HitboxComponent - Class in com.deco2800.game.physics.components
Physics comp
HitboxComponent() - Constructor for class com.deco2800.game.physics.components.HitboxComponent
 
hoplite - Variable in class com.deco2800.game.entities.configs.UnitConfigs
 
HOPLITE - Enum constant in enum class com.deco2800.game.entities.UnitType
 
HopliteAnimationController - Class in com.deco2800.game.components.friendlyunits.controller
 
HopliteAnimationController - Class in com.deco2800.game.soldiers.animation
 
HopliteAnimationController() - Constructor for class com.deco2800.game.components.friendlyunits.controller.HopliteAnimationController
 
HopliteAnimationController() - Constructor for class com.deco2800.game.soldiers.animation.HopliteAnimationController
 
HopliteComponent - Class in com.deco2800.game.soldiers.type
 
HopliteComponent() - Constructor for class com.deco2800.game.soldiers.type.HopliteComponent
 
HopliteFactory - Class in com.deco2800.game.soldiers.factories
 

I

ifPaused() - Method in class com.deco2800.game.input.CameraInputComponent
 
ifPaused() - Static method in class com.deco2800.game.services.GameTime
 
IllegalEntityPlacementException - Exception in com.deco2800.game.map.util
 
IllegalEntityPlacementException() - Constructor for exception com.deco2800.game.map.util.IllegalEntityPlacementException
 
IN_USE - Static variable in class com.deco2800.game.input.InputLayer
 
INACTIVE - Enum constant in enum class com.deco2800.game.ai.tasks.Task.Status
 
inBounds(int, int) - Method in class com.deco2800.game.areas.MapGenerator.Coordinate
Returns whether a coord is in map bounds
inBounds(MapGenerator) - Method in class com.deco2800.game.areas.MapGenerator.Coordinate
Returns whether a coord is in map bounds of the specified MapGenerator
incNumPlaced() - Method in class com.deco2800.game.areas.MapGenerator.Buildings.BuildingSpecification
Increments the amount of buildings counter
incrementLevel() - Method in class com.deco2800.game.components.building.BuildingActions
Increases level by 1
inEntityBounds(float, float) - Method in class com.deco2800.game.worker.components.movement.WorkerInputComponent
Determines if a given point (x,y) is within the entity's bounds
InfoBoxDisplay - Class in com.deco2800.game.components.maingame
 
InfoBoxDisplay() - Constructor for class com.deco2800.game.components.maingame.InfoBoxDisplay
 
initCompletionValues() - Method in class com.deco2800.game.utils.random.Timer
Initialize delay intervals.
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
InputLayer - Class in com.deco2800.game.input
 
InputLayer() - Constructor for class com.deco2800.game.input.InputLayer
 
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
 
InsertButtons - Class in com.deco2800.game.components.mainmenu
 
InsertButtons() - Constructor for class com.deco2800.game.components.mainmenu.InsertButtons
 
INTERNAL - Enum constant in enum class com.deco2800.game.files.FileLoader.Location
 
Interrupt - Class in com.deco2800.game.utils.random
 
Interrupt(int, int) - Constructor for class com.deco2800.game.utils.random.Interrupt
set the interrupt with lower bound and upper bound.
InventoryComponent - Class in com.deco2800.game.components.player
A component intended to be used by the player to track their inventory.
InventoryComponent(int) - Constructor for class com.deco2800.game.components.player.InventoryComponent
 
isAnimationRenderComponent() - Method in class com.deco2800.game.components.Component
 
isAtTarget() - Method in class com.deco2800.game.components.tasks.MovementTask
 
isDead() - Method in class com.deco2800.game.components.CombatStatsComponent
Returns true if the entity's has 0 health, otherwise false.
isDead() - Method in class com.deco2800.game.worker.components.ResourceStatsComponent
Returns true if the entity has 0 wood and 0 stone and 0 metal, otherwise false.
isDisplay() - Method in class com.deco2800.game.map.MapComponent
 
isFinished() - Method in class com.deco2800.game.components.building.ConstructionInputComponent
Flag for the calling ConstructionCommand that this building placement is done.
isFinished() - Method in class com.deco2800.game.rendering.AnimationRenderComponent
Has the playing animation finished? This will always be false for looping animations.
isFinished() - Method in class com.deco2800.game.ui.terminal.commands.ConstructionCommand
 
isGateOpen() - Method in class com.deco2800.game.components.building.GateCollider
Returns the status of the gate
isHidden() - Method in class com.deco2800.game.components.maingame.DialogueBoxDisplay
Query if the dialogue box is currently invisible
isHovered() - Method in class com.deco2800.game.components.friendlyunits.SelectableComponent
 
isIdling() - Method in class com.deco2800.game.components.friendlyunits.task.UnitIdleTask
Return whether the worker is currently idling.
isIdling() - Method in class com.deco2800.game.soldiers.movement.SoldierIdleTask
Return whether the worker is currently idling.
isIdling() - Method in class com.deco2800.game.worker.components.movement.WorkerIdleTask
Return whether the worker is currently idling.
isIn(int, int) - Method in class com.deco2800.game.components.friendlyunits.SelectableComponent
Called when a single click form the player happens.
isLoaded() - Method in class com.deco2800.game.components.LoadingBar
 
isMaxHealth() - Method in class com.deco2800.game.components.CombatStatsComponent
 
isMoving() - Method in class com.deco2800.game.components.friendlyunits.task.UnitMovementTask
 
isMoving() - Method in class com.deco2800.game.soldiers.movement.SoldierMovementTask
 
isMoving() - Method in class com.deco2800.game.worker.components.movement.WorkerMovementTask
 
isOccupied(GridPoint2) - Method in class com.deco2800.game.map.MapService
Returns true if position is occupied by an entity, else false.
isOcean(GridPoint2) - Method in class com.deco2800.game.areas.AtlantisGameArea
Lets us check whether a tile is in the ocean
ISOMETRIC - Enum constant in enum class com.deco2800.game.areas.terrain.TerrainComponent.TerrainOrientation
 
isOpen() - Method in class com.deco2800.game.ui.terminal.Terminal
 
isRegionClear(PolygonShape) - Method in class com.deco2800.game.areas.AtlantisGameArea
Check that a shape would not collide with any placed entities
isSelected - Static variable in class com.deco2800.game.components.BuildingUIDataComponent
 
isSelected() - Method in class com.deco2800.game.components.friendlyunits.SelectableComponent
 
isSelected() - Method in class com.deco2800.game.worker.components.movement.WorkerInputComponent
Return whether the entity is selected or not
isTimerExpired() - Method in class com.deco2800.game.utils.random.Timer
Checking whether if the timer is already expired or not.
isWall(Building) - Static method in class com.deco2800.game.components.building.BuildingActions
Used for determining if an entity is a wall
iterator() - Method in class com.deco2800.game.utils.SortedIntMap
 

J

JobSystem - Class in com.deco2800.game.concurrency
A job system provides a general-purpose way to run multi-threaded code.

K

KEYBOARD - Enum constant in enum class com.deco2800.game.input.InputFactory.InputType
 
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.
keyDown(int) - Method in class com.deco2800.game.worker.components.movement.WorkerInputComponent
Deselects worker when ESC key is pressed.
keyTyped(char) - Method in class com.deco2800.game.input.InputComponent
 
keyTyped(char) - Method in class com.deco2800.game.input.InputDecorator
 
keyTyped(char) - Method in class com.deco2800.game.input.InputService
Iterates over registered input handlers in descending priority and stops as soon as the input is processed
keyTyped(char) - Method in class com.deco2800.game.ui.terminal.KeyboardTerminalInputComponent
Handles input if the terminal is open.
keyTyped(char) - Method in class com.deco2800.game.ui.terminal.TouchTerminalInputComponent
Handles input if the terminal is open.
keyUp(int) - Method in class com.deco2800.game.components.player.KeyboardPlayerInputComponent
Triggers player events on specific keycodes.
keyUp(int) - Method in class com.deco2800.game.components.player.TouchPlayerInputComponent
Triggers player events on specific keycodes.
keyUp(int) - Method in class com.deco2800.game.input.InputComponent
 
keyUp(int) - Method in class com.deco2800.game.input.InputDecorator
 
keyUp(int) - Method in class com.deco2800.game.input.InputService
Iterates over registered input handlers in descending priority and stops as soon as the input is processed
keyUp(int) - Method in class com.deco2800.game.ui.terminal.KeyboardTerminalInputComponent
Handles input if the terminal is open.
keyUp(int) - Method in class com.deco2800.game.ui.terminal.TouchTerminalInputComponent
Handles input if the terminal is open.

L

landSpeed - Variable in class com.deco2800.game.entities.configs.BaseUnitConfig
 
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
 
layout() - Method in class com.deco2800.game.components.floodtimer.FloodTimer
 
layout() - Method in class com.deco2800.game.components.weather.WeatherIcon
Sets the layout of the weather, displaying the weather icon and the filter for a given index.
LEFT - Enum constant in enum class com.deco2800.game.physics.components.PhysicsComponent.AlignX
 
LEFT - Static variable in class com.deco2800.game.utils.math.Vector2Utils
 
legalCoordinates - Variable in class com.deco2800.game.areas.MapGenerator.MapGenerator
Stores legal coordinates for players to move to.
level - Variable in class com.deco2800.game.entities.configs.BarracksConfig
 
level - Variable in class com.deco2800.game.entities.configs.BlacksmithConfig
 
level - Variable in class com.deco2800.game.entities.configs.FarmConfig
 
level - Variable in class com.deco2800.game.entities.configs.LibraryConfig
 
level - Variable in class com.deco2800.game.entities.configs.ShipConfig
 
level - Variable in class com.deco2800.game.entities.configs.TitanShrineConfig
 
level - Variable in class com.deco2800.game.entities.configs.TownHallConfig
 
level - Variable in class com.deco2800.game.entities.configs.TrebuchetConfig
 
level - Variable in class com.deco2800.game.entities.configs.WallConfig
 
library - Variable in class com.deco2800.game.entities.configs.BuildingConfigs
 
LIBRARY - Enum constant in enum class com.deco2800.game.components.building.Building
 
LibraryConfig - Class in com.deco2800.game.entities.configs
Defines the Library properties stored in config file to be loaded by the Building Factory.
LibraryConfig() - Constructor for class com.deco2800.game.entities.configs.LibraryConfig
 
linePoints - Variable in class com.deco2800.game.components.building.TextureScaler
 
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.
LOADING - Enum constant in enum class com.deco2800.game.GdxGame.ScreenType
 
LoadingBar - Class in com.deco2800.game.components
 
LoadingBar() - Constructor for class com.deco2800.game.components.LoadingBar
 
LoadingScreen - Class in com.deco2800.game.screens
 
LoadingScreen(GdxGame) - Constructor for class com.deco2800.game.screens.LoadingScreen
 
loadMusic(String[]) - Method in class com.deco2800.game.services.ResourceService
Loads a list of music assets into the asset manager.
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.
loadToBase(ResourceStatsComponent) - Method in class com.deco2800.game.worker.components.ResourceCollectComponent
Loads the collected resources to the base.
LOCAL - Enum constant in enum class com.deco2800.game.files.FileLoader.Location
 
localRemove() - Method in class com.deco2800.game.components.building.ShopUIFunctionalityComponent
 
longPress(float, float) - Method in class com.deco2800.game.input.InputComponent
 
longPress(float, float) - Method in class com.deco2800.game.input.InputService
Iterates over registered input handlers in descending priority and stops as soon as the input is processed

M

MAIN_GAME - Enum constant in enum class com.deco2800.game.GdxGame.ScreenType
 
MAIN_MENU - Enum constant in enum class com.deco2800.game.GdxGame.ScreenType
 
MainGameActions - Class in com.deco2800.game.components.maingame
This class listens to events relevant to the Main Game Screen and does something when one of the events is triggered.
MainGameActions(GdxGame) - Constructor for class com.deco2800.game.components.maingame.MainGameActions
 
MainGameExitDisplay - Class in com.deco2800.game.components.maingame
Displays a button to exit the Main Game screen to the Main Menu screen.
MainGameExitDisplay() - Constructor for class com.deco2800.game.components.maingame.MainGameExitDisplay
 
MainGameScreen - Class in com.deco2800.game.screens
The game screen containing the main game.
MainGameScreen(GdxGame) - Constructor for class com.deco2800.game.screens.MainGameScreen
 
MainMenuActions - Class in com.deco2800.game.components.mainmenu
This class listens to events relevant to the Main Menu Screen and does something when one of the events is triggered.
MainMenuActions(GdxGame) - Constructor for class com.deco2800.game.components.mainmenu.MainMenuActions
 
MainMenuDisplay - Class in com.deco2800.game.components.mainmenu
A ui component for displaying the Main menu.
MainMenuDisplay() - Constructor for class com.deco2800.game.components.mainmenu.MainMenuDisplay
 
MainMenuScreen - Class in com.deco2800.game.screens
The game screen containing the main menu.
MainMenuScreen(GdxGame) - Constructor for class com.deco2800.game.screens.MainMenuScreen
 
makeMapGenerator() - Static method in class com.deco2800.game.areas.terrain.AtlantisTerrainFactory
Returns a new MapGenerator with identical parameters as the one created for the game - used in testing the consistency of the MapGenerator
MAP_TILE_SCALE - Static variable in class com.deco2800.game.areas.terrain.AtlantisTerrainFactory
 
MapComponent - Class in com.deco2800.game.map
If entity has a MapComponent they are added to the map.
MapComponent() - Constructor for class com.deco2800.game.map.MapComponent
 
MapGenerator - Class in com.deco2800.game.areas.MapGenerator
MapGenerator builds a procedurally generated map of desired mapWidth, mapHeight, including an island of islandSize width containing a city of citySize square length.
MapGenerator(int, int, int, int, int) - Constructor for class com.deco2800.game.areas.MapGenerator.MapGenerator
Initiates a new instance of MapGenerator, with a map width, height, citySize and islandSize
MapService - Class in com.deco2800.game.map
Stores all game entity positions.
MapService() - Constructor for class com.deco2800.game.map.MapService
 
MAX - Static variable in class com.deco2800.game.utils.math.Vector2Utils
 
metal - Variable in class com.deco2800.game.worker.resources.ResourceConfig
 
metal - Variable in class com.deco2800.game.worker.WorkerConfig
 
METAL_REQUIRED - Static variable in class com.deco2800.game.worker.components.BuildingFixComponent
 
MIN - Static variable in class com.deco2800.game.utils.math.Vector2Utils
 
MinerAnimationController - Class in com.deco2800.game.worker.components
 
MinerAnimationController() - Constructor for class com.deco2800.game.worker.components.MinerAnimationController
 
MinerComponent - Class in com.deco2800.game.worker.components.type
 
MinerComponent() - Constructor for class com.deco2800.game.worker.components.type.MinerComponent
 
MinerFactory - Class in com.deco2800.game.worker.type
 
MinerFactory() - Constructor for class com.deco2800.game.worker.type.MinerFactory
 
MinimapComponent - Class in com.deco2800.game.areas.terrain
 
MinimapComponent(TiledMap, OrthographicCamera) - Constructor for class com.deco2800.game.areas.terrain.MinimapComponent
Create a new MinimapComponent, with a TiledMap to render and the game's camera
MiningCampFactory - Class in com.deco2800.game.worker.resources
 
MiningCampFactory() - Constructor for class com.deco2800.game.worker.resources.MiningCampFactory
 
MouseInputComponent - Class in com.deco2800.game.components.friendlyunits
 
MouseInputComponent() - Constructor for class com.deco2800.game.components.friendlyunits.MouseInputComponent
Controls the input of the mouse, whether it be clicked or clicked and dragged so that when the player does so, a trigger is sent to the Selectable component with the location and type of click movement
mouseMoved(int, int) - Method in class com.deco2800.game.components.building.ConstructionInputComponent
 
mouseMoved(int, int) - Method in class com.deco2800.game.components.friendlyunits.MouseInputComponent
 
mouseMoved(int, int) - Method in class com.deco2800.game.components.player.TouchPlayerInputComponent
 
mouseMoved(int, int) - Method in class com.deco2800.game.input.CameraInputComponent
 
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
moveLocation(int, int) - Method in class com.deco2800.game.components.friendlyunits.SelectableComponent
 
MovementController - Interface in com.deco2800.game.ai.movement
A movement controller moves something to a given a target.
movementRadius - Variable in class com.deco2800.game.entities.configs.BaseUnitConfig
 
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
 
multipleHover(int, int, int, int) - Method in class com.deco2800.game.components.friendlyunits.SelectableComponent
 
multipleSelect(int, int, int, int) - Method in class com.deco2800.game.components.friendlyunits.SelectableComponent
 

N

noDisplay() - Method in class com.deco2800.game.map.MapComponent
 
NoEntityException - Exception in com.deco2800.game.map.util
 
NoEntityException() - Constructor for exception com.deco2800.game.map.util.NoEntityException
 
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.
NORTH - Enum constant in enum class com.deco2800.game.components.EntityDirection
 
NPC - Static variable in class com.deco2800.game.physics.PhysicsLayer
 
numRemaining() - Method in class com.deco2800.game.areas.MapGenerator.Buildings.BuildingSpecification
Returns the number of buildings still to be placed
numToBuild() - Method in class com.deco2800.game.areas.MapGenerator.Buildings.BuildingSpecification
Returns the number of buildings to place in the game.

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.
OccupiedTileException - Exception in com.deco2800.game.map.util
 
OccupiedTileException() - Constructor for exception com.deco2800.game.map.util.OccupiedTileException
 
onCollisionEnd(Fixture, Fixture) - Method in class com.deco2800.game.components.building.GateCollider
Handles the end of collision of two physics Fixtures: if an allied unit has left the gate, reduce the number of allies in contact with the gate, if no allies are in contact, close it.
onCollisionStart(Fixture, Fixture) - Method in class com.deco2800.game.components.building.GateCollider
Handles the collision of two physics Fixtures: if an allied unit collides with the gate, open it
ONE - Static variable in class com.deco2800.game.utils.math.Vector2Utils
 
onUnitSpawn() - Method in class com.deco2800.game.components.building.ShopUIFunctionalityComponent
Spawns units in the city centre.
onUnitUpgrade() - Method in class com.deco2800.game.components.building.ShopUIFunctionalityComponent
Upgrades soldier units.
onWallUpgrade() - Method in class com.deco2800.game.components.building.ShopUIFunctionalityComponent
Upgrades all game walls.
ORTHOGONAL - Enum constant in enum class com.deco2800.game.areas.terrain.TerrainComponent.TerrainOrientation
 
OutOfBoundsException - Exception in com.deco2800.game.map.util
 
OutOfBoundsException() - Constructor for exception com.deco2800.game.map.util.OutOfBoundsException
 
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
PathGenerator - Class in com.deco2800.game.areas.MapGenerator.pathBuilding
Generates paths between buildings using a blind search algorithm.
PathGenerator(BuildingGenerator) - Constructor for class com.deco2800.game.areas.MapGenerator.pathBuilding.PathGenerator
Constructs a PathGenerator class with a building buffer of 3
PathGenerator(BuildingGenerator, int) - Constructor for class com.deco2800.game.areas.MapGenerator.pathBuilding.PathGenerator
Contructs a PathGenerator and generates paths between buildings.
pause() - Method in class com.deco2800.game.screens.MainGameScreen
 
pause() - Method in class com.deco2800.game.screens.MainMenuScreen
 
pause() - Method in class com.deco2800.game.screens.TutorialScreen
 
paused() - Method in class com.deco2800.game.services.GameTime
Pauses the game
PauseMenuActions - Class in com.deco2800.game.components.pausemenu
This class listens to events relevant to the Pause Menu overlay and does something when one of the events is triggered.
PauseMenuActions(GdxGame) - Constructor for class com.deco2800.game.components.pausemenu.PauseMenuActions
 
PauseMenuDisplay - Class in com.deco2800.game.components.pausemenu
A ui component for displaying the Pause menu.
PauseMenuDisplay(GdxGame) - Constructor for class com.deco2800.game.components.pausemenu.PauseMenuDisplay
 
PerformanceDisplay - Class in com.deco2800.game.components.friendlyunits.gamearea
Displays performance stats about the game for debugging purposes.
PerformanceDisplay() - Constructor for class com.deco2800.game.components.friendlyunits.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
Initialising the PhysicsMovementComponent by default.
PhysicsMovementComponent(Vector2) - Constructor for class com.deco2800.game.physics.components.PhysicsMovementComponent
Creates an entity that have a base speed.
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
 
pickTilesToFlood(boolean[][], int, int) - Method in class com.deco2800.game.areas.MapGenerator.MapGenerator
Randomly selects tiles to be flooded on next flooding event.
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() - Constructor for class com.deco2800.game.components.player.PlayerActions
 
PlayerConfig - Class in com.deco2800.game.entities.configs
Defines the properties stored in player config files to be loaded by the Player Factory.
PlayerConfig() - Constructor for class com.deco2800.game.entities.configs.PlayerConfig
 
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
 
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.
PseudoRandom - Class in com.deco2800.game.utils.random
This class provides an API for seeding Pseduo-Generated Random features.
PseudoRandom() - Constructor for class com.deco2800.game.utils.random.PseudoRandom
 
put(int, V) - Method in class com.deco2800.game.utils.SortedIntMap
Put key, value pair in map

R

RAINY - Enum constant in enum class com.deco2800.game.components.weather.WeatherIconProperties
 
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
 
randomlySelectTileToMoveTo(GridPoint2) - Method in class com.deco2800.game.areas.terrain.AtlantisTerrainFactory
Randomly selects a tile for a unit to roam to.
RandomPointGenerator - Class in com.deco2800.game.areas
Class used to spawn a random point within a certain range of the city center
RandomPointGenerator() - Constructor for class com.deco2800.game.areas.RandomPointGenerator
 
randomUnitNumberGenerator() - Static method in class com.deco2800.game.utils.random.PseudoRandom
This method generates a pseudo-randomly generated number between 0 and 1.
RandomUtils - Class in com.deco2800.game.utils.math
 
range - Variable in class com.deco2800.game.entities.configs.BaseUnitConfig
 
range - Variable in class com.deco2800.game.entities.configs.TrebuchetConfig
 
rangedAttackTask - Class in com.deco2800.game.components.tasks
Attacks a target entity when it gets close to the enemy.
rangedAttackTask(Entity, float, int, float) - Constructor for class com.deco2800.game.components.tasks.rangedAttackTask
 
RangedUnitConfig - Class in com.deco2800.game.entities.configs
 
RangedUnitConfig() - Constructor for class com.deco2800.game.entities.configs.RangedUnitConfig
 
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(InputComponent, int) - Method in class com.deco2800.game.input.InputService
 
register(MapComponent) - Method in class com.deco2800.game.map.MapService
Registers an entity with the MapService.
register(Renderable) - Method in class com.deco2800.game.rendering.RenderService
Register a new renderable.
registerEntityService(EntityService) - Static method in class com.deco2800.game.services.ServiceLocator
 
registerGameArea(AtlantisGameArea) - Static method in class com.deco2800.game.services.ServiceLocator
 
registerGameAreaEventService(GameAreaEventService) - Static method in class com.deco2800.game.services.ServiceLocator
 
registerInputService(InputService) - Static method in class com.deco2800.game.services.ServiceLocator
 
registerMapDetails(int, int, float) - Method in class com.deco2800.game.map.MapService
Registers relevant map details with MapService
registerMapService(MapService) - 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() - Method in class com.deco2800.game.components.BuildingUIDataComponent
 
removeAnimation(String) - Method in class com.deco2800.game.rendering.AnimationRenderComponent
Remove an animation from this animator.
removeButton() - Static method in class com.deco2800.game.components.building.ShopUIFunctionalityComponent
Removes the shop UI
render() - Method in class com.deco2800.game.rendering.Renderer
Render everything to the render service.
render(float) - Method in class com.deco2800.game.screens.EndGameScreen
 
render(float) - Method in class com.deco2800.game.screens.LoadingScreen
 
render(float) - Method in class com.deco2800.game.screens.MainGameScreen
 
render(float) - Method in class com.deco2800.game.screens.MainMenuScreen
 
render(float) - Method in class com.deco2800.game.screens.SettingsScreen
 
render(float) - Method in class com.deco2800.game.screens.StoryScreen
 
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
 
requestNewImage(int) - Method in class com.deco2800.game.components.floodtimer.FloodTimer
 
resetBuildings() - Method in class com.deco2800.game.areas.MapGenerator.Buildings.BuildingGenerator
 
resetFlags() - Method in class com.deco2800.game.areas.MapGenerator.FloodingGenerator
Sets all completion flags to false.
resetPlacements() - Method in class com.deco2800.game.areas.MapGenerator.Buildings.BuildingSpecification
 
resetPlacements() - Method in class com.deco2800.game.areas.MapGenerator.ResourceSpecification
Empties the placements and potential placements lists, when Map must be re-generated
resetRow() - Method in class com.deco2800.game.areas.MapGenerator.Buildings.CityRow
 
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.EndGameScreen
 
resize(int, int) - Method in class com.deco2800.game.screens.LoadingScreen
 
resize(int, int) - Method in class com.deco2800.game.screens.MainGameScreen
 
resize(int, int) - Method in class com.deco2800.game.screens.MainMenuScreen
 
resize(int, int) - Method in class com.deco2800.game.screens.SettingsScreen
 
resize(int, int) - Method in class com.deco2800.game.screens.StoryScreen
 
resize(int, int) - Method in class com.deco2800.game.screens.TutorialScreen
 
resize(int, int, float) - Method in class com.deco2800.game.components.CameraComponent
 
RESOURCE_NODE - Static variable in class com.deco2800.game.physics.PhysicsLayer
 
ResourceCollectComponent - Class in com.deco2800.game.worker.components
 
ResourceCollectComponent(short) - Constructor for class com.deco2800.game.worker.components.ResourceCollectComponent
Create a component which collects resources from entity on collision.
ResourceConfig - Class in com.deco2800.game.worker.resources
Defines the properties stored in player config files to be loaded by the Player Factory.
ResourceConfig() - Constructor for class com.deco2800.game.worker.resources.ResourceConfig
 
ResourceCountDisplay - Class in com.deco2800.game.components.resources
A UI component for displaying the current game resource count TODO: integrate with UnitInventoryComponent
ResourceCountDisplay() - Constructor for class com.deco2800.game.components.resources.ResourceCountDisplay
 
ResourceGenerator - Class in com.deco2800.game.areas.MapGenerator
Responsible for the procedural placement of a static collection of resources around the game map
ResourceGenerator(MapGenerator) - Constructor for class com.deco2800.game.areas.MapGenerator.ResourceGenerator
Constructs a new ResourceGenerator, provided the game's MapGenerator
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
 
resourceSetup() - Method in class com.deco2800.game.areas.MapGenerator.ResourceGenerator
Initialises the resource generator with the current game terrain map and city details
ResourceSpecification - Class in com.deco2800.game.areas.MapGenerator
 
ResourceSpecification(String, int, int, int, int, int) - Constructor for class com.deco2800.game.areas.MapGenerator.ResourceSpecification
Creates a new ResourceSpecification with desired placement information within the game
ResourceStatsComponent - Class in com.deco2800.game.worker.components
 
ResourceStatsComponent(int, int, int) - Constructor for class com.deco2800.game.worker.components.ResourceStatsComponent
 
resume() - Method in class com.deco2800.game.screens.MainGameScreen
 
resume() - Method in class com.deco2800.game.screens.MainMenuScreen
 
resume() - Method in class com.deco2800.game.screens.TutorialScreen
 
resumeGame() - Method in class com.deco2800.game.utils.random.Interrupt
Resume the game regardless if it is interrupted or not
returnToBase() - Method in class com.deco2800.game.worker.components.BuildingFixComponent
Directs the worker to the base after resource collection
returnToBase() - Method in class com.deco2800.game.worker.components.EnemyDetectionComponent
Directs the worker to the base after enemy detection
returnToBase(Entity) - Method in class com.deco2800.game.worker.components.ResourceCollectComponent
Directs the worker to the base after resource collection and update the base resource stats
RIGHT - Enum constant in enum class com.deco2800.game.physics.components.PhysicsComponent.AlignX
 
RIGHT - Static variable in class com.deco2800.game.utils.math.Vector2Utils
 

S

scaleEntity() - Method in class com.deco2800.game.rendering.AnimationRenderComponent
Scale the entity to a width of 1 and a height matching the texture's ratio
scaleEntity() - Method in class com.deco2800.game.rendering.TextureRenderComponent
Scale the entity to a width of 1 and a height matching the texture's ratio
scaleHeight(float) - Method in class com.deco2800.game.entities.Entity
Set the entity's height and scale the width to maintain aspect ratio.
scaleWidth(float) - Method in class com.deco2800.game.entities.Entity
Set the entity's width and scale the height to maintain aspect ratio.
screenToWorldPosition(int, int) - Method in class com.deco2800.game.components.friendlyunits.MouseInputComponent
Converts from screen coordinates to world coordinates, and returns them as a Vector2 (For friendly units).
screenToWorldPosition(int, int) - Method in class com.deco2800.game.components.friendlyunits.SelectableComponent
Turns a selected screen position to the world position
screenToWorldPosition(int, int) - Method in class com.deco2800.game.components.maingame.SpellUI
 
screenToWorldPosition(int, int) - Method in class com.deco2800.game.worker.components.movement.WorkerInputComponent
Converts from screen coordinates to world coordinates, and returns them as a Vector2.
scrolled(float, float) - Method in class com.deco2800.game.input.CameraInputComponent
Adjusts the camera zoom amount according to scroll speed.
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.
seedRandomDouble(double, double) - Static method in class com.deco2800.game.utils.random.PseudoRandom
This method generates pseudo-randomly generated floating point number between the specified lower-bound and upper-bound.
seedRandomInt(int, int) - Static method in class com.deco2800.game.utils.random.PseudoRandom
This method generates pseudo-randomly generated integers between the specified lowerBound and upperBound.
SelectableComponent - Class in com.deco2800.game.components.friendlyunits
 
SelectableComponent() - Constructor for class com.deco2800.game.components.friendlyunits.SelectableComponent
initializes component with unit not being selected
SelectionCollider - Class in com.deco2800.game.components.building
Used to set a precise selection hitbox on an Entity with a TextureRenderComponent
SelectionCollider() - Constructor for class com.deco2800.game.components.building.SelectionCollider
 
selectRandomTarget() - Method in class com.deco2800.game.components.tasks.EnemyMovement
 
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.
setAsCentredTile() - Method in class com.deco2800.game.physics.components.ColliderComponent
 
setAsRadius(float) - Method in class com.deco2800.game.physics.components.ColliderComponent
 
setAsRadius(float, Vector2) - Method in class com.deco2800.game.physics.components.ColliderComponent
 
setBaseAttack(int) - Method in class com.deco2800.game.components.CombatStatsComponent
Sets the entity's attack damage.
setBaseDefence(int) - Method in class com.deco2800.game.components.CombatStatsComponent
Sets the entity's defence from attacks.
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
setBuildingCoordinates(int, int) - Method in class com.deco2800.game.areas.MapGenerator.Buildings.CityRow
Updates the height of all buildings in the city row, after rows have been centred
setClosed() - Method in class com.deco2800.game.ui.terminal.Terminal
Closes the terminal and clears the stored message.
setCollectionAmount(int) - Method in class com.deco2800.game.worker.components.CollectStatsComponent
Sets the entity's collection amount.
setCurrentTask(Task) - Method in class com.deco2800.game.components.tasks.EnemyMovement
Sets the current task
setDebug(DebugRenderer) - Method in class com.deco2800.game.rendering.RenderService
 
setDensity(float) - Method in class com.deco2800.game.physics.components.ColliderComponent
Set density
setDestinationPoint(Vector2) - Method in class com.deco2800.game.components.tasks.EnemyMovement
Sets the destination point of entity
setDialogue(String) - Method in class com.deco2800.game.components.maingame.DialogueBoxDisplay
Set current dialogue text to be displayed
setDirectionEast() - Method in class com.deco2800.game.components.EntityDirectionComponent
Sets enemy direction to east
setDirectionNorth() - Method in class com.deco2800.game.components.EntityDirectionComponent
Sets enemy direction to north
setDirectionSouth() - Method in class com.deco2800.game.components.EntityDirectionComponent
Sets enemy direction to south
setDirectionWest() - Method in class com.deco2800.game.components.EntityDirectionComponent
Sets enemy direction to west
setDisplayColour(Color) - Method in class com.deco2800.game.map.MapComponent
 
setDuration(float) - Method in class com.deco2800.game.worker.components.duration.DurationBarUiComponent
 
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.
setEntityName(String) - Method in class com.deco2800.game.entities.Entity
 
setEntityType(EntityType) - Method in class com.deco2800.game.components.HealthBarComponent
 
setFlags() - Method in class com.deco2800.game.areas.MapGenerator.FloodingGenerator
Sets flags from the internal timer flags.
setFriction(float) - Method in class com.deco2800.game.physics.components.ColliderComponent
Set friction.
setGold(int) - Method in class com.deco2800.game.components.player.InventoryComponent
Sets the player's gold.
setHealth(int) - Method in class com.deco2800.game.components.CombatStatsComponent
Sets the entity's health.
setHeightAndWidth(float, float) - Method in class com.deco2800.game.worker.components.duration.DurationBarUiComponent
 
setId(int) - Method in class com.deco2800.game.areas.terrain.TerrainTile
 
setImage(String) - Method in class com.deco2800.game.components.maingame.DialogueBoxDisplay
Set current image to be displayed
setLandSpeed(float) - Method in class com.deco2800.game.components.CombatStatsComponent
Sets the land movement speed of unit
setLayer(short) - Method in class com.deco2800.game.physics.components.ColliderComponent
Set the collider layer, used in collision logic
setMapDetails(float, int, int) - Method in class com.deco2800.game.input.CameraInputComponent
Sets the tile size from a terrainComponent
setMaxHealth(int) - Method in class com.deco2800.game.components.CombatStatsComponent
Sets the entity's maximum health.
setMetal(int) - Method in class com.deco2800.game.worker.components.WorkerInventoryComponent
Sets the player's metal.
setMinimap(MinimapComponent) - Method in class com.deco2800.game.components.maingame.DialogueBoxDisplay
Set current minimap for reference
setMovementTask(MovementTask) - Method in class com.deco2800.game.components.tasks.EnemyMovement
Sets the movement task
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.map.MapComponent
 
setNewAmount() - Method in class com.deco2800.game.areas.MapGenerator.ResourceSpecification
Randomly sets a number of resources to add to the game based on maxAmount and minAmount
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.
setPlacement(Coordinate) - Method in class com.deco2800.game.areas.MapGenerator.Buildings.Building
Sets this building's placement to a desired coordinate
setPoints(float[]) - Method in class com.deco2800.game.components.building.SelectionCollider
 
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.
setPreciseScale(float, boolean) - Method in class com.deco2800.game.components.building.TextureScaler
Scales an entity with a TextureRenderComponent such that it occupies the desired number of tiles
setPriority(int) - Method in class com.deco2800.game.input.InputComponent
 
setRadiusCollider(Entity, float) - Static method in class com.deco2800.game.physics.PhysicsUtils
 
setRange(int) - Method in class com.deco2800.game.components.CombatStatsComponent
Sets the attack range for a unit
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
 
setScaledColliderCentered(Entity, float, float) - Static method in class com.deco2800.game.physics.PhysicsUtils
 
setScaledRadius(Entity, 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
setSpawnPoint(GridPoint2, TerrainComponent) - Method in class com.deco2800.game.components.building.TextureScaler
 
setSpawnPoint(GridPoint2, TerrainComponent, Vector2) - Method in class com.deco2800.game.components.building.TextureScaler
 
setStage(Stage) - Method in class com.deco2800.game.rendering.RenderService
 
setStartPos(Vector2) - Method in class com.deco2800.game.components.tasks.EnemyMovement
Sets the starting position of entity
setStone(int) - Method in class com.deco2800.game.worker.components.WorkerInventoryComponent
Sets the player's stone.
setStopDistance(float) - Method in class com.deco2800.game.components.friendlyunits.task.UnitMovementTask
 
setStopDistance(float) - Method in class com.deco2800.game.soldiers.movement.SoldierMovementTask
 
setStopDistance(float) - Method in class com.deco2800.game.worker.components.movement.WorkerMovementTask
 
setTarget(Vector2) - Method in interface com.deco2800.game.ai.movement.MovementController
 
setTarget(Vector2) - Method in class com.deco2800.game.components.friendlyunits.task.UnitMovementTask
 
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.
setTarget(Vector2) - Method in class com.deco2800.game.soldiers.movement.SoldierMovementTask
 
setTarget(Vector2) - Method in class com.deco2800.game.worker.components.movement.WorkerMovementTask
 
setTexture(Texture) - Method in class com.deco2800.game.rendering.TextureRenderComponent
 
setTextureOG() - Method in class com.deco2800.game.rendering.TextureRenderComponent
 
setTexturePath(String) - Method in class com.deco2800.game.rendering.TextureRenderComponent
 
setTextureRegion(TextureRegion) - Method in class com.deco2800.game.areas.terrain.TerrainTile
 
setTimerLabel(Label) - Method in class com.deco2800.game.components.weather.WeatherIcon
Setter method to set the timer label.
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
 
setTitle(String) - Method in class com.deco2800.game.components.maingame.DialogueBoxDisplay
Set current title to be displayed
setTroops(int) - Method in class com.deco2800.game.components.CombatStatsComponent
Sets the number of troops the unit has
setValidCityDimension(int) - Method in class com.deco2800.game.areas.MapGenerator.MapGenerator
Returns the valid dimensions of the city to fit an aligned wall around the outsides
setWallDefault() - Method in class com.deco2800.game.components.building.BuildingActions
Sets wall type and texture to default (facing in no particular direction)
setWallNE() - Method in class com.deco2800.game.components.building.BuildingActions
Sets wall type and texture to north-east facing wall
setWallSE() - Method in class com.deco2800.game.components.building.BuildingActions
Sets wall type and texture to south-east facing wall
setWood(int) - Method in class com.deco2800.game.worker.components.WorkerInventoryComponent
Sets the player's wood.
ship - Variable in class com.deco2800.game.entities.configs.BuildingConfigs
 
SHIP - Enum constant in enum class com.deco2800.game.components.building.Building
 
ShipConfig - Class in com.deco2800.game.entities.configs
 
ShipConfig() - Constructor for class com.deco2800.game.entities.configs.ShipConfig
 
ShopUIFunctionalityComponent - Class in com.deco2800.game.components.building
Adds shop spending and trading functionality.
ShopUIFunctionalityComponent() - Constructor for class com.deco2800.game.components.building.ShopUIFunctionalityComponent
 
show() - Method in class com.deco2800.game.components.maingame.DialogueBoxDisplay
Make visible if not already
showHealthBar() - Method in class com.deco2800.game.components.HealthBarComponent
Makes health bar visible for default amount of time
showHealthBar(long) - Method in class com.deco2800.game.components.HealthBarComponent
Makes health bar visible for an amount of time
sight - Variable in class com.deco2800.game.entities.configs.TrebuchetConfig
 
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
 
singleHover(int, int) - Method in class com.deco2800.game.components.friendlyunits.SelectableComponent
 
singleSelect(int, int) - Method in class com.deco2800.game.components.friendlyunits.SelectableComponent
 
skin - Static variable in class com.deco2800.game.ui.UIComponent
 
snake - Variable in class com.deco2800.game.entities.configs.EnemyConfigs
 
SNOWY - Enum constant in enum class com.deco2800.game.components.weather.WeatherIconProperties
 
SOLDIER - Static variable in class com.deco2800.game.physics.PhysicsLayer
 
SoldierFactory - Class in com.deco2800.game.soldiers.factories
 
SoldierIdleTask - Class in com.deco2800.game.soldiers.movement
 
SoldierIdleTask() - Constructor for class com.deco2800.game.soldiers.movement.SoldierIdleTask
 
SoldierMenuButton - Class in com.deco2800.game.components.soldiermenu
 
SoldierMenuButton() - Constructor for class com.deco2800.game.components.soldiermenu.SoldierMenuButton
 
SoldierMenuDisplay - Class in com.deco2800.game.components.soldiermenu
 
SoldierMenuDisplay() - Constructor for class com.deco2800.game.components.soldiermenu.SoldierMenuDisplay
 
soldierMenuTextures - Static variable in class com.deco2800.game.areas.AtlantisGameArea
 
SoldierMovementTask - Class in com.deco2800.game.soldiers.movement
 
SoldierMovementTask(Vector2) - Constructor for class com.deco2800.game.soldiers.movement.SoldierMovementTask
 
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
sounds - Static variable in class com.deco2800.game.areas.TutorialGameArea
 
sounds - Static variable in class com.deco2800.game.screens.TutorialScreen
 
SOUTH - Enum constant in enum class com.deco2800.game.components.EntityDirection
 
spawnEntity(Entity) - Method in class com.deco2800.game.areas.GameArea
Spawn entity at its current position
spawnEntity(Entity, boolean) - 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.
spawnEntityAt(Entity, Vector2, boolean, boolean) - Method in class com.deco2800.game.areas.GameArea
 
spawnExplosion(Entity) - Method in class com.deco2800.game.areas.AtlantisGameArea
 
spawnExplosion(Entity) - Method in class com.deco2800.game.areas.TutorialGameArea
 
spawnSnakes(Vector2) - Method in class com.deco2800.game.areas.AtlantisGameArea
Spawns Snake enemy entities
SPEARMAN - Enum constant in enum class com.deco2800.game.entities.UnitType
 
SpearmanAnimationController - Class in com.deco2800.game.components.friendlyunits.controller
 
SpearmanAnimationController - Class in com.deco2800.game.soldiers.animation
 
SpearmanAnimationController() - Constructor for class com.deco2800.game.components.friendlyunits.controller.SpearmanAnimationController
 
SpearmanAnimationController() - Constructor for class com.deco2800.game.soldiers.animation.SpearmanAnimationController
 
SpearmanComponent - Class in com.deco2800.game.soldiers.type
 
SpearmanComponent() - Constructor for class com.deco2800.game.soldiers.type.SpearmanComponent
 
SpearmanFactory - Class in com.deco2800.game.soldiers.factories
 
spearmen - Variable in class com.deco2800.game.entities.configs.UnitConfigs
 
SpellUI - Class in com.deco2800.game.components.maingame
 
SpellUI() - Constructor for class com.deco2800.game.components.maingame.SpellUI
 
spendResources(int, int, int) - Static method in class com.deco2800.game.components.building.ShopUIFunctionalityComponent
Spends resources through the shop UI
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.friendlyunits.task.UnitIdleTask
 
start() - Method in class com.deco2800.game.components.friendlyunits.task.UnitMovementTask
 
start() - Method in class com.deco2800.game.components.tasks.AIHorizontalMovement
 
start() - Method in class com.deco2800.game.components.tasks.AIVerticalMovementTask
 
start() - Method in class com.deco2800.game.components.tasks.ChaseTask
 
start() - Method in class com.deco2800.game.components.tasks.EnemyMovement
Start running this task.
start() - Method in class com.deco2800.game.components.tasks.MovementTask
 
start() - Method in class com.deco2800.game.components.tasks.rangedAttackTask
 
start() - Method in class com.deco2800.game.components.tasks.WaitTask
Start waiting from now until duration has passed.
start() - Method in class com.deco2800.game.components.tasks.WanderTask
 
start() - Method in class com.deco2800.game.soldiers.movement.SoldierIdleTask
 
start() - Method in class com.deco2800.game.soldiers.movement.SoldierMovementTask
 
start() - Method in class com.deco2800.game.utils.random.Timer
Setting up the start variable to the current time.
start() - Method in class com.deco2800.game.worker.components.movement.WorkerIdleTask
 
start() - Method in class com.deco2800.game.worker.components.movement.WorkerMovementTask
 
start() - Method in class com.deco2800.game.worker.resources.CampSpawnStones
 
startAnimation(String) - Method in class com.deco2800.game.rendering.AnimationRenderComponent
Start playback of an animation.
startCollecting(Fixture, Fixture) - Method in class com.deco2800.game.worker.components.ResourceCollectComponent
Called when collector starts collecting resources.
startFlooding() - Method in class com.deco2800.game.areas.AtlantisGameArea
Starts the map flooding event.
STARTING_METAL - Static variable in class com.deco2800.game.worker.components.type.BaseComponent
 
STARTING_STONE - Static variable in class com.deco2800.game.worker.components.type.BaseComponent
 
STARTING_WOOD - Static variable in class com.deco2800.game.worker.components.type.BaseComponent
 
startMoving(Vector2) - Method in class com.deco2800.game.components.friendlyunits.task.UnitIdleTask
Moves the worker to the target
startMoving(Vector2) - Method in class com.deco2800.game.soldiers.movement.SoldierIdleTask
Moves the worker to the target
startMoving(Vector2) - Method in class com.deco2800.game.worker.components.movement.WorkerIdleTask
Moves the worker to the target
startTimer() - Method in class com.deco2800.game.areas.MapGenerator.FloodingGenerator
Starts the countdown for flooding to occur.
status - Variable in class com.deco2800.game.ai.tasks.DefaultTask
 
status100p - Variable in class com.deco2800.game.areas.MapGenerator.FloodingGenerator
Flag for 100% complete
status20p - Variable in class com.deco2800.game.areas.MapGenerator.FloodingGenerator
Flag for 20% complete
status40p - Variable in class com.deco2800.game.areas.MapGenerator.FloodingGenerator
Flag for 40% complete
status60p - Variable in class com.deco2800.game.areas.MapGenerator.FloodingGenerator
Flag for 60% complete
status80p - Variable in class com.deco2800.game.areas.MapGenerator.FloodingGenerator
Flag for 80% complete
stone - Variable in class com.deco2800.game.worker.resources.ResourceConfig
 
stone - Variable in class com.deco2800.game.worker.WorkerConfig
 
STONE_REQUIRED - Static variable in class com.deco2800.game.worker.components.BuildingFixComponent
 
StoneAnimationController - Class in com.deco2800.game.worker.resources
 
StoneAnimationController() - Constructor for class com.deco2800.game.worker.resources.StoneAnimationController
 
StoneComponent - Class in com.deco2800.game.worker.components.type
 
StoneComponent() - Constructor for class com.deco2800.game.worker.components.type.StoneComponent
 
StoneFactory - Class in com.deco2800.game.worker.resources
 
StoneFactory() - Constructor for class com.deco2800.game.worker.resources.StoneFactory
 
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.friendlyunits.task.UnitMovementTask
 
stop() - Method in class com.deco2800.game.components.tasks.AIHorizontalMovement
 
stop() - Method in class com.deco2800.game.components.tasks.AIVerticalMovementTask
 
stop() - Method in class com.deco2800.game.components.tasks.ChaseTask
 
stop() - Method in class com.deco2800.game.components.tasks.EnemyMovement
Stop the task immediately.
stop() - Method in class com.deco2800.game.components.tasks.MovementTask
 
stop() - Method in class com.deco2800.game.components.tasks.rangedAttackTask
 
stop() - Method in class com.deco2800.game.soldiers.movement.SoldierMovementTask
 
stop() - Method in class com.deco2800.game.worker.components.movement.WorkerMovementTask
 
stopAnimation() - Method in class com.deco2800.game.rendering.AnimationRenderComponent
Stop the currently running animation.
stopBox() - Method in class com.deco2800.game.components.friendlyunits.GestureDisplay
 
stopCollecting() - Method in class com.deco2800.game.worker.components.ResourceCollectComponent
Called when collector stops collecting resources.
STORMY - Enum constant in enum class com.deco2800.game.components.weather.WeatherIconProperties
 
StoryActions - Class in com.deco2800.game.components.story
A ui component for displaying the Main menu.
StoryActions(GdxGame) - Constructor for class com.deco2800.game.components.story.StoryActions
 
StoryDisplay - Class in com.deco2800.game.components.story
A ui component for displaying the Main menu.
StoryDisplay() - Constructor for class com.deco2800.game.components.story.StoryDisplay
 
StoryScreen - Class in com.deco2800.game.screens
The game screen containing the main game.
StoryScreen(GdxGame) - Constructor for class com.deco2800.game.screens.StoryScreen
 
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.
SUNNY - Enum constant in enum class com.deco2800.game.components.weather.WeatherIconProperties
 
swordsman - Variable in class com.deco2800.game.entities.configs.UnitConfigs
 
SWORDSMAN - Enum constant in enum class com.deco2800.game.entities.UnitType
 
SwordsmanAnimationController - Class in com.deco2800.game.components.friendlyunits.controller
 
SwordsmanAnimationController - Class in com.deco2800.game.soldiers.animation
 
SwordsmanAnimationController() - Constructor for class com.deco2800.game.components.friendlyunits.controller.SwordsmanAnimationController
 
SwordsmanAnimationController() - Constructor for class com.deco2800.game.soldiers.animation.SwordsmanAnimationController
 
SwordsmanComponent - Class in com.deco2800.game.soldiers.type
 
SwordsmanComponent() - Constructor for class com.deco2800.game.soldiers.type.SwordsmanComponent
 
SwordsmanFactory - Class in com.deco2800.game.soldiers.factories
 

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
 
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 terrain.
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
 
TextureImageComponent - Class in com.deco2800.game.components
A very simple component that stores refernece to the buildings texture, this is used by the building UI to display an image of the UI, if the building uses an atlas file rather than a texture
TextureImageComponent(String) - Constructor for class com.deco2800.game.components.TextureImageComponent
 
texturePath - Variable in class com.deco2800.game.components.friendlyunits.AvatarIconComponent
 
texturePath - Variable in class com.deco2800.game.rendering.TextureRenderComponent
 
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
 
TextureScaler - Class in com.deco2800.game.components.building
 
TextureScaler(Vector2, Vector2, Vector2) - Constructor for class com.deco2800.game.components.building.TextureScaler
 
TextureScaler(Vector2, Vector2, Vector2, Texture) - Constructor for class com.deco2800.game.components.building.TextureScaler
Used to construct a TextureScaler with an existing texture - used for entities without a TextureRenderComponent.
tileToWorldPosition(int, int) - Method in class com.deco2800.game.areas.terrain.TerrainComponent
 
tileToWorldPosition(int, int) - Static method in class com.deco2800.game.map.MapService
 
tileToWorldPosition(GridPoint2) - Method in class com.deco2800.game.areas.terrain.TerrainComponent
 
tileToWorldPosition(GridPoint2) - Static method in class com.deco2800.game.map.MapService
 
timeLeft() - Method in class com.deco2800.game.utils.random.Timer
Checking whether if the timer is already expired or not.
timer - Variable in class com.deco2800.game.areas.MapGenerator.FloodingGenerator
Flooding timer to signal flooding event.
Timer - Class in com.deco2800.game.utils.random
 
Timer(int, int) - Constructor for class com.deco2800.game.utils.random.Timer
Setting up timer to the class variable.
titan - Variable in class com.deco2800.game.entities.configs.EnemyConfigs
 
titanShrine - Variable in class com.deco2800.game.entities.configs.BuildingConfigs
 
TITANSHRINE - Enum constant in enum class com.deco2800.game.components.building.Building
 
TitanShrineConfig - Class in com.deco2800.game.entities.configs
 
TitanShrineConfig() - Constructor for class com.deco2800.game.entities.configs.TitanShrineConfig
 
toggleIsOpen() - Method in class com.deco2800.game.ui.terminal.Terminal
Toggles between the terminal being open and closed.
togglePauseScreen() - Method in class com.deco2800.game.components.pausemenu.PauseMenuDisplay
 
TOP - Enum constant in enum class com.deco2800.game.physics.components.PhysicsComponent.AlignY
 
toString() - Method in class com.deco2800.game.areas.MapGenerator.Buildings.BuildingSpecification
 
toString() - Method in class com.deco2800.game.areas.MapGenerator.Buildings.CityRow
 
toString() - Method in class com.deco2800.game.areas.MapGenerator.Coordinate
Coordinates can be more easily visualised in typical cartesian form of "(x, y)" The toString() function is overridden to allow debugging of errors
toString() - Method in class com.deco2800.game.areas.MapGenerator.ResourceSpecification
Returns human-readable form of a ResourceSpecification used for testing
toString() - Method in class com.deco2800.game.components.Component
 
toString() - Method in class com.deco2800.game.entities.Entity
 
toString() - Method in class com.deco2800.game.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, int) - 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.building.ConstructionInputComponent
 
touchDown(int, int, int, int) - Method in class com.deco2800.game.components.friendlyunits.MouseInputComponent
Stores value in this class as the starting point of left mouse button being clicked
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
touchDown(int, int, int, int) - Method in class com.deco2800.game.worker.components.movement.WorkerInputComponent
Determines whether to select unit on left-mouse click Moves a selected unit on right-mouse click
touchDragged(int, int, int) - Method in class com.deco2800.game.components.friendlyunits.MouseInputComponent
To be completed/doesn't work yet: When mouse is clicked and dragged, a rectangle is drawn to tell you the area of units that will be selected.
touchDragged(int, int, int) - Method in class com.deco2800.game.input.InputComponent
 
touchDragged(int, int, int) - Method in class com.deco2800.game.input.InputDecorator
 
touchDragged(int, int, int) - Method in class com.deco2800.game.input.InputService
Iterates over registered input handlers in descending priority and stops as soon as the input is processed
TouchInputFactory - Class in com.deco2800.game.input
 
TouchInputFactory() - Constructor for class com.deco2800.game.input.TouchInputFactory
 
TouchPlayerInputComponent - Class in com.deco2800.game.components.player
Input handler for the player for keyboard and touch (mouse) input.
TouchPlayerInputComponent() - Constructor for class com.deco2800.game.components.player.TouchPlayerInputComponent
 
TouchTerminalInputComponent - Class in com.deco2800.game.ui.terminal
Input handler for the debug terminal for keyboard and touch (mouse) input.
TouchTerminalInputComponent() - Constructor for class com.deco2800.game.ui.terminal.TouchTerminalInputComponent
 
TouchTerminalInputComponent(Terminal) - Constructor for class com.deco2800.game.ui.terminal.TouchTerminalInputComponent
 
touchUp(int, int, int, int) - Method in class com.deco2800.game.components.friendlyunits.MouseInputComponent
handles the finish of the click.
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
TOWN_HALL - Enum constant in enum class com.deco2800.game.entities.BuildingType
 
townHall - Variable in class com.deco2800.game.entities.configs.BuildingConfigs
 
TOWNHALL - Enum constant in enum class com.deco2800.game.components.building.Building
 
TownHallConfig - Class in com.deco2800.game.entities.configs
Defines the town hall properties stored in config file to be loaded by the Building Factory.
TownHallConfig() - Constructor for class com.deco2800.game.entities.configs.TownHallConfig
 
trebuchet - Variable in class com.deco2800.game.entities.configs.BuildingConfigs
 
TREBUCHET - Enum constant in enum class com.deco2800.game.components.building.Building
 
TrebuchetConfig - Class in com.deco2800.game.entities.configs
 
TrebuchetConfig() - Constructor for class com.deco2800.game.entities.configs.TrebuchetConfig
 
TreeAnimationController - Class in com.deco2800.game.worker.resources
 
TreeAnimationController() - Constructor for class com.deco2800.game.worker.resources.TreeAnimationController
 
TreeComponent - Class in com.deco2800.game.worker.components.type
 
TreeComponent() - Constructor for class com.deco2800.game.worker.components.type.TreeComponent
 
TreeFactory - Class in com.deco2800.game.worker.resources
 
TreeFactory() - Constructor for class com.deco2800.game.worker.resources.TreeFactory
 
trigger(String) - Method in class com.deco2800.game.events.EventHandler
Trigger an event with no arguments
trigger(String, float) - Method in class com.deco2800.game.entities.EntityService
 
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
trigger(String, T0, T1, T2, T3) - Method in class com.deco2800.game.events.EventHandler
Trigger an event with one argument
triggerEarlyUpdate() - Method in class com.deco2800.game.components.Component
Used to trigger the component to early-update itself.
triggerFlashTilesEvent() - Method in class com.deco2800.game.areas.MapGenerator.FloodingGenerator
Flashes tiles that will be flooded on the next iteration.
triggerFloodEvent() - Method in class com.deco2800.game.areas.MapGenerator.FloodingGenerator
Algorithm that determines which tiles to be flooded on the next flooding event.
triggerUpdate() - Method in class com.deco2800.game.components.Component
Used to trigger the component to update itself.
TroopContainerComponent - Class in com.deco2800.game.components.friendly
Allows us to make use of an entity that contains other entities
TroopContainerComponent(ArrayList<Entity>, float) - Constructor for class com.deco2800.game.components.friendly.TroopContainerComponent
 
troops - Variable in class com.deco2800.game.entities.configs.BaseUnitConfig
 
TUTORIAL - Enum constant in enum class com.deco2800.game.GdxGame.ScreenType
 
TutorialActions - Class in com.deco2800.game.components.tutorial
A ui component for handling tutorial actions TODO: integrate with actions
TutorialActions(GdxGame, DialogueBoxDisplay) - Constructor for class com.deco2800.game.components.tutorial.TutorialActions
 
TutorialDisplay - Class in com.deco2800.game.components.tutorial
A ui component for displaying the Main menu.
TutorialDisplay() - Constructor for class com.deco2800.game.components.tutorial.TutorialDisplay
 
TutorialGameArea - Class in com.deco2800.game.areas
 
TutorialGameArea(AtlantisTerrainFactory, DialogueBoxDisplay) - Constructor for class com.deco2800.game.areas.TutorialGameArea
 
TutorialScreen - Class in com.deco2800.game.screens
The game screen containing the tutorial game.
TutorialScreen(GdxGame) - Constructor for class com.deco2800.game.screens.TutorialScreen
 
type - Variable in class com.deco2800.game.entities.configs.BarracksConfig
 
type - Variable in class com.deco2800.game.entities.configs.BlacksmithConfig
 
type - Variable in class com.deco2800.game.entities.configs.FarmConfig
 
type - Variable in class com.deco2800.game.entities.configs.LibraryConfig
 
type - Variable in class com.deco2800.game.entities.configs.ShipConfig
 
type - Variable in class com.deco2800.game.entities.configs.TitanShrineConfig
 
type - Variable in class com.deco2800.game.entities.configs.TownHallConfig
 
type - Variable in class com.deco2800.game.entities.configs.TrebuchetConfig
 
type - Variable in class com.deco2800.game.entities.configs.WallConfig
 

U

UI - Static variable in class com.deco2800.game.input.InputLayer
 
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.
uiTextures - Static variable in class com.deco2800.game.areas.AtlantisGameArea
 
uiTextures - Static variable in class com.deco2800.game.areas.TutorialGameArea
 
UnitConfigs - Class in com.deco2800.game.entities.configs
 
UnitConfigs() - Constructor for class com.deco2800.game.entities.configs.UnitConfigs
 
UnitFactory - Class in com.deco2800.game.entities.factories
 
UnitIdleTask - Class in com.deco2800.game.components.friendlyunits.task
 
UnitIdleTask() - Constructor for class com.deco2800.game.components.friendlyunits.task.UnitIdleTask
 
UnitMovementTask - Class in com.deco2800.game.components.friendlyunits.task
 
UnitMovementTask(Vector2) - Constructor for class com.deco2800.game.components.friendlyunits.task.UnitMovementTask
 
UnitSpawningComponent - Class in com.deco2800.game.components
 
UnitSpawningComponent(EventHandler) - Constructor for class com.deco2800.game.components.UnitSpawningComponent
 
UnitType - Enum Class in com.deco2800.game.entities
 
unloadAssets(String[]) - Method in class com.deco2800.game.services.ResourceService
 
unloadMetal() - Method in class com.deco2800.game.worker.components.WorkerInventoryComponent
 
unloadStone() - Method in class com.deco2800.game.worker.components.WorkerInventoryComponent
 
unloadWood() - Method in class com.deco2800.game.worker.components.WorkerInventoryComponent
 
unpaused() - Method in class com.deco2800.game.services.GameTime
Unpauses the game
unregister(Entity) - Method in class com.deco2800.game.entities.EntityService
Unregister an entity with the entity service.
unregister(InputComponent) - Method in class com.deco2800.game.input.InputService
Unregister an input handler
unregister(MapComponent) - Method in class com.deco2800.game.map.MapService
Remove entity from the MapService.
unregister(Renderable) - Method in class com.deco2800.game.rendering.RenderService
Unregister a renderable.
unselect() - Method in class com.deco2800.game.components.friendlyunits.SelectableComponent
 
UP - Static variable in class com.deco2800.game.utils.math.Vector2Utils
 
update() - Method in class com.deco2800.game.ai.tasks.AITaskComponent
On update, run the current highest priority task.
update() - Method in class com.deco2800.game.ai.tasks.DefaultTask
 
update() - Method in interface com.deco2800.game.ai.tasks.Task
Run one frame of the task.
update() - Method in class com.deco2800.game.areas.MapGenerator.FloodingGenerator
To be called each time update is called.
update() - Method in class com.deco2800.game.components.building.AnimationTestingComponent
 
update() - Method in class com.deco2800.game.components.building.BuildingHealthManager
 
update() - Method in class com.deco2800.game.components.building.UpdateBuildingDirection
Checks the direction building is pointing in relation to assigned target.
update() - Method in class com.deco2800.game.components.CameraComponent
 
update() - Method in class com.deco2800.game.components.CombatStatsComponent
 
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.floodtimer.FloodTimerDisplay
 
update() - Method in class com.deco2800.game.components.friendly.TroopContainerComponent
updates the components of troops, and pulls them back in line if they have managed to move too far from the center of the unit
update() - Method in class com.deco2800.game.components.friendlyunits.GestureDisplay
 
update() - Method in class com.deco2800.game.components.friendlyunits.task.UnitIdleTask
 
update() - Method in class com.deco2800.game.components.friendlyunits.task.UnitMovementTask
 
update() - Method in class com.deco2800.game.components.HealthBarComponent
 
update() - Method in class com.deco2800.game.components.LoadingBar
 
update() - Method in class com.deco2800.game.components.maingame.InfoBoxDisplay
 
update() - Method in class com.deco2800.game.components.maingame.SpellUI
 
update() - Method in class com.deco2800.game.components.player.PlayerActions
 
update() - Method in class com.deco2800.game.components.resources.ResourceCountDisplay
 
update() - Method in class com.deco2800.game.components.settingsmenu.SettingsMenuDisplay
 
update() - Method in class com.deco2800.game.components.tasks.AIHorizontalMovement
When the enemy reaches the boundary of the moving track, then moves in the opposite direction.
update() - Method in class com.deco2800.game.components.tasks.AIVerticalMovementTask
When the enemy reaches the boundary of the moving track, then moves in the opposite direction.
update() - Method in class com.deco2800.game.components.tasks.ChaseTask
 
update() - Method in class com.deco2800.game.components.tasks.EnemyMovement
Run one frame of the task.
update() - Method in class com.deco2800.game.components.tasks.MovementTask
 
update() - Method in class com.deco2800.game.components.tasks.rangedAttackTask
 
update() - Method in class com.deco2800.game.components.tasks.WaitTask
 
update() - Method in class com.deco2800.game.components.tasks.WanderTask
 
update() - Method in class com.deco2800.game.components.UnitSpawningComponent
 
update() - Method in class com.deco2800.game.components.weather.WeatherIconDisplay
Checks the status of the weather each time update is called.
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.input.CameraInputComponent
Moves the camera relative to the change and current speed
update() - Method in class com.deco2800.game.map.MapComponent
 
update() - Method in class com.deco2800.game.physics.components.PhysicsMovementComponent
 
update() - Method in class com.deco2800.game.physics.PhysicsEngine
 
update() - Method in class com.deco2800.game.soldiers.movement.SoldierIdleTask
 
update() - Method in class com.deco2800.game.soldiers.movement.SoldierMovementTask
 
update() - Method in class com.deco2800.game.worker.components.duration.DurationBarUiComponent
 
update() - Method in class com.deco2800.game.worker.components.movement.WorkerIdleTask
 
update() - Method in class com.deco2800.game.worker.components.movement.WorkerMovementTask
 
update() - Method in class com.deco2800.game.worker.components.ResourceCollectComponent
 
update() - Method in class com.deco2800.game.worker.resources.CampSpawnStones
 
update(MapComponent) - Method in class com.deco2800.game.map.MapService
Updates the MapService's understanding of an entity's current position.
updateBaseStats(int, int, int) - Method in class com.deco2800.game.worker.components.type.BaseComponent
 
updateBox(int, int, int, int) - Method in class com.deco2800.game.components.friendlyunits.GestureDisplay
 
UpdateBuildingDirection - Class in com.deco2800.game.components.building
There are stationary buildings (trebuchet) in the game that change their sprite depending on what direction their target is in, this component implements similar direction detection as PhysicsMovementComponent, but for stationary entities.
UpdateBuildingDirection(Entity) - Constructor for class com.deco2800.game.components.building.UpdateBuildingDirection
 
updateDirection() - Method in class com.deco2800.game.input.CameraInputComponent
Checks to see if the cursor is hovered to a screen edge, and if so updates the direction it must move in
updateDisplay() - Method in class com.deco2800.game.worker.components.type.BaseComponent
 
updateFlags() - Method in class com.deco2800.game.areas.MapGenerator.FloodingGenerator
Updates the internal flag logic.
updateFlashingTiles() - Method in class com.deco2800.game.areas.MapGenerator.MapGenerator
Flashes tiles that are chosen to flood on the next flooding iteration.
updateHealth(int) - Method in class com.deco2800.game.components.HealthBarComponent
Event trigger by event listener.
updateHealth(Health) - Method in class com.deco2800.game.components.building.HealthAnimation
update the Building's current health
updatePlayerHealthUI(int) - Method in class com.deco2800.game.components.player.PlayerStatsDisplay
Updates the player's health on the ui.
updatePlayerResourceUI(String, int) - Method in class com.deco2800.game.components.resources.ResourceCountDisplay
Updates the player's resource stats on the ui.
updatePointer(int, int) - Method in class com.deco2800.game.components.maingame.SpellUI
 
updatePotentialPlacements(List<Coordinate>) - Method in class com.deco2800.game.areas.MapGenerator.ResourceSpecification
Sets a new list of potential placements for this resource on the map
updateTables() - Method in class com.deco2800.game.components.maingame.InfoBoxDisplay
At each draw function we should update the tables to see if there are any new selected units and draw them appropriately
updateTables() - Method in class com.deco2800.game.components.maingame.SpellUI
 
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.building.Building
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.deco2800.game.components.building.BuildingHealth
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.deco2800.game.components.EntityDirection
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.deco2800.game.components.EntityType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.deco2800.game.components.weather.WeatherIconProperties
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.deco2800.game.entities.BuildingType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.deco2800.game.entities.UnitType
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.building.Building
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.building.BuildingHealth
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.EntityDirection
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.EntityType
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.weather.WeatherIconProperties
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.BuildingType
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.UnitType
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.
vectorToAngle(Vector2) - Static method in class com.deco2800.game.utils.math.Vector2Utils
Calculate the angle in radians of a vector
vsync - Variable in class com.deco2800.game.files.UserSettings.Settings
 

W

WaitTask - Class in com.deco2800.game.components.tasks
Task that does nothing other than waiting for a given time.
WaitTask(float) - Constructor for class com.deco2800.game.components.tasks.WaitTask
 
wall - Variable in class com.deco2800.game.entities.configs.BuildingConfigs
 
WALL - Enum constant in enum class com.deco2800.game.components.building.Building
 
WALL - Enum constant in enum class com.deco2800.game.entities.BuildingType
 
WALL_NE - Enum constant in enum class com.deco2800.game.components.building.Building
 
WALL_SE - Enum constant in enum class com.deco2800.game.components.building.Building
 
WallConfig - Class in com.deco2800.game.entities.configs
Defines the wall properties stored in config file to be loaded by the Building Factory.
WallConfig() - Constructor for class com.deco2800.game.entities.configs.WallConfig
 
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
 
WeatherIcon - Class in com.deco2800.game.components.weather
 
WeatherIcon(Label) - Constructor for class com.deco2800.game.components.weather.WeatherIcon
Instantiates WeatherIcon class.
WeatherIconDisplay - Class in com.deco2800.game.components.weather
 
WeatherIconDisplay() - Constructor for class com.deco2800.game.components.weather.WeatherIconDisplay
 
WeatherIconProperties - Enum Class in com.deco2800.game.components.weather
 
WEST - Enum constant in enum class com.deco2800.game.components.EntityDirection
 
width - Variable in class com.deco2800.game.files.UserSettings.DisplaySettings
 
wolf - Variable in class com.deco2800.game.entities.configs.EnemyConfigs
 
wood - Variable in class com.deco2800.game.worker.resources.ResourceConfig
 
wood - Variable in class com.deco2800.game.worker.WorkerConfig
 
WOOD_REQUIRED - Static variable in class com.deco2800.game.worker.components.BuildingFixComponent
 
WORKER - Static variable in class com.deco2800.game.physics.PhysicsLayer
 
WorkerBaseFactory - Class in com.deco2800.game.worker
Creates a base at which a worker can deposit resources
WorkerBaseFactory() - Constructor for class com.deco2800.game.worker.WorkerBaseFactory
 
WorkerConfig - Class in com.deco2800.game.worker
Defines the properties stored in player config files to be loaded by the Player Factory.
WorkerConfig() - Constructor for class com.deco2800.game.worker.WorkerConfig
 
WorkerFactory - Class in com.deco2800.game.worker
Factory to create a worker entity
WorkerIdleTask - Class in com.deco2800.game.worker.components.movement
 
WorkerIdleTask() - Constructor for class com.deco2800.game.worker.components.movement.WorkerIdleTask
 
WorkerInputComponent - Class in com.deco2800.game.worker.components.movement
Input handler for selecting, un-selecting and moving worker units
WorkerInputComponent() - Constructor for class com.deco2800.game.worker.components.movement.WorkerInputComponent
 
WorkerInventoryComponent - Class in com.deco2800.game.worker.components
A component intended to be used by the player to track their unit's inventory.
WorkerInventoryComponent() - Constructor for class com.deco2800.game.worker.components.WorkerInventoryComponent
 
WorkerInventoryComponent(int, int, int) - Constructor for class com.deco2800.game.worker.components.WorkerInventoryComponent
 
WorkerMovementTask - Class in com.deco2800.game.worker.components.movement
 
WorkerMovementTask(Vector2) - Constructor for class com.deco2800.game.worker.components.movement.WorkerMovementTask
 
worldPositionToTile(Vector2) - Method in class com.deco2800.game.areas.terrain.TerrainComponent
Converts a vector2 into the closest game tile for placement purposes
worldToTile(float, float) - Method in class com.deco2800.game.input.CameraInputComponent
Converts a world point to a position on the tile map
worldToTile(float, float) - Static method in class com.deco2800.game.map.MapService
Converts a world point to a position on the tile map
worldToTile(float, float, float) - Static method in class com.deco2800.game.input.CameraInputComponent
Converts a world point to a position on the tile map
worldToTile(float, float, float) - Static method in class com.deco2800.game.map.MapService
Converts a world point to a position on the tile map
worldToTile(Vector2) - Static method in class com.deco2800.game.map.MapService
Converts a world point to a position on the tile map
writeCity(int, int) - Method in class com.deco2800.game.areas.MapGenerator.Buildings.BuildingGenerator
Writes the contents of the city to a human readable text file
writeCity(int, int, String) - Method in class com.deco2800.game.areas.MapGenerator.Buildings.BuildingGenerator
Writes the contents of the city to a human readable text file
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.
writeMap(char[][], String, int, int) - Static method in class com.deco2800.game.areas.MapGenerator.MapGenerator
Writes the contents of the map to the text file specified
writeMap(String) - Method in class com.deco2800.game.areas.MapGenerator.MapGenerator
Writes the contents of the map to the text file specified

Z

ZERO - Static variable in class com.deco2800.game.utils.math.GridPoint2Utils
 
ZERO_HEALTH - Enum constant in enum class com.deco2800.game.components.building.BuildingHealth
 
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|Serialized Form