Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- ABSOLUTE - Enum constant in enum class com.csse3200.game.files.FileLoader.Location
- acceleration - Variable in class com.csse3200.game.entities.configs.ShipConfig
- act(float) - Method in class com.csse3200.game.components.spacenavigation.StarBackground
-
Called when the actor should perform its action.
- act(float) - Method in class com.csse3200.game.ui.SpaceMiniTransition
-
Updates the actor's state on each frame.
- action(ArrayList<String>) - Method in interface com.csse3200.game.ui.terminal.commands.Command
-
Action a command.
- action(ArrayList<String>) - Method in class com.csse3200.game.ui.terminal.commands.DebugCommand
-
Toggles debug mode on or off if the corresponding argument is received.
- ActionFeedbackComponent - Class in com.csse3200.game.components.player
-
This component is used to create action feedback alerts based on Entity events.
- ActionFeedbackComponent() - Constructor for class com.csse3200.game.components.player.ActionFeedbackComponent
- ACTIVE - Enum constant in enum class com.csse3200.game.ai.tasks.Task.Status
- add_animations(AnimationRenderComponent) - Method in class com.csse3200.game.components.Weapons.SpecWeapon.BoomerangController
- add_animations(AnimationRenderComponent) - Method in class com.csse3200.game.components.Weapons.WeaponControllerComponent
-
Function to add animations based on standard animation configurations (Overidable)
- addAlert(int) - Method in class com.csse3200.game.components.Companion.CompanionStatsDisplay
-
Add an alert when the player's health is low.
- addAnimation(String, float) - Method in class com.csse3200.game.rendering.AnimationRenderComponent
-
Register an animation from the texture atlas.
- addAnimation(String, float, Animation.PlayMode) - Method in class com.csse3200.game.rendering.AnimationRenderComponent
-
Register an animation from the texture atlas.
- addChild(UpgradeNode) - Method in class com.csse3200.game.components.upgradetree.UpgradeNode
-
Adds a child node to this node.
- addCommand(String, Command) - Method in class com.csse3200.game.ui.terminal.Terminal
-
Adds a command to the list of valid terminal commands.
- addComponent(Component) - Method in class com.csse3200.game.entities.Entity
-
Add a component to the entity.
- addEntities(List<Entity>) - Method in class com.csse3200.game.areas.mapConfig.AreaEntityConfig
-
Adds the entities to the config Must have SaveableComponent
- addEntity(Entity) - Method in class com.csse3200.game.areas.mapConfig.AreaEntityConfig
-
Adds the entity to the config Must have SaveableComponent
- addEntry(Map.Entry<String, List<Object>>) - Method in class com.csse3200.game.areas.mapConfig.AreaEntityConfig
-
Adds an entry to the entities hashmap
- addHealth(int) - Method in class com.csse3200.game.components.CombatStatsComponent
-
Adds to the player's health.
- addLife() - Method in class com.csse3200.game.components.CombatStatsComponent
-
Adds one life to player lives.
- addListener(String, EventListener0) - Method in class com.csse3200.game.events.EventHandler
-
Add a listener to an event with zero arguments
- addListener(String, EventListener1<T>) - Method in class com.csse3200.game.events.EventHandler
-
Add a listener to an event with one argument
- addListener(String, EventListener2<T0, T1>) - Method in class com.csse3200.game.events.EventHandler
-
Add a listener to an event with two arguments
- addListener(String, EventListener3<T0, T1, T2>) - Method in class com.csse3200.game.events.EventHandler
-
Add a listener to an event with three arguments
- addPotion(int) - Method in class com.csse3200.game.components.LaboratoryInventoryComponent
-
Adds a certain number of potions to the laboratory's inventory.
- addPowerup(Entity) - Method in class com.csse3200.game.components.Companion.CompanionInventoryComponent
-
Adds a power-up item to the companion's inventory if there is space remaining.
- addTask(PriorityTask) - Method in class com.csse3200.game.ai.tasks.AITaskComponent
-
Add a priority task to the list of tasks.
- addTexture(int, Texture) - Method in class com.csse3200.game.rendering.DamageTextureComponent
-
Add a texture with a given threshold such that if health <= threshold then the texture will show.
- addTexture(int, String) - Method in class com.csse3200.game.rendering.DamageTextureComponent
-
Add a texture with a given threshold such that if health <= threshold then the texture will show.
- addUIElements() - Method in class com.csse3200.game.components.MiniDisplay.MiniScreenDisplay
- AdjustedChaseTask - Class in com.csse3200.game.components.tasks
-
Chases a target entity until they get too far away or line of sight is lost.
- AdjustedChaseTask(Entity, int, float, float) - Constructor for class com.csse3200.game.components.tasks.AdjustedChaseTask
- AimTask - Class in com.csse3200.game.components.tasks
-
Waits around for a set amount of time and then fires a projectile at a target.
- AimTask(float, Entity, float) - Constructor for class com.csse3200.game.components.tasks.AimTask
-
creates an aim task.
- AITaskComponent - Class in com.csse3200.game.ai.tasks
-
Task-based AI component.
- AITaskComponent() - Constructor for class com.csse3200.game.ai.tasks.AITaskComponent
- AlertBox - Class in com.csse3200.game.ui
- AlertBox(GdxGame, String, Skin) - Constructor for class com.csse3200.game.ui.AlertBox
- AlertUIComponent - Class in com.csse3200.game.components.player
-
A custom UIComponent used which displays text within a yellow border for alerts.
- AlertUIComponent(String) - Constructor for class com.csse3200.game.components.player.AlertUIComponent
-
Creates a new AlertUIComponent containing the given text.
- ALL - Static variable in class com.csse3200.game.physics.PhysicsLayer
- AllHitCallback - Class in com.csse3200.game.physics.raycast
-
Cast a ray against all colliders that match the layer mask.
- AllHitCallback() - Constructor for class com.csse3200.game.physics.raycast.AllHitCallback
- AllShipUpgradesConfig - Class in com.csse3200.game.entities.configs
- AllShipUpgradesConfig() - Constructor for class com.csse3200.game.entities.configs.AllShipUpgradesConfig
- ALPHA - Static variable in class com.csse3200.game.components.InitialSequence.LabelAccessor
- ammoUse - Variable in class com.csse3200.game.entities.configs.WeaponConfig
- angleFromTo(Vector2, Vector2) - Static method in class com.csse3200.game.utils.math.Vector2Utils
-
Calculate the angle in degrees between two vectors
- angleTo(Vector2) - Static method in class com.csse3200.game.utils.math.Vector2Utils
-
Calculate the angle in degrees of a vector.
- AnimationRenderComponent - Class in com.csse3200.game.rendering
-
Renders animations from a texture atlas on an entity.
- AnimationRenderComponent(TextureAtlas) - Constructor for class com.csse3200.game.rendering.AnimationRenderComponent
-
Create the component for a given texture atlas.
- animationType - Variable in class com.csse3200.game.entities.configs.WeaponConfig
- appendToMessage(char) - Method in class com.csse3200.game.ui.terminal.Terminal
-
Appends the character to the end of the entered message.
- applyEffect() - Method in class com.csse3200.game.components.PowerupComponent
-
Applies the effects of the Powerup to the specified target entity.
- applySettings(UserSettings.Settings) - Static method in class com.csse3200.game.files.UserSettings
-
Apply the given settings without storing them.
- applyUpgrade(Entity) - Method in class com.csse3200.game.components.ships.ShipUpgradesComponent
-
Applies the effects of the Upgrade to the specified target entity, preferably a ship
- areaEntities - Variable in class com.csse3200.game.areas.GameArea
- areaEntityConfig - Variable in class com.csse3200.game.areas.mapConfig.GameAreaConfig
- AreaEntityConfig - Class in com.csse3200.game.areas.mapConfig
-
Class that contains data on all the entities for a given game area
- AreaEntityConfig() - Constructor for class com.csse3200.game.areas.mapConfig.AreaEntityConfig
- assetManager - Variable in class com.csse3200.game.entities.factories.NPCFactory
-
Asset manager to load and manage assets.
- assetManager - Variable in class com.csse3200.game.screens.SettingsScreen
- AsteroidConfig - Class in com.csse3200.game.entities.configs
-
Basic Asteroid properties for Space Obstacle minigame to be loaded by obstacle factory
- AsteroidConfig() - Constructor for class com.csse3200.game.entities.configs.AsteroidConfig
- Astro - Variable in class com.csse3200.game.entities.configs.NPCConfigs
- AstroAnimationController - Class in com.csse3200.game.components.npc
- AstroAnimationController(AssetManager) - Constructor for class com.csse3200.game.components.npc.AstroAnimationController
- AstroConfig - Class in com.csse3200.game.entities.configs
- AstroConfig() - Constructor for class com.csse3200.game.entities.configs.AstroConfig
- AtlasRenderComponent - Class in com.csse3200.game.rendering
- AtlasRenderComponent(TextureAtlas, String) - Constructor for class com.csse3200.game.rendering.AtlasRenderComponent
- AtlasRenderComponent(String, String) - Constructor for class com.csse3200.game.rendering.AtlasRenderComponent
- attackCooldown - Variable in class com.csse3200.game.entities.configs.WeaponConfig
- AttackFactory - Class in com.csse3200.game.entities.factories
-
Class to create weapons when the player attacks
- attackMultiplier - Variable in class com.csse3200.game.entities.configs.CompanionConfig
- attackMultiplier - Variable in class com.csse3200.game.entities.configs.HealthEntityConfig
- attackNum - Variable in class com.csse3200.game.components.Weapons.WeaponControllerComponent
B
- backgroundMusicPath - Variable in class com.csse3200.game.areas.mapConfig.GameAreaConfig
- baseAttack - Variable in class com.csse3200.game.entities.configs.CompanionConfig
- baseAttack - Variable in class com.csse3200.game.entities.configs.HealthEntityConfig
- BaseEntityConfig - Class in com.csse3200.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.csse3200.game.entities.configs.BaseEntityConfig
- basic - Enum constant in enum class com.csse3200.game.entities.buildables.WallType
- basic - Variable in class com.csse3200.game.entities.configs.WallConfigs
- BasicWallTool - Class in com.csse3200.game.components.structures.tools
-
A tool which allows the player to place a basic wall.
- BasicWallTool(ObjectMap<String, Integer>) - Constructor for class com.csse3200.game.components.structures.tools.BasicWallTool
-
Creates a new basic wall tool with the given cost.
- beginContact(Contact) - Method in class com.csse3200.game.physics.PhysicsContactListener
- beginFullTravel() - Method in class com.csse3200.game.services.PlanetTravel
-
Begin transitioning to the next planet from the current one.
- beginInstantTravel() - Method in class com.csse3200.game.services.PlanetTravel
-
Travel from the current planet to the next planet instantly.
- behaviour - Variable in class com.csse3200.game.entities.configs.EnemyConfig
- BodyUserData - Class in com.csse3200.game.physics
-
POJO which contains the custom data attached to each box2D entity.
- BodyUserData() - Constructor for class com.csse3200.game.physics.BodyUserData
- BoomerangController - Class in com.csse3200.game.components.Weapons.SpecWeapon
- BoomerangController(WeaponConfig, float, Entity, int) - Constructor for class com.csse3200.game.components.Weapons.SpecWeapon.BoomerangController
- BossMelee - Enum constant in enum class com.csse3200.game.entities.enemies.EnemyType
- BossRanged - Enum constant in enum class com.csse3200.game.entities.enemies.EnemyType
- BossTask - Class in com.csse3200.game.components.tasks
-
BossTask controls actions of the Boss Entity.
- BossTask(Entity, int, float, float) - Constructor for class com.csse3200.game.components.tasks.BossTask
- botanist - Variable in class com.csse3200.game.entities.configs.NPCConfigs
- BotanistAnimationController - Class in com.csse3200.game.components.npc
- BotanistAnimationController() - Constructor for class com.csse3200.game.components.npc.BotanistAnimationController
-
Creates a new BotanistAnimationController with an AssetManager for managing assets.
- BotanistConfig - Class in com.csse3200.game.entities.configs
- BotanistConfig() - Constructor for class com.csse3200.game.entities.configs.BotanistConfig
- BOTTOM - Enum constant in enum class com.csse3200.game.physics.components.PhysicsComponent.AlignY
- BOX - Static variable in class com.csse3200.game.physics.PhysicsLayer
- BuildablesFactory - Class in com.csse3200.game.entities.factories
- BuildablesFactory() - Constructor for class com.csse3200.game.entities.factories.BuildablesFactory
- bullet - Variable in class com.csse3200.game.entities.configs.ProjectileConfigs
C
- calculateDistance(Entity, Entity) - Static method in class com.csse3200.game.areas.SpaceGameArea
-
Method for calculating distance between two entities
- call(Entity) - Method in interface com.csse3200.game.components.ProximityActivationComponent.ProximityFunc
- CameraComponent - Class in com.csse3200.game.components
- CameraComponent() - Constructor for class com.csse3200.game.components.CameraComponent
- CameraComponent(Camera) - Constructor for class com.csse3200.game.components.CameraComponent
- Canfire() - Method in class com.csse3200.game.entities.buildables.Turret
-
Check if the turret can fire (has ammunition).
- canPlaceStructureAt(PlaceableEntity, GridPoint2) - Method in class com.csse3200.game.services.StructurePlacementService
- CENTER - Enum constant in enum class com.csse3200.game.physics.components.PhysicsComponent.AlignX
- CENTER - Enum constant in enum class com.csse3200.game.physics.components.PhysicsComponent.AlignY
- changeEquipped(WeaponType) - Method in class com.csse3200.game.components.player.InventoryComponent
-
Updates weapon of the active inventory slot
- changeEquippedAmmo(int) - Method in class com.csse3200.game.components.player.InventoryComponent
-
Changes the amount of ammo in current weapon slot by change (decrease for negative values of ammoChange)
- changeImmunityStatus() - Method in class com.csse3200.game.components.CombatStatsComponent
-
Inverts the entity's current immunity status.
- changeMaxSpeed(Vector2) - Method in class com.csse3200.game.physics.components.PhysicsMovementComponent
-
Set an entities max speed.
- ChaseTask - Class in com.csse3200.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.csse3200.game.components.tasks.ChaseTask
- ChaseTask(Entity, int, float, float, float) - Constructor for class com.csse3200.game.components.tasks.ChaseTask
-
Creates a new chase task which will stop once the entity is within a certain distance of the target.
- checkAllEntitiesProximity() - Method in class com.csse3200.game.components.ProximityControllerComponent
- checkDistance(Entity) - Method in class com.csse3200.game.components.DistanceCheckComponent
- ChoosingUpgradeComponent() - Method in class com.csse3200.game.services.UpgradeShip
-
Moving around to choose the bottle Currently only have one bottle to increase speed of the ships Using PowerUp component and interactable comp class By Foref (gonna delete this later)
- CLASSPATH - Enum constant in enum class com.csse3200.game.files.FileLoader.Location
- clear() - Method in class com.csse3200.game.screens.PlanetScreen
-
Dispose of the entire game screen.
- clear() - Method in class com.csse3200.game.services.GameState
-
Clears the state data.
- clear() - Method in class com.csse3200.game.services.GameStateInteraction
-
Clears the game state data.
- clear() - Static method in class com.csse3200.game.services.ServiceLocator
- clear() - Method in class com.csse3200.game.utils.SortedIntMap
-
Clear the map
- clearAllAssets() - Method in class com.csse3200.game.services.ResourceService
-
Clears all loaded assets and assets in the preloading queue.
- clearWalking() - Method in class com.csse3200.game.components.player.KeyboardPlayerInputComponent
- closedTextureAtlas - Variable in class com.csse3200.game.entities.configs.GateConfig
- closeGate(Entity) - Method in class com.csse3200.game.entities.buildables.Gate
-
Changes the texture to resemble a closed gate and enables the collision.
- collect() - Method in class com.csse3200.game.components.ExtractorRepairPartComponent
- ColliderComponent - Class in com.csse3200.game.physics.components
-
Attaches a physics collider to an entity.
- ColliderComponent() - Constructor for class com.csse3200.game.physics.components.ColliderComponent
- ColorDrawable - Class in com.csse3200.game.rendering
-
This class is used to programmatically create a color which can be used as a background in UI components.
- ColorDrawable(float, float, float, float) - Constructor for class com.csse3200.game.rendering.ColorDrawable
-
Creates a new ColorDrawable with the given color (in RGB).
- com.csse3200.game - package com.csse3200.game
- com.csse3200.game.ai.movement - package com.csse3200.game.ai.movement
- com.csse3200.game.ai.tasks - package com.csse3200.game.ai.tasks
- com.csse3200.game.areas - package com.csse3200.game.areas
- com.csse3200.game.areas.mapConfig - package com.csse3200.game.areas.mapConfig
- com.csse3200.game.areas.terrain - package com.csse3200.game.areas.terrain
- com.csse3200.game.components - package com.csse3200.game.components
- com.csse3200.game.components.Companion - package com.csse3200.game.components.Companion
- com.csse3200.game.components.controls - package com.csse3200.game.components.controls
- com.csse3200.game.components.gamearea - package com.csse3200.game.components.gamearea
- com.csse3200.game.components.InitialSequence - package com.csse3200.game.components.InitialSequence
- com.csse3200.game.components.joinable - package com.csse3200.game.components.joinable
- com.csse3200.game.components.maingame - package com.csse3200.game.components.maingame
- com.csse3200.game.components.mainmenu - package com.csse3200.game.components.mainmenu
- com.csse3200.game.components.MiniDisplay - package com.csse3200.game.components.MiniDisplay
- com.csse3200.game.components.npc - package com.csse3200.game.components.npc
- com.csse3200.game.components.obstacleMinigame - package com.csse3200.game.components.obstacleMinigame
- com.csse3200.game.components.player - package com.csse3200.game.components.player
- com.csse3200.game.components.resources - package com.csse3200.game.components.resources
- com.csse3200.game.components.settingsmenu - package com.csse3200.game.components.settingsmenu
- com.csse3200.game.components.ships - package com.csse3200.game.components.ships
- com.csse3200.game.components.spacenavigation - package com.csse3200.game.components.spacenavigation
- com.csse3200.game.components.story - package com.csse3200.game.components.story
- com.csse3200.game.components.structures - package com.csse3200.game.components.structures
- com.csse3200.game.components.structures.tools - package com.csse3200.game.components.structures.tools
- com.csse3200.game.components.tasks - package com.csse3200.game.components.tasks
- com.csse3200.game.components.upgradetree - package com.csse3200.game.components.upgradetree
- com.csse3200.game.components.Weapons - package com.csse3200.game.components.Weapons
- com.csse3200.game.components.Weapons.SpecWeapon - package com.csse3200.game.components.Weapons.SpecWeapon
- com.csse3200.game.concurrency - package com.csse3200.game.concurrency
- com.csse3200.game.entities - package com.csse3200.game.entities
- com.csse3200.game.entities.buildables - package com.csse3200.game.entities.buildables
- com.csse3200.game.entities.configs - package com.csse3200.game.entities.configs
- com.csse3200.game.entities.enemies - package com.csse3200.game.entities.enemies
- com.csse3200.game.entities.factories - package com.csse3200.game.entities.factories
- com.csse3200.game.events - package com.csse3200.game.events
- com.csse3200.game.events.listeners - package com.csse3200.game.events.listeners
- com.csse3200.game.files - package com.csse3200.game.files
- com.csse3200.game.input - package com.csse3200.game.input
- com.csse3200.game.physics - package com.csse3200.game.physics
- com.csse3200.game.physics.components - package com.csse3200.game.physics.components
- com.csse3200.game.physics.raycast - package com.csse3200.game.physics.raycast
- com.csse3200.game.rendering - package com.csse3200.game.rendering
- com.csse3200.game.screens - package com.csse3200.game.screens
- com.csse3200.game.services - package com.csse3200.game.services
- com.csse3200.game.ui - package com.csse3200.game.ui
- com.csse3200.game.ui.terminal - package com.csse3200.game.ui.terminal
- com.csse3200.game.ui.terminal.commands - package com.csse3200.game.ui.terminal.commands
- com.csse3200.game.utils - package com.csse3200.game.utils
- com.csse3200.game.utils.math - package com.csse3200.game.utils.math
- CombatStatsComponent - Class in com.csse3200.game.components
-
Component used to store information related to combat such as health, attack, etc.
- CombatStatsComponent(int, int, int, boolean) - Constructor for class com.csse3200.game.components.CombatStatsComponent
-
Initializes a CombatStatsComponent with specified attributes.
- CombatStatsComponent(int, int, int, boolean, int) - Constructor for class com.csse3200.game.components.CombatStatsComponent
-
Initializes a CombatStatsComponent for a player with specified attributes.
- Command - Interface in com.csse3200.game.ui.terminal.commands
-
A generic command class.
- companion - Variable in class com.csse3200.game.areas.GameArea
- companion - Variable in class com.csse3200.game.components.Companion.CompanionStatsDisplay
- COMPANION - Static variable in class com.csse3200.game.physics.PhysicsLayer
- COMPANION_ATTACK_MODE_SPEED - Static variable in class com.csse3200.game.components.Companion.CompanionActions
- COMPANION_DEATH - Enum constant in enum class com.csse3200.game.GdxGame.ScreenType
- COMPANION_MODE_ATTACK - Static variable in class com.csse3200.game.components.Companion.CompanionActions
- COMPANION_MODE_NORMAL - Static variable in class com.csse3200.game.components.Companion.CompanionActions
- COMPANION_NORMAL_MODE_SPEED - Static variable in class com.csse3200.game.components.Companion.CompanionActions
- CompanionActions - Class in com.csse3200.game.components.Companion
-
This class represents the action component for interacting with a Companion entity.
- CompanionActions() - Constructor for class com.csse3200.game.components.Companion.CompanionActions
- CompanionAnimationController - Class in com.csse3200.game.components.Companion
-
This class represents the animation controller component for a companion entity.
- CompanionAnimationController() - Constructor for class com.csse3200.game.components.Companion.CompanionAnimationController
- companionConfig - Variable in class com.csse3200.game.areas.mapConfig.GameAreaConfig
- CompanionConfig - Class in com.csse3200.game.entities.configs
-
Defines the properties stored in Companion config files to be loaded by the Companion Factory.
- CompanionConfig() - Constructor for class com.csse3200.game.entities.configs.CompanionConfig
- CompanionDeathScreen - Class in com.csse3200.game.screens
-
The screen displayed when the companion character dies in the game.
- CompanionDeathScreen(GdxGame) - Constructor for class com.csse3200.game.screens.CompanionDeathScreen
-
Constructs the CompanionDeathScreen with the given game instance.
- CompanionDeathScreenActions - Class in com.csse3200.game.components.Companion
-
This class defines the actions to be taken when the companion character dies in the game.
- CompanionDeathScreenActions(GdxGame) - Constructor for class com.csse3200.game.components.Companion.CompanionDeathScreenActions
-
Constructs a CompanionDeathScreenActions instance.
- CompanionDeathScreenDisplay - Class in com.csse3200.game.components.Companion
- CompanionDeathScreenDisplay() - Constructor for class com.csse3200.game.components.Companion.CompanionDeathScreenDisplay
- CompanionFactory - Class in com.csse3200.game.entities.factories
-
Factory to create a companion entity.
- companionHealthLabel - Variable in class com.csse3200.game.components.Companion.CompanionStatsDisplay
- CompanionInteractionControllerComponent - Class in com.csse3200.game.components.Companion
- CompanionInteractionControllerComponent() - Constructor for class com.csse3200.game.components.Companion.CompanionInteractionControllerComponent
- CompanionInventoryComponent - Class in com.csse3200.game.components.Companion
-
CompanionInventoryComponent handles all the inventory management for the companion.
- CompanionInventoryComponent() - Constructor for class com.csse3200.game.components.Companion.CompanionInventoryComponent
- CompanionInventoryDisplay - Class in com.csse3200.game.components.Companion
- CompanionInventoryDisplay(Texture, CompanionInventoryComponent) - Constructor for class com.csse3200.game.components.Companion.CompanionInventoryDisplay
- companionMode - Variable in class com.csse3200.game.components.Companion.CompanionActions
- companionModeLabel - Variable in class com.csse3200.game.components.Companion.CompanionStatsDisplay
- CompanionStatsDisplay - Class in com.csse3200.game.components.Companion
-
A UI component for displaying Companion stats, e.g., health.
- CompanionStatsDisplay() - Constructor for class com.csse3200.game.components.Companion.CompanionStatsDisplay
-
Default constructor for CompanionStatsDisplay.
- companionUIHeaderLabel - Variable in class com.csse3200.game.components.Companion.CompanionStatsDisplay
- compareTo(Renderable) - Method in class com.csse3200.game.rendering.RenderComponent
- Component - Class in com.csse3200.game.components
-
Core component class from which all components inherit.
- Component() - Constructor for class com.csse3200.game.components.Component
- components - Variable in class com.csse3200.game.entities.Entity
- ComponentType - Class in com.csse3200.game.components
-
Internal type system for components.
- config - Variable in class com.csse3200.game.components.Weapons.WeaponControllerComponent
- configs - Static variable in class com.csse3200.game.entities.factories.PowerupFactory
- contains(short, short) - Static method in class com.csse3200.game.physics.PhysicsLayer
- contains(V) - Method in class com.csse3200.game.utils.SortedIntMap
- containsAsset(String, Class<T>) - Method in class com.csse3200.game.services.ResourceService
-
Check if an asset has been loaded already
- containsKey(int) - Method in class com.csse3200.game.utils.SortedIntMap
- CONTROL_SCREEN - Enum constant in enum class com.csse3200.game.GdxGame.ScreenType
- ControlsScreen - Class in com.csse3200.game.screens
- ControlsScreen(GdxGame) - Constructor for class com.csse3200.game.screens.ControlsScreen
- ControlsScreenActions - Class in com.csse3200.game.components.controls
-
A component that defines actions and event listeners for the Controls Screen.
- ControlsScreenActions(GdxGame) - Constructor for class com.csse3200.game.components.controls.ControlsScreenActions
-
Creates a new instance of ControlsScreenActions.
- ControlsScreenDisplay - Class in com.csse3200.game.components.controls
-
A UI component responsible for displaying the controls screen's user interface.
- ControlsScreenDisplay() - Constructor for class com.csse3200.game.components.controls.ControlsScreenDisplay
- cost - Variable in class com.csse3200.game.components.structures.ToolConfig
-
A map containing the tools cost for each resource
- cost - Variable in class com.csse3200.game.components.structures.tools.Tool
-
The cost associated with the tool.
- CostComponent - Class in com.csse3200.game.components.structures
-
Used to charge the player resources when a structure is placed and refund the player resources when a structure is picked up.
- CostComponent(ObjectMap<String, Integer>) - Constructor for class com.csse3200.game.components.structures.CostComponent
-
Creates a new CostComponent with the given cost.
- create() - Method in class com.csse3200.game.areas.ExtractorMiniGameArea
- create() - Method in class com.csse3200.game.areas.GameArea
-
Create the game area in the world.
- create() - Method in class com.csse3200.game.areas.MapGameArea
-
Create the game area
- create() - Method in class com.csse3200.game.areas.ShopArea
-
Main method for calling all the methods in the ShopArea into the UpgradeShopScreen class
- create() - Method in class com.csse3200.game.areas.SpaceGameArea
-
Main method for calling all the methods in the obstacle minigame into the SpaceMapScreen class
- create() - Method in class com.csse3200.game.components.Companion.CompanionActions
-
Initialise the companion to be facing the player.
- create() - Method in class com.csse3200.game.components.Companion.CompanionAnimationController
-
Creates the CompanionAnimationController and sets up event listeners for animations.
- create() - Method in class com.csse3200.game.components.Companion.CompanionDeathScreenActions
-
Initializes the component and sets up event listeners for exit and respawn events.
- create() - Method in class com.csse3200.game.components.Companion.CompanionDeathScreenDisplay
- create() - Method in class com.csse3200.game.components.Companion.CompanionStatsDisplay
-
Creates reusable UI styles and adds actors to the stage.
- create() - Method in class com.csse3200.game.components.Component
-
Called when the entity is created and registered.
- create() - Method in class com.csse3200.game.components.controls.ControlsScreenActions
-
Called when this component is created.
- create() - Method in class com.csse3200.game.components.controls.ControlsScreenDisplay
- create() - Method in class com.csse3200.game.components.DeathComponent
-
Creates a new listener on an entity to wait for kill condition
- create() - Method in class com.csse3200.game.components.EnvironmentalAttackComponent
-
Creates new listener waiting for projectile entity to interact with another entity
- create() - Method in class com.csse3200.game.components.ExtractorRepairPartComponent
- create() - Method in class com.csse3200.game.components.gamearea.GameAreaDisplay
- create() - Method in class com.csse3200.game.components.gamearea.PerformanceDisplay
- create() - Method in class com.csse3200.game.components.gamearea.PlanetHudDisplay
- create() - Method in class com.csse3200.game.components.HealthBarComponent
-
Creates reusable ui styles and adds actors to map
- create() - Method in class com.csse3200.game.components.InitialSequence.InitialScreenDisplay
- create() - Method in class com.csse3200.game.components.ItemPickupComponent
-
Initializes the ItemPickupComponent and sets up collision event listeners for item pickups.
- create() - Method in class com.csse3200.game.components.joinable.JoinableComponent
- create() - Method in class com.csse3200.game.components.maingame.MainGameActions
- create() - Method in class com.csse3200.game.components.maingame.MainGameExitDisplay
- create() - Method in class com.csse3200.game.components.maingame.ReturnToPlanetDisplay
- create() - Method in class com.csse3200.game.components.mainmenu.MainMenuActions
- create() - Method in class com.csse3200.game.components.mainmenu.MainMenuDisplay
- create() - Method in class com.csse3200.game.components.MiniDisplay.MiniScreenDisplay
- create() - Method in class com.csse3200.game.components.npc.AstroAnimationController
- create() - Method in class com.csse3200.game.components.npc.BotanistAnimationController
- create() - Method in class com.csse3200.game.components.npc.EnemyAnimationController
-
Add actions listener to the entity
- create() - Method in class com.csse3200.game.components.npc.FireAnimationController
- create() - Method in class com.csse3200.game.components.npc.JailAnimationController
- create() - Method in class com.csse3200.game.components.obstacleMinigame.ObstacleMiniGameActions
- create() - Method in class com.csse3200.game.components.ParticleComponent
-
Loads the effects specified in the config file into a hashmap for later use.
- create() - Method in class com.csse3200.game.components.player.ActionFeedbackComponent
-
Adds two listeners to the entities events which, when invoked, can be used to create and display custom warning alerts.
- create() - Method in class com.csse3200.game.components.player.AlertUIComponent
-
Creates the UI layout for the component.
- create() - Method in class com.csse3200.game.components.player.DeathScreenActions
-
Overrides create() function to add Listeners.
- create() - Method in class com.csse3200.game.components.player.DeathScreenDisplay
- create() - Method in class com.csse3200.game.components.player.InventoryComponent
- create() - Method in class com.csse3200.game.components.player.InventoryDisplayComponent
-
Creates UI styles and adds actors to the stage.
- create() - Method in class com.csse3200.game.components.player.PlayerActions
- create() - Method in class com.csse3200.game.components.player.PlayerAnimationController
-
Adds event listener to the entity to change the animations
- create() - Method in class com.csse3200.game.components.player.PlayerStatsDisplay
-
Creates reusable ui styles and adds actors to the stage.
- create() - Method in class com.csse3200.game.components.player.WeaponComponent
-
Function to Set up "weaponAttack" listener to respond to attacks with a weapon
- create() - Method in class com.csse3200.game.components.PowerupComponent
-
Overrides the Component create() function
- create() - Method in class com.csse3200.game.components.PowerUpDisplayHUD
- create() - Method in class com.csse3200.game.components.ProjectileAttackComponent
-
Creates new listener waiting for projectile entity to interact with another entity
- create() - Method in class com.csse3200.game.components.resources.ProductionComponent
- create() - Method in class com.csse3200.game.components.resources.ResourceDisplay
-
Creates reusable ui styles and adds actors to the stage.
- create() - Method in class com.csse3200.game.components.settingsmenu.SettingsMenuDisplay
- create() - Method in class com.csse3200.game.components.ships.DistanceDisplay
-
Method for creating actors to go on stage
- create() - Method in class com.csse3200.game.components.ships.ExitShopDisplay
-
Main method for calling all the methods in the class
- create() - Method in class com.csse3200.game.components.ships.ShipActions
-
Initialize animation and physics of the ship
- create() - Method in class com.csse3200.game.components.ships.ShipAnimationController
-
Changes animation based on ship velocity
- create() - Method in class com.csse3200.game.components.ships.ShipStatDisplay
-
Creates reusable ui styles and adds actors to the stage.
- create() - Method in class com.csse3200.game.components.SoundComponent
-
Loads the sounds specified in the config file into a hashmap for later use.
- create() - Method in class com.csse3200.game.components.story.StoryActions
-
Called when this component is created.
- create() - Method in class com.csse3200.game.components.story.StoryDisplay
- create() - Method in class com.csse3200.game.components.structures.ExtractorAnimationController
-
Adds action listener to the extractor
- create() - Method in class com.csse3200.game.components.structures.StructureToolPicker
-
Adds actors to the stage on creation
- create() - Method in class com.csse3200.game.components.TouchAttackComponent
-
Creates listener that checks if current entity and a target entity come into contact.
- create() - Method in class com.csse3200.game.components.Weapons.SpecWeapon.MeleeSwingController
- create() - Method in class com.csse3200.game.components.Weapons.SpecWeapon.ProjectileController
- create() - Method in class com.csse3200.game.components.Weapons.WeaponControllerComponent
-
Create class - implemented class implement initial weapon setup including adding required animations and controlling initial movement direction and animation
- create() - Method in class com.csse3200.game.entities.Entity
-
Create the entity and start running.
- create() - Method in class com.csse3200.game.GdxGame
- create() - Method in class com.csse3200.game.input.InputComponent
- create() - Method in class com.csse3200.game.physics.components.ColliderComponent
- create() - Method in class com.csse3200.game.physics.components.HitboxComponent
- create() - Method in class com.csse3200.game.physics.components.PhysicsComponent
- create() - Method in class com.csse3200.game.physics.components.PhysicsMovementComponent
- create() - Method in class com.csse3200.game.rendering.RenderComponent
- create() - Method in class com.csse3200.game.screens.SettingsScreen
- create() - Method in class com.csse3200.game.ui.terminal.KeyboardTerminalInputComponent
- create() - Method in class com.csse3200.game.ui.terminal.TerminalDisplay
- create() - Method in class com.csse3200.game.ui.terminal.TouchTerminalInputComponent
- create() - Method in class com.csse3200.game.ui.UIComponent
- create(TaskRunner) - Method in class com.csse3200.game.ai.tasks.DefaultTask
- create(TaskRunner) - Method in interface com.csse3200.game.ai.tasks.Task
-
Create the task and attach it to the task runner.
- createAmmoBar(Table) - Method in class com.csse3200.game.components.player.PlayerStatsDisplay
-
Creates the weapons ammo UI for the HUD
- createAsteroid(float, float) - Static method in class com.csse3200.game.entities.factories.ObstacleFactory
-
Creates an Asteroid that has bounce
- createAsteroid(AsteroidConfig) - Static method in class com.csse3200.game.entities.factories.ObstacleFactory
-
Creates an Asteroid that has bounce from config
- createAstro() - Static method in class com.csse3200.game.entities.factories.NPCFactory
-
Creates a Astro NPC to match the config file
- createAttack(WeaponConfig, float, Entity, int) - Static method in class com.csse3200.game.entities.factories.AttackFactory
-
Static function to create a new weapon entity
- createAttacks(WeaponType, float, Entity) - Static method in class com.csse3200.game.entities.factories.AttackFactory
-
function to generate multiple attacks in a sequence attack
- createBaseBullet() - Static method in class com.csse3200.game.entities.factories.ProjectileFactory
-
Creates the base projectile entity with the default components.
- createBody(BodyDef) - Method in class com.csse3200.game.physics.PhysicsEngine
- createBorder(float, float) - Static method in class com.csse3200.game.entities.factories.ObstacleFactory
- createBotanist() - Static method in class com.csse3200.game.entities.factories.NPCFactory
-
Creates a generic Botanist NPC entity.
- createBotanist(BotanistConfig) - Static method in class com.csse3200.game.entities.factories.NPCFactory
- createCamera() - Static method in class com.csse3200.game.entities.factories.RenderFactory
- createCompanion() - Static method in class com.csse3200.game.entities.factories.CompanionFactory
- createCompanion(CompanionConfig) - Static method in class com.csse3200.game.entities.factories.CompanionFactory
-
Create a Companion entity matching the config file
- createCostButtons(UpgradeNode, ImageButton) - Method in class com.csse3200.game.components.upgradetree.UpgradeDisplay
-
Creates a cost button for a given upgrade node.
- createCustomTurret(TurretType, Entity) - Static method in class com.csse3200.game.entities.factories.BuildablesFactory
- createCustomTurret(TurretType, Entity) - Static method in class com.csse3200.game.entities.factories.ObstacleFactory
- createCustomTurret(TurretConfig) - Static method in class com.csse3200.game.entities.factories.ObstacleFactory
- createDeathPotion() - Static method in class com.csse3200.game.entities.factories.PowerupFactory
- createDodgeBar(Table) - Method in class com.csse3200.game.components.player.PlayerStatsDisplay
-
Creates the dodge bar for the HUD
- createDoubleCrossPowerup() - Static method in class com.csse3200.game.entities.factories.PowerupFactory
-
Creates a double cross power-up entity.
- createDoubleDamagePowerup() - Static method in class com.csse3200.game.entities.factories.PowerupFactory
-
Creates a double damage power-up entity.
- createEnemy(EnemyConfig) - Static method in class com.csse3200.game.entities.factories.EnemyFactory
-
Creates a melee enemy entity.
- createEnemy(EnemyType, EnemyBehaviour) - Static method in class com.csse3200.game.entities.factories.EnemyFactory
-
Creates an enemy - using the default config as defined by the type and behaviour
- createEnemyBullet(Vector2, Entity) - Static method in class com.csse3200.game.entities.factories.ProjectileFactory
-
Creates A projectile, using the stats of the shooter which will fire towards a certain location.
- createEnemyBullet(Vector2, Entity, EnemyBulletConfig) - Static method in class com.csse3200.game.entities.factories.ProjectileFactory
-
Creates a projectile, using the stats of the shooter which will fire towards a certain location.
- createEnvironment() - Static method in class com.csse3200.game.entities.factories.ObstacleFactory
-
Creates a visible obstacle
- createEnvironment(float, float, float, float) - Static method in class com.csse3200.game.entities.factories.ObstacleFactory
-
Creates an obstacle with a custom sized collision box
- createEnvironment(TiledMapTileLayer) - Static method in class com.csse3200.game.entities.factories.EnvironmentFactory
-
Creates all entities for a specified layer of the map.
- createExtinguisher(TerrainComponent, ExtractorMiniGameArea) - Static method in class com.csse3200.game.entities.factories.StructureFactory
- createExtractor(int, Resource, long, int) - Static method in class com.csse3200.game.entities.factories.StructureFactory
-
Creates an extractor entity
- createExtractor(ExtractorConfig) - Static method in class com.csse3200.game.entities.factories.StructureFactory
-
Creates an extractor entity
- createExtractorBang() - Static method in class com.csse3200.game.entities.factories.StructureFactory
- createExtractorFirePart(TerrainComponent, ExtractorMiniGameArea) - Static method in class com.csse3200.game.entities.factories.StructureFactory
- createExtractorHolePart(TerrainComponent, ExtractorMiniGameArea) - Static method in class com.csse3200.game.entities.factories.StructureFactory
- createExtractorRepair() - Static method in class com.csse3200.game.entities.factories.StructureFactory
- createExtractorRepairPart() - Static method in class com.csse3200.game.entities.factories.StructureFactory
- createExtraLifePowerup() - Static method in class com.csse3200.game.entities.factories.PowerupFactory
-
Creates a extra life power-up entity.
- createFire() - Static method in class com.csse3200.game.entities.factories.NPCFactory
- createForCompanion() - Method in class com.csse3200.game.input.InputFactory
-
Creates an input handler for the companion
- createForCompanion() - Method in class com.csse3200.game.input.KeyboardInputFactory
-
Creates an input handler for the Companion.
- createForCompanion() - Method in class com.csse3200.game.input.TouchInputFactory
-
Creates an input handler for the Companion
- createForPlayer() - Method in class com.csse3200.game.input.InputFactory
-
Creates an input handler for the player
- createForPlayer() - Method in class com.csse3200.game.input.KeyboardInputFactory
-
Creates an input handler for the player.
- createForPlayer() - Method in class com.csse3200.game.input.TouchInputFactory
-
Creates an input handler for the player
- createForShip() - Method in class com.csse3200.game.input.InputFactory
-
Creates an input handler for the ship
- createForShip() - Method in class com.csse3200.game.input.KeyboardInputFactory
- createForShip() - Method in class com.csse3200.game.input.TouchInputFactory
- createForTerminal() - Method in class com.csse3200.game.input.InputFactory
-
Creates an input handler for the terminal
- createForTerminal() - Method in class com.csse3200.game.input.KeyboardInputFactory
-
Creates an input handler for the terminal.
- createForTerminal() - Method in class com.csse3200.game.input.TouchInputFactory
-
Creates an input handler for the terminal
- createFromInputType(InputFactory.InputType) - Static method in class com.csse3200.game.input.InputFactory
- createFuelUpgrade() - Static method in class com.csse3200.game.entities.factories.ShipUpgradesFactory
-
Create the fuel upgrade for the ship
- createGate(Entity) - Static method in class com.csse3200.game.entities.factories.BuildablesFactory
-
Creates a gate which can be placed on the map.
- createHealthBar(Table) - Method in class com.csse3200.game.components.player.PlayerStatsDisplay
-
Creates the heath bar for the player HUD
- createHealthPowerup() - Static method in class com.csse3200.game.entities.factories.PowerupFactory
-
Creates a health boost power-up entity.
- createHealthUpgrade() - Static method in class com.csse3200.game.entities.factories.ShipUpgradesFactory
-
Create the health upgrade for the ship
- createInventoryButton(Table) - Method in class com.csse3200.game.components.Companion.CompanionStatsDisplay
- createJail() - Static method in class com.csse3200.game.entities.factories.NPCFactory
- createJoint(JointDef) - Method in class com.csse3200.game.physics.PhysicsEngine
- createLaboratory() - Static method in class com.csse3200.game.entities.factories.LaboratoryFactory
-
Creates a new laboratory entity with default properties.
- createLivesBar(Table) - Method in class com.csse3200.game.components.player.PlayerStatsDisplay
-
Creates the player lives UI for the HUD
- createMinigameShip() - Static method in class com.csse3200.game.entities.factories.MinigameShipFactory
-
Creates a new minigame ship to match the config file
- createObstacleEnemy(float, float) - Static method in class com.csse3200.game.entities.factories.ObstacleFactory
- createObstacleEnemy(BaseEntityConfig) - Static method in class com.csse3200.game.entities.factories.ObstacleFactory
-
Create an obstacle enemy to match given config file
- createObstacleGameGoal(float, float) - Static method in class com.csse3200.game.entities.factories.ObstacleFactory
- createObstacleGameGoal(BaseEntityConfig) - Static method in class com.csse3200.game.entities.factories.ObstacleFactory
- createPlatform() - Static method in class com.csse3200.game.entities.factories.PlatformFactory
- createPlayer() - Static method in class com.csse3200.game.entities.factories.PlayerFactory
-
Create a player entity.
- createPlayer(PlayerConfig) - Static method in class com.csse3200.game.entities.factories.PlayerFactory
-
Create a player entity.
- createPlayerWeapon(WeaponType, Entity) - Static method in class com.csse3200.game.entities.factories.PlayerWeaponFactory
-
Static function to create a new weapon entity
- createPopup(Resource) - Static method in class com.csse3200.game.entities.factories.PopupFactory
- createPortal(Entity, PortalConfig) - Static method in class com.csse3200.game.entities.factories.PortalFactory
- createPowerup(PowerupConfig) - Static method in class com.csse3200.game.entities.factories.PowerupFactory
-
Creates a powerup entity based on the specified type.
- createRenderer() - Static method in class com.csse3200.game.entities.factories.RenderFactory
- createShip(GdxGame, List<ResourceCondition>) - Static method in class com.csse3200.game.entities.factories.StructureFactory
-
Creates a ship entity that uses the default package
- createShip(GdxGame, List<ResourceCondition>, ShipConfig) - Static method in class com.csse3200.game.entities.factories.StructureFactory
-
Creates a ship entity that matches the config file
- createSnapPowerup() - Static method in class com.csse3200.game.entities.factories.PowerupFactory
-
Creates a snap power-up entity.
- createSpaceTerrain(TerrainFactory.TerrainType) - Method in class com.csse3200.game.areas.terrain.TerrainFactory
- createSpanner(TerrainComponent, ExtractorMiniGameArea) - Static method in class com.csse3200.game.entities.factories.StructureFactory
- createSpawner(SpawnerConfig) - Static method in class com.csse3200.game.entities.factories.StructureFactory
-
Create an enemy spawner that spawns the desired enemies at a given tick rate and at a given location on the map
- createSpeedPowerup() - Static method in class com.csse3200.game.entities.factories.PowerupFactory
-
Creates a speed boost power-up entity.
- createStaticAsteroid(float, float) - Static method in class com.csse3200.game.entities.factories.ObstacleFactory
- createStaticAsteroid(AsteroidConfig) - Static method in class com.csse3200.game.entities.factories.ObstacleFactory
-
Create a new static asteroid from the given config file
- createStructure(Entity) - Method in class com.csse3200.game.components.structures.tools.BasicWallTool
-
Creates a new basic wall.
- createStructure(Entity) - Method in class com.csse3200.game.components.structures.tools.ExtractorTool
-
Creates a new extractor producing the resource of the location it is being placed, and increments the total amount of tracked extractors of this type
- createStructure(Entity) - Method in class com.csse3200.game.components.structures.tools.GateTool
- createStructure(Entity) - Method in class com.csse3200.game.components.structures.tools.IntermediateWallTool
-
Creates an intermediate wall to place.
- createStructure(Entity) - Method in class com.csse3200.game.components.structures.tools.PlacementTool
-
Creates the structure to be placed.
- createStructure(Entity) - Method in class com.csse3200.game.components.structures.tools.ReplacementTool
-
Creates the structure to be placed.
- createStructure(Entity) - Method in class com.csse3200.game.components.structures.tools.TurretTool
-
Creates a new turret.
- createTempImmunityPowerup() - Static method in class com.csse3200.game.entities.factories.PowerupFactory
-
Creates a temp immunity power-up entity.
- createTerrain(String) - Method in class com.csse3200.game.areas.terrain.TerrainFactory
-
Create a terrain of the given type, using the orientation of the factory.
- createTree() - Static method in class com.csse3200.game.entities.factories.ObstacleFactory
-
Creates a tree entity.
- createTree(BaseEntityConfig) - Static method in class com.csse3200.game.entities.factories.ObstacleFactory
-
Creates a tree entity.
- createTreeTop(TreeTopConfig) - Static method in class com.csse3200.game.entities.factories.ObstacleFactory
-
Creates a tree top entity.
- createUpgrade(ShipUpgradesConfig) - Static method in class com.csse3200.game.entities.factories.ShipUpgradesFactory
-
Based on given ShipUpgradesConfig, create the relevant stat upgrade
- createUpgradeDisplay() - Static method in class com.csse3200.game.components.upgradetree.UpgradeDisplay
-
Factory method for creating an instance of UpgradeDisplay.
- createUpgradeDisplay(CompanionInventoryComponent) - Static method in class com.csse3200.game.components.Companion.CompanionInventoryDisplay
- createUpgradeTreeButton(Table) - Method in class com.csse3200.game.components.gamearea.PlanetHudDisplay
- createUpgradeTreeButton(Table) - Method in class com.csse3200.game.components.player.PlayerStatsDisplay
- createWall(float, float) - Static method in class com.csse3200.game.entities.factories.ObstacleFactory
-
Creates an invisible physics wall.
- createWall(WallType, Entity) - Static method in class com.csse3200.game.entities.factories.BuildablesFactory
-
Creates a wall which can be placed on the map.
- currentAmmo - Variable in class com.csse3200.game.entities.buildables.Turret
- currentRotation - Variable in class com.csse3200.game.components.Weapons.WeaponControllerComponent
D
- damage - Variable in class com.csse3200.game.entities.configs.TurretConfig
- damage - Variable in class com.csse3200.game.entities.configs.WeaponConfig
- damage(CombatStatsComponent) - Method in class com.csse3200.game.components.EnvironmentStatsComponent
- DamageTextureComponent - Class in com.csse3200.game.rendering
-
A Rendering component used to switch between different textures based on the current entity's health.
- DamageTextureComponent(Texture) - Constructor for class com.csse3200.game.rendering.DamageTextureComponent
-
Creates a DamageTextureComponent with the given texture
- DamageTextureComponent(String) - Constructor for class com.csse3200.game.rendering.DamageTextureComponent
-
Creates a DamageTextureComponent with the given texture
- death_potion - Variable in class com.csse3200.game.entities.configs.PowerupConfigs
- DEATH_POTION - Enum constant in enum class com.csse3200.game.components.PowerupType
- DeathComponent - Class in com.csse3200.game.components
-
When this entity (usually killable entities) has health = 0, it disposes the enemy form the field of play.
- DeathComponent() - Constructor for class com.csse3200.game.components.DeathComponent
- DeathScreenActions - Class in com.csse3200.game.components.player
-
This class listens to events relevant to the Death Screen and does something when one of the events is triggered.
- DeathScreenActions(GdxGame, int) - Constructor for class com.csse3200.game.components.player.DeathScreenActions
- DeathScreenDisplay - Class in com.csse3200.game.components.player
-
The UI component responsible for rendering and managing the death screen interface.
- DeathScreenDisplay(int) - Constructor for class com.csse3200.game.components.player.DeathScreenDisplay
- DebugCommand - Class in com.csse3200.game.ui.terminal.commands
-
A command for toggling debug mode on and off.
- DebugCommand() - Constructor for class com.csse3200.game.ui.terminal.commands.DebugCommand
- DebugRenderer - Class in com.csse3200.game.rendering
-
Provides functionality to draw lines/shapes to the screen for debug purposes.
- DebugRenderer() - Constructor for class com.csse3200.game.rendering.DebugRenderer
- DebugRenderer(Box2DDebugRenderer, ShapeRenderer) - Constructor for class com.csse3200.game.rendering.DebugRenderer
- DEFAULT - Enum constant in enum class com.csse3200.game.areas.ExtractorMiniGameArea.MouseState
- DEFAULT - Static variable in class com.csse3200.game.physics.PhysicsLayer
- defaultShip - Static variable in class com.csse3200.game.entities.factories.StructureFactory
- DefaultTask - Class in com.csse3200.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.csse3200.game.ai.tasks.DefaultTask
- description - Variable in class com.csse3200.game.components.structures.ToolConfig
-
A short description of what the tool does
- description - Variable in class com.csse3200.game.entities.configs.WeaponConfig
- destroyBody(Body) - Method in class com.csse3200.game.physics.PhysicsEngine
- destroyJoint(Joint) - Method in class com.csse3200.game.physics.PhysicsEngine
- DialogComponent - Class in com.csse3200.game.ui
- DialogComponent(DialogueBox) - Constructor for class com.csse3200.game.ui.DialogComponent
-
Creates a new DialogComponent with the given DialogueBox instance.
- dialogueBox - Static variable in class com.csse3200.game.entities.factories.EnemyFactory
- dialogueBox - Static variable in class com.csse3200.game.entities.factories.NPCFactory
-
The shared dialogue box instance used by NPCs.
- DialogueBox - Class in com.csse3200.game.ui
-
A custom dialog box for displaying in-game dialogues with an OK button.
- DialogueBox(String, String, Skin) - Constructor for class com.csse3200.game.ui.DialogueBox
-
Creates a new DialogueBox instance.
- didHit - Variable in class com.csse3200.game.physics.raycast.SingleHitCallback
- DISPLAY_ONLY - Static variable in class com.csse3200.game.physics.PhysicsLayer
- displayMode - Variable in class com.csse3200.game.files.UserSettings.Settings
- DisplaySettings() - Constructor for class com.csse3200.game.files.UserSettings.DisplaySettings
- DisplaySettings(Graphics.DisplayMode) - Constructor for class com.csse3200.game.files.UserSettings.DisplaySettings
- displayWarning(String) - Method in class com.csse3200.game.components.player.ActionFeedbackComponent
-
Displays an alert at the entities current position.
- displayWarningAtPosition(String, Vector2) - Method in class com.csse3200.game.components.player.ActionFeedbackComponent
-
Displays an alert at the given position.
- dispose() - Method in class com.csse3200.game.ai.tasks.AITaskComponent
- dispose() - Method in class com.csse3200.game.areas.ExtractorMiniGameArea
- dispose() - Method in class com.csse3200.game.areas.GameArea
-
Dispose of all internal entities in the area
- dispose() - Method in class com.csse3200.game.areas.MapGameArea
- dispose() - Method in class com.csse3200.game.areas.ShopArea
- dispose() - Method in class com.csse3200.game.areas.SpaceGameArea
-
Override method for disposing and unloading assets
- dispose() - Method in class com.csse3200.game.areas.terrain.TerrainComponent
- dispose() - Method in class com.csse3200.game.components.Companion.CompanionDeathScreenDisplay
- dispose() - Method in class com.csse3200.game.components.Companion.CompanionStatsDisplay
-
remove all labels form the screen when disposing
- dispose() - Method in class com.csse3200.game.components.Component
-
Called when the component is disposed.
- dispose() - Method in class com.csse3200.game.components.controls.ControlsScreenDisplay
- dispose() - Method in class com.csse3200.game.components.ExtractorRepairPartComponent
- dispose() - Method in class com.csse3200.game.components.gamearea.GameAreaDisplay
- dispose() - Method in class com.csse3200.game.components.gamearea.PerformanceDisplay
- dispose() - Method in class com.csse3200.game.components.gamearea.PlanetHudDisplay
- dispose() - Method in class com.csse3200.game.components.HealthBarComponent
- dispose() - Method in class com.csse3200.game.components.InitialSequence.InitialScreenDisplay
- dispose() - Method in class com.csse3200.game.components.maingame.MainGameExitDisplay
- dispose() - Method in class com.csse3200.game.components.maingame.ReturnToPlanetDisplay
- dispose() - Method in class com.csse3200.game.components.mainmenu.MainMenuDisplay
- dispose() - Method in class com.csse3200.game.components.MiniDisplay.MiniScreenDisplay
- dispose() - Method in class com.csse3200.game.components.player.DeathScreenDisplay
- dispose() - Method in class com.csse3200.game.components.player.PlayerStatsDisplay
- dispose() - Method in class com.csse3200.game.components.PowerUpDisplayHUD
- dispose() - Method in class com.csse3200.game.components.settingsmenu.SettingsMenuDisplay
- dispose() - Method in class com.csse3200.game.components.ships.DistanceDisplay
-
Method for disposing and removing the distance label
- dispose() - Method in class com.csse3200.game.components.ships.ExitShopDisplay
- dispose() - Method in class com.csse3200.game.components.ships.ShipStatDisplay
- dispose() - Method in class com.csse3200.game.components.story.StoryDisplay
- dispose() - Method in class com.csse3200.game.entities.Entity
-
Dispose of the entity.
- dispose() - Method in class com.csse3200.game.entities.EntityService
-
Dispose all entities.
- dispose() - Method in class com.csse3200.game.GdxGame
- dispose() - Method in class com.csse3200.game.input.ExtinguisherInputComponent
- dispose() - Method in class com.csse3200.game.input.InputComponent
- dispose() - Method in class com.csse3200.game.input.SpannerInputComponent
- dispose() - Method in class com.csse3200.game.physics.components.ColliderComponent
- dispose() - Method in class com.csse3200.game.physics.components.PhysicsComponent
- dispose() - Method in class com.csse3200.game.physics.PhysicsEngine
- dispose() - Method in class com.csse3200.game.rendering.AnimationRenderComponent
- dispose() - Method in class com.csse3200.game.rendering.RenderComponent
- dispose() - Method in class com.csse3200.game.rendering.Renderer
- dispose() - Method in class com.csse3200.game.rendering.RenderService
- dispose() - Method in class com.csse3200.game.screens.CompanionDeathScreen
- dispose() - Method in class com.csse3200.game.screens.ControlsScreen
- dispose() - Method in class com.csse3200.game.screens.ExtractorMiniGameScreen
- dispose() - Method in class com.csse3200.game.screens.InitialScreen
- dispose() - Method in class com.csse3200.game.screens.MainMenuScreen
- dispose() - Method in class com.csse3200.game.screens.MiniScreen
- dispose() - Method in class com.csse3200.game.screens.PlanetScreen
-
Do not dispose of all services and renderers on screen switch.
- dispose() - Method in class com.csse3200.game.screens.PlayerDeathScreen
- dispose() - Method in class com.csse3200.game.screens.SettingsScreen
- dispose() - Method in class com.csse3200.game.screens.SpaceMapScreen
-
Method for disposing and unloading all assets onto the main screen
- dispose() - Method in class com.csse3200.game.screens.SpaceNavigationScreen
-
Frees up resources used by this screen.
- dispose() - Method in class com.csse3200.game.screens.StoryScreen
- dispose() - Method in class com.csse3200.game.services.ResourceService
- dispose() - Method in class com.csse3200.game.ui.SpaceMiniTransition
-
Disposes of resources used by the SpaceMiniTransition instance.
- dispose() - Method in class com.csse3200.game.ui.terminal.TerminalDisplay
- DistanceCheckComponent - Class in com.csse3200.game.components
- DistanceCheckComponent(float, InteractLabel) - Constructor for class com.csse3200.game.components.DistanceCheckComponent
- DistanceDisplay - Class in com.csse3200.game.components.ships
-
Class for creating the UI Component for displaying distance
- DistanceDisplay() - Constructor for class com.csse3200.game.components.ships.DistanceDisplay
- dodge() - Method in class com.csse3200.game.components.player.KeyboardPlayerInputComponent
-
Responsible for dodge action Triggers when the spacer is clicked.
- DODGE_DOWN - Static variable in class com.csse3200.game.utils.math.Vector2Utils
- DODGE_LEFT - Static variable in class com.csse3200.game.utils.math.Vector2Utils
- DODGE_RIGHT - Static variable in class com.csse3200.game.utils.math.Vector2Utils
- DODGE_UP - Static variable in class com.csse3200.game.utils.math.Vector2Utils
- DOUBLE_CROSS - Enum constant in enum class com.csse3200.game.components.PowerupType
- DOUBLE_DAMAGE - Enum constant in enum class com.csse3200.game.components.PowerupType
- doubleCrossPowerup - Variable in class com.csse3200.game.entities.configs.PowerupConfigs
- doubleDamagePowerup - Variable in class com.csse3200.game.entities.configs.PowerupConfigs
- DOWN - Enum constant in enum class com.csse3200.game.components.joinable.JoinDirection
- DOWN - Enum constant in enum class com.csse3200.game.components.structures.JoinDirection
- DOWN - Static variable in class com.csse3200.game.utils.math.Vector2Utils
- DOWN_LEFT - Static variable in class com.csse3200.game.utils.math.Vector2Utils
- DOWN_RIGHT - Static variable in class com.csse3200.game.utils.math.Vector2Utils
- draw(Batch, float) - Method in class com.csse3200.game.components.spacenavigation.NavigationBackground
- draw(Batch, float) - Method in class com.csse3200.game.components.spacenavigation.StarBackground
-
Called when the actor should be drawn.
- draw(Batch, float) - Method in class com.csse3200.game.ui.SpaceMiniTransition
-
Draws the actor on the screen.
- draw(Batch, float, float, float, float) - Method in class com.csse3200.game.rendering.ColorDrawable
-
Draws the ColorDrawable to the screen by recoloring a white texture to the defined color.
- draw(SpriteBatch) - Method in class com.csse3200.game.areas.terrain.TerrainComponent
- draw(SpriteBatch) - Method in class com.csse3200.game.components.Companion.CompanionDeathScreenDisplay
- draw(SpriteBatch) - Method in class com.csse3200.game.components.Companion.CompanionStatsDisplay
- draw(SpriteBatch) - Method in class com.csse3200.game.components.controls.ControlsScreenDisplay
- draw(SpriteBatch) - Method in class com.csse3200.game.components.gamearea.GameAreaDisplay
- draw(SpriteBatch) - Method in class com.csse3200.game.components.gamearea.PerformanceDisplay
- draw(SpriteBatch) - Method in class com.csse3200.game.components.gamearea.PlanetHudDisplay
- draw(SpriteBatch) - Method in class com.csse3200.game.components.HealthBarComponent
-
Override the draw method in order to make the UI elements display smaller on the map.
- draw(SpriteBatch) - Method in class com.csse3200.game.components.InitialSequence.InitialScreenDisplay
- draw(SpriteBatch) - Method in class com.csse3200.game.components.maingame.MainGameExitDisplay
- draw(SpriteBatch) - Method in class com.csse3200.game.components.maingame.ReturnToPlanetDisplay
- draw(SpriteBatch) - Method in class com.csse3200.game.components.mainmenu.MainMenuDisplay
- draw(SpriteBatch) - Method in class com.csse3200.game.components.MiniDisplay.MiniScreenDisplay
- draw(SpriteBatch) - Method in class com.csse3200.game.components.ParticleComponent
- draw(SpriteBatch) - Method in class com.csse3200.game.components.player.AlertUIComponent
-
Draws the UI Component on to the screen by dividing the batch's projection matrix by the SCALE_FACTOR to ensure that the UI isn't drawn too large on the screen.
- draw(SpriteBatch) - Method in class com.csse3200.game.components.player.DeathScreenDisplay
- draw(SpriteBatch) - Method in class com.csse3200.game.components.player.InventoryDisplayComponent
-
Draws the component.
- draw(SpriteBatch) - Method in class com.csse3200.game.components.player.PlayerStatsDisplay
- draw(SpriteBatch) - Method in class com.csse3200.game.components.PowerUpDisplayHUD
- draw(SpriteBatch) - Method in class com.csse3200.game.components.resources.ResourceDisplay
-
Draws the resource bars on the screen.
- draw(SpriteBatch) - Method in class com.csse3200.game.components.settingsmenu.SettingsMenuDisplay
- draw(SpriteBatch) - Method in class com.csse3200.game.components.ships.DistanceDisplay
-
Method for drawing handled by the stage
- draw(SpriteBatch) - Method in class com.csse3200.game.components.ships.ExitShopDisplay
- draw(SpriteBatch) - Method in class com.csse3200.game.components.ships.ShipStatDisplay
- draw(SpriteBatch) - Method in class com.csse3200.game.components.story.StoryDisplay
- draw(SpriteBatch) - Method in class com.csse3200.game.components.structures.StructureToolPicker
- draw(SpriteBatch) - Method in class com.csse3200.game.rendering.AnimationRenderComponent
- draw(SpriteBatch) - Method in class com.csse3200.game.rendering.AtlasRenderComponent
- draw(SpriteBatch) - Method in class com.csse3200.game.rendering.DamageTextureComponent
- draw(SpriteBatch) - Method in class com.csse3200.game.rendering.RenderComponent
-
Draw the renderable.
- draw(SpriteBatch) - Method in class com.csse3200.game.rendering.TextureRenderComponent
- draw(SpriteBatch) - Method in class com.csse3200.game.ui.terminal.TerminalDisplay
- draw(String, String) - Method in class com.csse3200.game.components.mainmenu.InsertButtons
- drawBackground(Batch, float, float, float) - Method in class com.csse3200.game.components.upgradetree.UpgradeDisplay
-
Renders the background, the connection lines, and the ImageButtons for the upgrade tree.
- drawLine(Vector2, Vector2) - Method in class com.csse3200.game.rendering.DebugRenderer
-
Draw a line between two positions
- drawLine(Vector2, Vector2, Color, float) - Method in class com.csse3200.game.rendering.DebugRenderer
-
Draw a line between two positions
- drawLines(UpgradeNode) - Method in class com.csse3200.game.components.upgradetree.UpgradeDisplay
-
Draws lines connecting parent nodes to their child nodes.
- drawRectangle(Vector2, Vector2) - Method in class com.csse3200.game.rendering.DebugRenderer
-
Draw a rectangle
- drawRectangle(Vector2, Vector2, Color, float) - Method in class com.csse3200.game.rendering.DebugRenderer
-
Draw a rectangle
- DTE - Enum constant in enum class com.csse3200.game.entities.enemies.EnemyBehaviour
- Durasteel - Enum constant in enum class com.csse3200.game.components.resources.Resource
E
- earlyUpdate() - Method in class com.csse3200.game.components.Component
-
Early update called once per frame of the game, before update().
- earlyUpdate() - Method in class com.csse3200.game.entities.Entity
-
Perform an early update on all components.
- earlyUpdate() - Method in class com.csse3200.game.physics.components.PhysicsComponent
-
Entity position needs to be updated to match the new physics position.
- EAST - Enum constant in enum class com.csse3200.game.components.structures.Rotation
- effectsMap - Variable in class com.csse3200.game.entities.configs.ParticleEffectsConfig
-
Used to map sound identification strings to the sound files
- enabled - Variable in class com.csse3200.game.components.Component
- endContact(Contact) - Method in class com.csse3200.game.physics.PhysicsContactListener
- enemiesList - Static variable in class com.csse3200.game.entities.factories.EnemyFactory
- ENEMY_MELEE - Static variable in class com.csse3200.game.physics.PhysicsLayer
- ENEMY_RANGE - Static variable in class com.csse3200.game.physics.PhysicsLayer
- EnemyAnimationController - Class in com.csse3200.game.components.npc
-
This class listens to events relevant to all enemy entities' state and plays the animation when one of the events is triggered.
- EnemyAnimationController() - Constructor for class com.csse3200.game.components.npc.EnemyAnimationController
- EnemyBehaviour - Enum Class in com.csse3200.game.entities.enemies
-
Determines the enemy behaviour on what target to prioritise.
- EnemyBulletConfig - Class in com.csse3200.game.entities.configs
-
Defines the properties stored in Enemy config files to be loaded by the NPC Factory.
- EnemyBulletConfig() - Constructor for class com.csse3200.game.entities.configs.EnemyBulletConfig
- EnemyConfig - Class in com.csse3200.game.entities.configs
-
Defines the properties stored in Enemy config files to be loaded by the NPC Factory.
- EnemyConfig() - Constructor for class com.csse3200.game.entities.configs.EnemyConfig
- EnemyConfig(boolean) - Constructor for class com.csse3200.game.entities.configs.EnemyConfig
- EnemyFactory - Class in com.csse3200.game.entities.factories
-
Factory to create non-playable enemies entities with predefined components.
- enemyIsInFOV(Entity) - Method in class com.csse3200.game.components.FOVComponent
-
Checks if the enemy is within the radius of the turret.
- EnemyType - Enum Class in com.csse3200.game.entities.enemies
-
Determines the enemy type of whether it is a: Melee (small melee enemy) Ranged (small ranged enemy) BossMelee (Boss melee enemy) BossRanged (Boss ranged enemy)
- entered - Variable in class com.csse3200.game.components.ProximityActivationComponent
- entities - Variable in class com.csse3200.game.areas.mapConfig.AreaEntityConfig
- entities - Variable in class com.csse3200.game.areas.mapConfig.EntitiesConfigFile
- EntitiesConfigFile - Class in com.csse3200.game.areas.mapConfig
- EntitiesConfigFile() - Constructor for class com.csse3200.game.areas.mapConfig.EntitiesConfigFile
- entity - Variable in class com.csse3200.game.components.Component
- entity - Variable in class com.csse3200.game.physics.BodyUserData
-
The entity to which this body is attached
- Entity - Class in com.csse3200.game.entities
-
Core entity class.
- Entity() - Constructor for class com.csse3200.game.entities.Entity
- entityIsInProximity(Entity) - Method in class com.csse3200.game.components.ProximityActivationComponent
- entityPlacementService - Variable in class com.csse3200.game.areas.GameArea
- EntityPlacementService - Class in com.csse3200.game.services
-
Service to allow entities to be placed after game initilisation Code is a modified version of StructurePlacementServic written by team 7 Kept Seperate due to differences in implementation and functionality
- EntityPlacementService(EventHandler) - Constructor for class com.csse3200.game.services.EntityPlacementService
- EntityService - Class in com.csse3200.game.entities
-
Provides a global access point for entities to register themselves.
- EntityService() - Constructor for class com.csse3200.game.entities.EntityService
- entityType - Variable in class com.csse3200.game.areas.mapConfig.EntitiesConfigFile
- EnvironmentalAttackComponent - Class in com.csse3200.game.components
-
When this entity touches a valid enemy's hitbox, deal damage to them and apply a knockback.
- EnvironmentalAttackComponent(short) - Constructor for class com.csse3200.game.components.EnvironmentalAttackComponent
-
Create a component which attacks entities on collision, without knockback.
- EnvironmentFactory - Class in com.csse3200.game.entities.factories
-
Factory to create all environmental entities on the map
- EnvironmentFactory() - Constructor for class com.csse3200.game.entities.factories.EnvironmentFactory
- EnvironmentStatsComponent - Class in com.csse3200.game.components
-
Component used to store information related to combat such as health, attack, etc.
- EnvironmentStatsComponent(int) - Constructor for class com.csse3200.game.components.EnvironmentStatsComponent
- equals(Object) - Method in class com.csse3200.game.areas.mapConfig.AreaEntityConfig
- equals(Object) - Method in class com.csse3200.game.areas.mapConfig.GameAreaConfig
- equals(Object) - Method in class com.csse3200.game.areas.mapConfig.ResourceCondition
- equals(Object) - Method in class com.csse3200.game.entities.buildables.Gate
- equals(Object) - Method in class com.csse3200.game.entities.buildables.Turret
-
This method is used to check for similar type of turret.
- equals(Object) - Method in class com.csse3200.game.entities.buildables.Wall
- equals(Object) - Method in class com.csse3200.game.entities.configs.CompanionConfig
- equals(Object) - Method in class com.csse3200.game.entities.configs.HealthEntityConfig
- equals(Object) - Method in class com.csse3200.game.entities.configs.PlayerConfig
- equals(Object) - Method in class com.csse3200.game.entities.Entity
- EventHandler - Class in com.csse3200.game.events
-
Send and receive events between objects.
- EventHandler() - Constructor for class com.csse3200.game.events.EventHandler
- EventListener - Interface in com.csse3200.game.events.listeners
-
An event listener which is notified when events occur.
- EventListener0 - Interface in com.csse3200.game.events.listeners
-
An event listener with 0 arguments
- EventListener1<T> - Interface in com.csse3200.game.events.listeners
-
An event listener with 1 argument
- EventListener2<T0,
T1> - Interface in com.csse3200.game.events.listeners -
An event listener with 2 arguments
- EventListener3<T0,
T1, T2> - Interface in com.csse3200.game.events.listeners -
An event listener with 3 arguments
- exit() - Method in class com.csse3200.game.GdxGame
-
Exit the game.
- ExitButton() - Method in class com.csse3200.game.services.UpgradeShip
-
A button that can exit the shop Have two destination: current minigame or main menu By Vy (gonna delete this later)
- exited - Variable in class com.csse3200.game.components.ProximityActivationComponent
- Exitonc(float) - Method in class com.csse3200.game.screens.SpaceMapScreen
-
Method for exiting from the obstacle minigame to the main screen of the game
- ExitShopDisplay - Class in com.csse3200.game.components.ships
-
Exit button but specified for the Shop implementation only
- ExitShopDisplay() - Constructor for class com.csse3200.game.components.ships.ExitShopDisplay
- EXTERNAL - Enum constant in enum class com.csse3200.game.files.FileLoader.Location
- EXTINGUISHER - Enum constant in enum class com.csse3200.game.areas.ExtractorMiniGameArea.MouseState
- ExtinguisherInputComponent - Class in com.csse3200.game.input
- ExtinguisherInputComponent(TerrainComponent, ExtractorMiniGameArea) - Constructor for class com.csse3200.game.input.ExtinguisherInputComponent
- EXTRA_LIFE - Enum constant in enum class com.csse3200.game.components.PowerupType
- EXTRACTOR_GAME - Enum constant in enum class com.csse3200.game.GdxGame.ScreenType
- ExtractorAnimationController - Class in com.csse3200.game.components.structures
-
This class listens to events relating to the state of the extractor and plays the extracting animation when the broken extractor is fixed, otherwise the broken extractor remains 'un-animated'.
- ExtractorAnimationController() - Constructor for class com.csse3200.game.components.structures.ExtractorAnimationController
- ExtractorConfig - Class in com.csse3200.game.entities.configs
- ExtractorConfig() - Constructor for class com.csse3200.game.entities.configs.ExtractorConfig
- ExtractorMiniGameArea - Class in com.csse3200.game.areas
- ExtractorMiniGameArea(TerrainFactory) - Constructor for class com.csse3200.game.areas.ExtractorMiniGameArea
- ExtractorMiniGameArea.MouseState - Enum Class in com.csse3200.game.areas
- ExtractorMiniGameScreen - Class in com.csse3200.game.screens
- ExtractorMiniGameScreen(GdxGame) - Constructor for class com.csse3200.game.screens.ExtractorMiniGameScreen
- ExtractorMinigameWindow - Class in com.csse3200.game
-
This is a window that can be added to a stage to pop up for the extractor minigame.
- ExtractorMinigameWindow(Texture, Entity) - Constructor for class com.csse3200.game.ExtractorMinigameWindow
- ExtractorRepairPartComponent - Class in com.csse3200.game.components
- ExtractorRepairPartComponent() - Constructor for class com.csse3200.game.components.ExtractorRepairPartComponent
- ExtractorTool - Class in com.csse3200.game.components.structures.tools
- ExtractorTool(ObjectMap<String, Integer>) - Constructor for class com.csse3200.game.components.structures.tools.ExtractorTool
- extraLifePowerup - Variable in class com.csse3200.game.entities.configs.PowerupConfigs
F
- FAILED - Enum constant in enum class com.csse3200.game.ai.tasks.Task.Status
- FileLoader - Class in com.csse3200.game.files
-
Wrapper for reading Java objects from JSON files.
- FileLoader() - Constructor for class com.csse3200.game.files.FileLoader
- FileLoader.Location - Enum Class in com.csse3200.game.files
- findPath(GridPoint2, GridPoint2) - Static method in class com.csse3200.game.components.npc.PathFinder
- FINISHED - Enum constant in enum class com.csse3200.game.ai.tasks.Task.Status
- FireAnimationController - Class in com.csse3200.game.components.npc
- FireAnimationController(AssetManager) - Constructor for class com.csse3200.game.components.npc.FireAnimationController
- FireInputComponent - Class in com.csse3200.game.input
- FireInputComponent(TerrainComponent, ExtractorMiniGameArea) - Constructor for class com.csse3200.game.input.FireInputComponent
- firePositions - Variable in class com.csse3200.game.areas.ExtractorMiniGameArea
- fireProjectile(Vector2) - Method in class com.csse3200.game.components.tasks.ShootTask
-
Fires projectile in game.
- Fissure - Class in com.csse3200.game.entities
- Fissure(FissureConfig) - Constructor for class com.csse3200.game.entities.Fissure
- FissureComponent - Class in com.csse3200.game.components.resources
- FissureComponent(Resource) - Constructor for class com.csse3200.game.components.resources.FissureComponent
- FissureConfig - Class in com.csse3200.game.entities.configs
- FissureConfig() - Constructor for class com.csse3200.game.entities.configs.FissureConfig
- fixture - Variable in class com.csse3200.game.physics.raycast.RaycastHit
-
Fixture which was hit.
- fling(float, float, int) - Method in class com.csse3200.game.input.InputComponent
- fling(float, float, int) - Method in class com.csse3200.game.input.InputService
-
Iterates over registered input handlers in descending priority and stops as soon as the input is processed
- FollowComponent - Class in com.csse3200.game.components
- FollowComponent(Entity, float) - Constructor for class com.csse3200.game.components.FollowComponent
- forEach(Consumer<? super V>) - Method in class com.csse3200.game.utils.SortedIntMap
- FOREST_DEMO - Enum constant in enum class com.csse3200.game.areas.terrain.TerrainFactory.TerrainType
- FOREST_DEMO_HEX - Enum constant in enum class com.csse3200.game.areas.terrain.TerrainFactory.TerrainType
- FOREST_DEMO_ISO - Enum constant in enum class com.csse3200.game.areas.terrain.TerrainFactory.TerrainType
- FOVComponent - Class in com.csse3200.game.components
-
FOVComponent This component is used to detect enemies within a certain radius of the turret.
- FOVComponent(float, ProximityActivationComponent.ProximityFunc, ProximityActivationComponent.ProximityFunc) - Constructor for class com.csse3200.game.components.FOVComponent
- fps - Variable in class com.csse3200.game.files.UserSettings.Settings
-
FPS cap of the game.
- frame - Static variable in class com.csse3200.game.components.mainmenu.MainMenuDisplay
- fuel - Variable in class com.csse3200.game.entities.configs.ShipConfig
- FUEL_UPGRADE - Enum constant in enum class com.csse3200.game.components.ships.ShipUpgradesType
- fuelUpgrade - Variable in class com.csse3200.game.entities.configs.AllShipUpgradesConfig
- fullscreen - Variable in class com.csse3200.game.files.UserSettings.Settings
G
- game - Static variable in class com.csse3200.game.components.Companion.CompanionDeathScreenActions
-
The main game instance used for screen transitions.
- game - Static variable in class com.csse3200.game.components.mainmenu.MainMenuActions
- GAME_STORY - Enum constant in enum class com.csse3200.game.GdxGame.ScreenType
- GameArea - Class in com.csse3200.game.areas
-
Represents an area in the game, such as a level, indoor area, etc.
- GameArea() - Constructor for class com.csse3200.game.areas.GameArea
- GameAreaConfig - Class in com.csse3200.game.areas.mapConfig
- GameAreaConfig() - Constructor for class com.csse3200.game.areas.mapConfig.GameAreaConfig
- GameAreaDisplay - Class in com.csse3200.game.components.gamearea
-
Displays the name of the current game area.
- GameAreaDisplay(String) - Constructor for class com.csse3200.game.components.gamearea.GameAreaDisplay
- gameAreas - Variable in class com.csse3200.game.areas.mapConfig.LevelConfig
- GameState - Class in com.csse3200.game.services
-
Represents the current state of the game whilst ensuring thread safety.
- GameState() - Constructor for class com.csse3200.game.services.GameState
- GameState.StateChangeListener - Interface in com.csse3200.game.services
-
Callback interface to be implemented by classes interested in receiving notifications about state changes.
- GameStateInteraction - Class in com.csse3200.game.services
-
A utility interaction class to manage and modify game state
- GameStateInteraction() - Constructor for class com.csse3200.game.services.GameStateInteraction
-
Constructs a GameStateInteraction instance.
- GameStateInteraction(GameState) - Constructor for class com.csse3200.game.services.GameStateInteraction
-
Constructs a GameStateInteraction instance.
- GameStateObserver - Class in com.csse3200.game.services
-
The global game state observer class (EventHandler) that allows components to interface with the stored game state data using event calls and triggers.
- GameStateObserver() - Constructor for class com.csse3200.game.services.GameStateObserver
-
Constructs the GameStateObserver instance.
- GameStateObserver(GameStateInteraction) - Constructor for class com.csse3200.game.services.GameStateObserver
-
Constructs the GameStateObserver instance.
- GameTime - Class in com.csse3200.game.services
-
Controls the game time
- GameTime() - Constructor for class com.csse3200.game.services.GameTime
- gate - Enum constant in enum class com.csse3200.game.entities.buildables.WallType
- gate - Variable in class com.csse3200.game.entities.configs.WallConfigs
- Gate - Class in com.csse3200.game.entities.buildables
- Gate(Entity) - Constructor for class com.csse3200.game.entities.buildables.Gate
- GateConfig - Class in com.csse3200.game.entities.configs
- GateConfig() - Constructor for class com.csse3200.game.entities.configs.GateConfig
- GateTool - Class in com.csse3200.game.components.structures.tools
- GateTool(ObjectMap<String, Integer>) - Constructor for class com.csse3200.game.components.structures.tools.GateTool
-
Creates a new tool which allows the placing of structures with the given cost.
- GdxGame - Class in com.csse3200.game
-
Entry point of the non-platform-specific game logic.
- GdxGame() - Constructor for class com.csse3200.game.GdxGame
- GdxGame.ScreenType - Enum Class in com.csse3200.game
- get() - Static method in class com.csse3200.game.files.UserSettings
-
Get the stored user settings
- get(int) - Method in class com.csse3200.game.utils.SortedIntMap
-
Get value from map
- get(String) - Method in class com.csse3200.game.services.GameState
-
Retrieves the value corresponding to the input key from the current state data.
- get(String) - Method in class com.csse3200.game.services.GameStateInteraction
-
Returns the value stored at the give key in the game state.
- getActive() - Method in class com.csse3200.game.rendering.DebugRenderer
- getAllConfigs() - Method in class com.csse3200.game.areas.mapConfig.AreaEntityConfig
-
Returns a list of all config entities in the game area
- getAlpha() - Method in class com.csse3200.game.components.player.AlertUIComponent
-
Returns the alpha of the component.
- getAnimationDuration(String) - Method in class com.csse3200.game.rendering.AnimationRenderComponent
-
Returns the total duration of a given animation.
- getAreaEntities() - Method in class com.csse3200.game.areas.GameArea
- getAsset(String, Class<T>) - Method in class com.csse3200.game.services.ResourceService
-
Load an asset from a file.
- getAttack() - Method in class com.csse3200.game.components.CombatStatsComponent
-
Returns the entity's total attack damage, which is the base attack damage multiplied by the attack multiplier.
- getAttackMultiplier() - Method in class com.csse3200.game.components.CombatStatsComponent
-
Returns the entity's attack multiplier.
- getBaseAttack() - Method in class com.csse3200.game.components.CombatStatsComponent
-
Returns the entity's base attack damage.
- getBlendMode() - Method in class com.csse3200.game.areas.terrain.TerrainTile
- getBody() - Method in class com.csse3200.game.physics.components.PhysicsComponent
-
Get the physics body.
- getCamera() - Method in class com.csse3200.game.components.CameraComponent
- getCamera() - Method in class com.csse3200.game.rendering.Renderer
- getCenterPosition() - Method in class com.csse3200.game.entities.Entity
-
Get the entity's center position
- getChildren() - Method in class com.csse3200.game.components.upgradetree.UpgradeNode
-
Returns a list of child nodes.
- getCollectedCount() - Method in class com.csse3200.game.components.ExtractorRepairPartComponent
- getCompanion() - Method in class com.csse3200.game.areas.GameArea
- getCompanion() - Method in class com.csse3200.game.entities.EntityService
- getComponent(Class<T>) - Method in class com.csse3200.game.entities.Entity
-
Get a component of type T on the entity.
- getComponents(Class<T>) - Method in class com.csse3200.game.entities.Entity
-
Get the components of type T on the entity.
- getConfig() - Method in class com.csse3200.game.components.upgradetree.UpgradeNode
-
Gets the config file associated with the tool
- getConfigs() - Method in class com.csse3200.game.components.player.InventoryComponent
- getCost() - Method in class com.csse3200.game.components.structures.tools.Tool
-
Gets the cost associated with the tool.
- getCurrentAmmo() - Method in class com.csse3200.game.components.player.InventoryComponent
-
Get the currently equipped weapons current ammo
- getCurrentAmmoUse() - Method in class com.csse3200.game.components.player.InventoryComponent
-
returns the amount of ammo the currently equipped weapon uses per shot
- getCurrentAnimation() - Method in class com.csse3200.game.rendering.AnimationRenderComponent
-
Get the name of the animation currently being played.
- getCurrentMaxAmmo() - Method in class com.csse3200.game.components.player.InventoryComponent
-
REturns the amount of max ammo for the current weapon slot
- getDebug() - Method in class com.csse3200.game.rendering.Renderer
- getDebug() - Method in class com.csse3200.game.rendering.RenderService
- getDeltaTime() - Method in class com.csse3200.game.services.GameTime
- getDepth() - Method in class com.csse3200.game.components.upgradetree.UpgradeNode
-
Returns the current node's depth
- getDirection() - Method in class com.csse3200.game.components.Companion.KeyboardCompanionInputComponent
-
Gets the current walking direction.
- getDirection() - Method in class com.csse3200.game.components.player.KeyboardPlayerInputComponent
-
Returns the direction of the player.
- getDirection(Vector2) - Method in class com.csse3200.game.components.tasks.AdjustedChaseTask
- getDirection(Vector2) - Method in class com.csse3200.game.components.tasks.BossTask
-
Converts the Vector2 positions to one of a few characters that represent certain directions.
- getDirection(Vector2) - Method in class com.csse3200.game.components.tasks.ChaseTask
-
This get method returns a char indicating the position of the target relative to the enemy.
- getDirection(Vector2) - Method in class com.csse3200.game.components.tasks.WanderTask
-
Determines the direction from the entity's current position to the destination position.
- getDirection(Vector2) - Method in class com.csse3200.game.components.TouchAttackComponent
-
This get method returns a char indicating the position of the target relative to the enemy.
- getDuration() - Method in class com.csse3200.game.components.Companion.CompanionStatsDisplay
- getDuration() - Method in class com.csse3200.game.components.PowerupComponent
-
Retrieves the duration for which the Powerup effect should last.
- GetEnemyConfig(EnemyType, EnemyBehaviour) - Method in class com.csse3200.game.entities.configs.NPCConfigs
- getEnemyList() - Static method in class com.csse3200.game.entities.factories.EnemyFactory
- getEnteredMessage() - Method in class com.csse3200.game.ui.terminal.Terminal
- getEntities(Class<T>) - Method in class com.csse3200.game.areas.mapConfig.AreaEntityConfig
-
Returns a list of the type of entity from the game area.
- getEntitiesByComponent(Class<? extends Component>) - Method in class com.csse3200.game.entities.EntityService
-
Gets all entities belonging to a specified component class.
- getEntity() - Method in interface com.csse3200.game.ai.tasks.TaskRunner
- getEntity() - Method in class com.csse3200.game.components.Component
-
Get the entity to which this component belongs.
- getEntity() - Method in class com.csse3200.game.entities.TileEntity
- getEntity() - Method in class com.csse3200.game.services.StructurePlacementService.placeStructureAtArgs
- getEntity() - Method in class com.csse3200.game.services.StructurePlacementService.spawnEntityAtVectorArgs
- getEntity(Class<T>) - Method in class com.csse3200.game.areas.mapConfig.AreaEntityConfig
-
Returns an entity of type T from the game area.
- getEntityPlacementService() - Static method in class com.csse3200.game.services.ServiceLocator
- getEntityService() - Static method in class com.csse3200.game.services.ServiceLocator
- getEntityTextures() - Method in class com.csse3200.game.areas.mapConfig.GameAreaConfig
- getEntityType() - Method in class com.csse3200.game.entities.Entity
-
Returns the type of entityS
- getEquipped() - Method in class com.csse3200.game.components.player.InventoryComponent
- getEquippedCooldown() - Method in class com.csse3200.game.components.player.InventoryComponent
-
returns the remaining tick cooldown for the currently equipped weapon slot
- getEquippedType() - Method in class com.csse3200.game.components.player.InventoryComponent
-
Returns the equipped weapon type
- getEquippedWeapons() - Method in class com.csse3200.game.components.player.InventoryComponent
-
Returns the current equipped weapons represented in a hash map
- getEvents() - Method in class com.csse3200.game.entities.Entity
-
Get the event handler attached to this entity.
- getFixture() - Method in class com.csse3200.game.physics.components.ColliderComponent
- getFollowSpeed() - Method in class com.csse3200.game.components.FollowComponent
- getFrom(Class<? extends Component>) - Static method in class com.csse3200.game.components.ComponentType
- getFrozenLevel() - Method in class com.csse3200.game.components.EnvironmentStatsComponent
- getFullStateData() - Method in class com.csse3200.game.services.GameStateObserver
-
Returns a copy of the entire game state at the current moment.
- getGameArea() - Static method in class com.csse3200.game.services.ServiceLocator
- getGameStateObserverService() - Static method in class com.csse3200.game.services.ServiceLocator
- getGoal() - Method in class com.csse3200.game.areas.SpaceGameArea
-
Getter method for goal
- getGridPosition() - Method in class com.csse3200.game.entities.Entity
-
Get the entity's game position.
- getGunOffset() - Method in class com.csse3200.game.entities.Gun
- getGunTexture() - Method in class com.csse3200.game.entities.Gun
- getHealth() - Method in class com.csse3200.game.components.CombatStatsComponent
-
Returns the entity's current health.
- getHealthBar() - Method in class com.csse3200.game.components.HealthBarComponent
- getHeight() - Method in class com.csse3200.game.entities.PlaceableEntity
- getHitsAndClear() - Method in class com.csse3200.game.physics.raycast.AllHitCallback
- getId() - Method in class com.csse3200.game.areas.terrain.TerrainTile
- getId() - Method in class com.csse3200.game.components.ComponentType
- getId() - Method in class com.csse3200.game.entities.Entity
-
This entity's unique ID.
- getImagePath() - Method in class com.csse3200.game.components.upgradetree.UpgradeNode
-
Returns the image path associated with this node.
- getImmunity() - Method in class com.csse3200.game.components.CombatStatsComponent
-
Returns the entity's immunity status.
- getImmunity() - Method in class com.csse3200.game.components.EnvironmentStatsComponent
- getInputFactory() - Method in class com.csse3200.game.input.InputService
-
Get the input factory to create input handlers
- getInputService() - Static method in class com.csse3200.game.services.ServiceLocator
- getJoinLayer() - Method in class com.csse3200.game.components.joinable.JoinableComponent
-
Retrieves the layer which is being joined on.
- getJoinLayer() - Method in class com.csse3200.game.components.structures.JoinableComponent
-
Retrieves the layer which is being joined on.
- getLastMousePos() - Method in class com.csse3200.game.components.player.KeyboardPlayerInputComponent
-
Returns the last known position of the users cursor
- getLayer() - Method in class com.csse3200.game.areas.terrain.TerrainComponent
- getLayer() - Method in class com.csse3200.game.physics.components.ColliderComponent
- getLayer() - Method in interface com.csse3200.game.rendering.Renderable
-
Layer to be rendered in.
- getLayer() - Method in class com.csse3200.game.rendering.RenderComponent
- getLayer() - Method in class com.csse3200.game.ui.UIComponent
- getLives() - Method in class com.csse3200.game.components.CombatStatsComponent
-
returns number of lives player has left.
- getLogger() - Method in class com.csse3200.game.components.controls.ControlsScreenActions
- getMap() - Method in class com.csse3200.game.areas.terrain.TerrainComponent
- getMapBounds(int) - Method in class com.csse3200.game.areas.terrain.TerrainComponent
- getMapEntry() - Method in class com.csse3200.game.areas.mapConfig.EntitiesConfigFile
- getMaterials() - Method in class com.csse3200.game.components.upgradetree.UpgradeTree
-
Retrieves the current number of materials available to the player.
- getMaxFuel() - Method in class com.csse3200.game.components.ships.ShipActions
-
get the amount of fuel
- getMaxHealth() - Method in class com.csse3200.game.components.CombatStatsComponent
-
Returns the entity's maximum health.
- getMaxHealth() - Method in class com.csse3200.game.components.ships.ShipActions
-
get the amount of health
- getMoving() - Method in interface com.csse3200.game.ai.movement.MovementController
- getMoving() - Method in class com.csse3200.game.physics.components.PhysicsMovementComponent
- getName() - Method in class com.csse3200.game.components.upgradetree.UpgradeNode
-
Gets the name of the tool/weapon
- getNextPlanet() - Method in class com.csse3200.game.screens.PlanetScreen
-
Get the next planet in the sequence after the current planet.
- getNodeCost() - Method in class com.csse3200.game.components.upgradetree.UpgradeNode
-
Gets the selected nodes upgrade cost
- getObjects() - Method in class com.csse3200.game.areas.terrain.TerrainTile
-
Not required for game, unimplemented
- getOffsetX() - Method in class com.csse3200.game.areas.terrain.TerrainTile
- getOffsetY() - Method in class com.csse3200.game.areas.terrain.TerrainTile
- getParent() - Method in class com.csse3200.game.components.upgradetree.UpgradeNode
-
Returns the current node's parent node
- getPhysics() - Method in class com.csse3200.game.physics.PhysicsService
- getPhysicsService() - Static method in class com.csse3200.game.services.ServiceLocator
- getPlayer() - Static method in class com.csse3200.game.areas.GameArea
- getPlayer() - Static method in class com.csse3200.game.areas.MapGameArea
- getPlayer() - Method in class com.csse3200.game.entities.EntityService
-
Gets the player entity in the EntityService
- getPlayerLives() - Method in class com.csse3200.game.GdxGame
-
Returns the number of lives player currently has.
- getPosition() - Method in class com.csse3200.game.entities.Entity
-
Get the entity's game position.
- getPotion() - Method in class com.csse3200.game.components.LaboratoryInventoryComponent
-
Gets the current number of potions in the laboratory.
- GetPowerupConfig(PowerupType) - Method in class com.csse3200.game.entities.configs.PowerupConfigs
- getPowerupCount(PowerupType) - Method in class com.csse3200.game.components.Companion.CompanionInventoryComponent
- getPriority() - Method in interface com.csse3200.game.ai.tasks.PriorityTask
- getPriority() - Method in class com.csse3200.game.components.tasks.AdjustedChaseTask
- getPriority() - Method in class com.csse3200.game.components.tasks.AimTask
- getPriority() - Method in class com.csse3200.game.components.tasks.BossTask
- getPriority() - Method in class com.csse3200.game.components.tasks.ChaseTask
- getPriority() - Method in class com.csse3200.game.components.tasks.ProjectileMovementTask
- getPriority() - Method in class com.csse3200.game.components.tasks.RunTask
- getPriority() - Method in class com.csse3200.game.components.tasks.SpecialAttackTask
- getPriority() - Method in class com.csse3200.game.components.tasks.WanderTask
- getPriority() - Method in class com.csse3200.game.input.InputComponent
- getProduces() - Method in class com.csse3200.game.components.resources.FissureComponent
- getProduces() - Method in class com.csse3200.game.components.resources.ProductionComponent
- getProductionModifier() - Method in class com.csse3200.game.components.resources.ProductionComponent
-
getProductionModifier returns a value between 0 and 1 for how efficient the extractor is.
- getProgress() - Method in class com.csse3200.game.services.ResourceService
-
Returns the loading completion progress as a percentage.
- GetProjectileConfig() - Method in class com.csse3200.game.entities.configs.ProjectileConfigs
- getProjectionMatrix() - Method in class com.csse3200.game.components.CameraComponent
- getProperties() - Method in class com.csse3200.game.areas.terrain.TerrainTile
-
Not required for game, unimplemented
- getRawDeltaTime() - Method in class com.csse3200.game.services.GameTime
- getRenderService() - Static method in class com.csse3200.game.services.ServiceLocator
- getResource() - Method in class com.csse3200.game.areas.mapConfig.ResourceCondition
- getResourceService() - Static method in class com.csse3200.game.services.ServiceLocator
- getRotation() - Method in class com.csse3200.game.components.structures.RotationRenderComponent
-
Gets the current rotation of the atlas.
- getScale() - Method in class com.csse3200.game.entities.Entity
-
Get the entity's scale.
- getScreenType() - Method in class com.csse3200.game.GdxGame
-
Returns current screen that game is displaying.
- getSelectedTool() - Method in class com.csse3200.game.components.structures.StructureToolPicker
-
Returns the currently selected tool.
- getShape(String) - Method in class com.csse3200.game.components.joinable.JoinableComponentShapes
-
Gets the shape with the given id.
- getShape(String) - Method in class com.csse3200.game.components.structures.JoinableComponentShapes
-
Gets the shape with the given id.
- getShip() - Method in class com.csse3200.game.areas.SpaceGameArea
-
Getter method for ship
- getSnapPosition(GridPoint2) - Method in class com.csse3200.game.components.structures.tools.PlacementTool
- getSpeed() - Method in class com.csse3200.game.components.Companion.CompanionActions
- getSpeed() - Method in class com.csse3200.game.components.player.PlayerActions
-
Retrieves the players current maximum speed.
- getSpeedMult() - Static method in class com.csse3200.game.areas.MapGameArea
- getStage() - Method in class com.csse3200.game.rendering.Renderer
- getStage() - Method in class com.csse3200.game.rendering.RenderService
- getStateData() - Method in class com.csse3200.game.services.GameState
-
Returns a copy of the current game state data
- getStateData() - Method in class com.csse3200.game.services.GameStateInteraction
-
Returns a copy of the current entire game state data.
- getStateData(String) - Method in class com.csse3200.game.services.GameStateObserver
-
Returns the value corresponding to the given key in the game state data.
- getStatus() - Method in class com.csse3200.game.ai.tasks.DefaultTask
- getStatus() - Method in interface com.csse3200.game.ai.tasks.Task
-
Get the current status of the task.
- getStructureAt(GridPoint2) - Method in class com.csse3200.game.services.StructurePlacementService
- getStructurePlacementService() - Static method in class com.csse3200.game.services.ServiceLocator
- getStructurePosition(PlaceableEntity) - Method in class com.csse3200.game.services.StructurePlacementService
-
Gets the position of the given entity.
- getTarget() - Method in interface com.csse3200.game.ai.movement.MovementController
- getTarget() - Method in class com.csse3200.game.physics.components.PhysicsMovementComponent
- getTerrain() - Method in class com.csse3200.game.areas.GameArea
- getTerrainService() - Static method in class com.csse3200.game.services.ServiceLocator
- getTesting() - Method in class com.csse3200.game.components.Companion.KeyboardCompanionInputComponent
-
Returns the value for testing.
- getTesting() - Method in class com.csse3200.game.components.player.KeyboardPlayerInputComponent
-
Returns value for testing.
- getTextureRegion() - Method in class com.csse3200.game.areas.terrain.TerrainTile
- getTextures() - Method in class com.csse3200.game.areas.mapConfig.LevelConfig
- getTextures() - Method in class com.csse3200.game.entities.configs.BaseEntityConfig
- getThreshold() - Method in class com.csse3200.game.areas.mapConfig.ResourceCondition
- getTilePos() - Method in class com.csse3200.game.services.StructurePlacementService.placeStructureAtArgs
- getTilePosition() - Method in class com.csse3200.game.entities.TileEntity
- getTileSize() - Method in class com.csse3200.game.areas.terrain.TerrainComponent
- getTime() - Method in class com.csse3200.game.services.GameTime
- getTimeSince(long) - Method in class com.csse3200.game.services.GameTime
- getTimeSource() - Static method in class com.csse3200.game.services.ServiceLocator
- GetTurretConfig(TurretType) - Method in class com.csse3200.game.entities.configs.TurretConfigs
- getType() - Method in class com.csse3200.game.components.PowerupComponent
-
Retrieves the type of the Powerup.
- getType() - Method in class com.csse3200.game.components.SaveableComponent
- getType() - Method in class com.csse3200.game.components.ships.ShipUpgradesComponent
-
Retrieves the type of the ShipUpgrades.
- getUnlockedWeapons() - Method in class com.csse3200.game.components.upgradetree.UpgradeTree
-
Returns a list of all unlocked weapons.
- getValues(Label, int, float[]) - Method in class com.csse3200.game.components.InitialSequence.LabelAccessor
- GetWallConfig(WallType) - Method in class com.csse3200.game.entities.configs.WallConfigs
- GetWeaponConfig(WeaponType) - Method in class com.csse3200.game.entities.configs.WeaponConfigs
- getWeaponType() - Method in class com.csse3200.game.components.upgradetree.UpgradeNode
-
Returns the type of weapon this node represents.
- getWidth() - Method in class com.csse3200.game.entities.PlaceableEntity
- getWorld() - Method in class com.csse3200.game.physics.PhysicsEngine
- getWorldPos() - Method in class com.csse3200.game.services.StructurePlacementService.spawnEntityAtVectorArgs
- getWorldPositionFromScreen(Vector2) - Method in class com.csse3200.game.components.CameraComponent
- getX() - Method in class com.csse3200.game.components.upgradetree.UpgradeNode
-
Returns the x-coordinate of the node.
- getY() - Method in class com.csse3200.game.components.upgradetree.UpgradeNode
-
Returns the y-coordinate of the node.
- getZIndex() - Method in class com.csse3200.game.areas.terrain.TerrainComponent
- getZIndex() - Method in class com.csse3200.game.components.Companion.CompanionDeathScreenDisplay
- getZIndex() - Method in class com.csse3200.game.components.gamearea.PerformanceDisplay
- getZIndex() - Method in class com.csse3200.game.components.maingame.MainGameExitDisplay
- getZIndex() - Method in class com.csse3200.game.components.maingame.ReturnToPlanetDisplay
- getZIndex() - Method in class com.csse3200.game.components.mainmenu.MainMenuDisplay
- getZIndex() - Method in class com.csse3200.game.components.player.DeathScreenDisplay
- getZIndex() - Method in class com.csse3200.game.components.ships.ExitShopDisplay
- getZIndex() - Method in class com.csse3200.game.components.story.StoryDisplay
- getZIndex() - Method in interface com.csse3200.game.rendering.Renderable
-
Z index controls rendering order within a layer.
- getZIndex() - Method in class com.csse3200.game.rendering.RenderComponent
- getZIndex() - Method in class com.csse3200.game.ui.terminal.TerminalDisplay
- getZIndex() - Method in class com.csse3200.game.ui.UIComponent
- ghost - Variable in class com.csse3200.game.entities.configs.NPCConfigs
- giveDamage(Entity) - Method in class com.csse3200.game.entities.buildables.Turret
-
This method is used to give damage to an entity.
- GridPoint2Utils - Class in com.csse3200.game.utils.math
-
Contains additional utility constants and functions for common GridPoint2 operations.
- gridWithinBounds(int, int) - Method in class com.csse3200.game.areas.terrain.TerrainComponent
- Gun - Class in com.csse3200.game.entities
- Gun(String, Vector2) - Constructor for class com.csse3200.game.entities.Gun
H
- handle() - Method in interface com.csse3200.game.events.listeners.EventListener0
- handle(T) - Method in interface com.csse3200.game.events.listeners.EventListener1
- handle(T0, T1) - Method in interface com.csse3200.game.events.listeners.EventListener2
- handle(T0, T1, T2) - Method in interface com.csse3200.game.events.listeners.EventListener3
- handleBackspace() - Method in class com.csse3200.game.ui.terminal.Terminal
-
Removes the last character of the entered message.
- hasAnimation(String) - Method in class com.csse3200.game.rendering.AnimationRenderComponent
-
Whether the animator has added the given animation.
- hasEnoughResources() - Method in class com.csse3200.game.components.structures.tools.PlacementTool
-
Checks whether the player has sufficient resources to place the structure.
- hasEnoughResources() - Method in class com.csse3200.game.components.structures.tools.ReplacementTool
-
Checks whether the player has sufficient resources to place the structure.
- hashCode() - Method in class com.csse3200.game.areas.mapConfig.AreaEntityConfig
- hashCode() - Method in class com.csse3200.game.areas.mapConfig.GameAreaConfig
- hashCode() - Method in class com.csse3200.game.areas.mapConfig.ResourceCondition
- hashCode() - Method in class com.csse3200.game.entities.buildables.Gate
- hashCode() - Method in class com.csse3200.game.entities.buildables.Turret
-
This method is used to generate a hash code using its properties.
- hashCode() - Method in class com.csse3200.game.entities.buildables.Wall
- hashCode() - Method in class com.csse3200.game.entities.configs.CompanionConfig
- hashCode() - Method in class com.csse3200.game.entities.configs.HealthEntityConfig
- hashCode() - Method in class com.csse3200.game.entities.configs.PlayerConfig
- hashCode() - Method in class com.csse3200.game.entities.Entity
- hasPotion(int) - Method in class com.csse3200.game.components.LaboratoryInventoryComponent
-
Checks if the laboratory has at least a certain number of potions.
- Healing - Class in com.csse3200.game.components.structures.tools
- Healing(ObjectMap<String, Integer>) - Constructor for class com.csse3200.game.components.structures.tools.Healing
- healingAbility - Variable in class com.csse3200.game.entities.configs.AstroConfig
- healingAbility - Variable in class com.csse3200.game.entities.configs.BotanistConfig
- healingAbility - Variable in class com.csse3200.game.entities.configs.JailConfig
- health - Variable in class com.csse3200.game.entities.configs.AsteroidConfig
- health - Variable in class com.csse3200.game.entities.configs.AstroConfig
- health - Variable in class com.csse3200.game.entities.configs.BotanistConfig
- health - Variable in class com.csse3200.game.entities.configs.CompanionConfig
- health - Variable in class com.csse3200.game.entities.configs.ExtractorConfig
- health - Variable in class com.csse3200.game.entities.configs.GateConfig
- health - Variable in class com.csse3200.game.entities.configs.HealthEntityConfig
- health - Variable in class com.csse3200.game.entities.configs.JailConfig
- health - Variable in class com.csse3200.game.entities.configs.ShipConfig
- health - Variable in class com.csse3200.game.entities.configs.WallConfig
- HEALTH_BOOST - Enum constant in enum class com.csse3200.game.components.PowerupType
- HEALTH_UPGRADE - Enum constant in enum class com.csse3200.game.components.ships.ShipUpgradesType
- HealthBarComponent - Class in com.csse3200.game.components
-
A ui component for displaying an entities health at its location on the map.
- HealthBarComponent(boolean) - Constructor for class com.csse3200.game.components.HealthBarComponent
- HealthBarComponent(boolean, float, float) - Constructor for class com.csse3200.game.components.HealthBarComponent
- HealthEntityConfig - Class in com.csse3200.game.entities.configs
- HealthEntityConfig() - Constructor for class com.csse3200.game.entities.configs.HealthEntityConfig
- healthPowerup - Variable in class com.csse3200.game.entities.configs.PowerupConfigs
- healthUpgrade - Variable in class com.csse3200.game.entities.configs.AllShipUpgradesConfig
- height - Variable in class com.csse3200.game.files.UserSettings.DisplaySettings
- HEXAGONAL - Enum constant in enum class com.csse3200.game.areas.terrain.TerrainComponent.TerrainOrientation
- hide() - Method in class com.csse3200.game.components.HealthBarComponent
- hide() - Method in class com.csse3200.game.components.structures.StructureToolPicker
-
Hides the tool picker.
- hide() - Method in class com.csse3200.game.screens.SpaceNavigationScreen
-
Method called when this screen is no longer the current screen for the game.
- hit - Variable in class com.csse3200.game.physics.raycast.SingleHitCallback
- hit(CombatStatsComponent) - Method in class com.csse3200.game.components.CombatStatsComponent
-
Inflicts damage on the entity by reducing its health.
- HitboxComponent - Class in com.csse3200.game.physics.components
-
Physics comp
- HitboxComponent() - Constructor for class com.csse3200.game.physics.components.HitboxComponent
- HoleInputComponent - Class in com.csse3200.game.input
- HoleInputComponent(TerrainComponent, ExtractorMiniGameArea) - Constructor for class com.csse3200.game.input.HoleInputComponent
- holePositions - Variable in class com.csse3200.game.areas.ExtractorMiniGameArea
- HomingMissileSprayProjectileController - Class in com.csse3200.game.components.Weapons.SpecWeapon
- HomingMissileSprayProjectileController(WeaponConfig, float, Entity, int) - Constructor for class com.csse3200.game.components.Weapons.SpecWeapon.HomingMissileSprayProjectileController
- HomingProjectileController - Class in com.csse3200.game.components.Weapons.SpecWeapon
- HomingProjectileController(WeaponConfig, float, Entity, int) - Constructor for class com.csse3200.game.components.Weapons.SpecWeapon.HomingProjectileController
I
- IAlpha - Interface in com.csse3200.game.components.player
-
An interface which defines the ability to change the alpha of a render.
- iconPath - Variable in class com.csse3200.game.entities.configs.WeaponConfig
- imagePath - Variable in class com.csse3200.game.entities.configs.PowerupConfig
- imagePath - Variable in class com.csse3200.game.entities.configs.WeaponConfig
- imageScale - Variable in class com.csse3200.game.entities.configs.WeaponConfig
- INACTIVE - Enum constant in enum class com.csse3200.game.ai.tasks.Task.Status
- initial_animation(AnimationRenderComponent) - Method in class com.csse3200.game.components.Weapons.SpecWeapon.BoomerangController
- initial_animation(AnimationRenderComponent) - Method in class com.csse3200.game.components.Weapons.SpecWeapon.HomingProjectileController
- initial_animation(AnimationRenderComponent) - Method in class com.csse3200.game.components.Weapons.SpecWeapon.KillerBeeController
- initial_animation(AnimationRenderComponent) - Method in class com.csse3200.game.components.Weapons.SpecWeapon.MeleeSwingController
- initial_animation(AnimationRenderComponent) - Method in class com.csse3200.game.components.Weapons.SpecWeapon.ProjectileController
- initial_animation(AnimationRenderComponent) - Method in class com.csse3200.game.components.Weapons.SpecWeapon.StaticController
- initial_animation(AnimationRenderComponent) - Method in class com.csse3200.game.components.Weapons.WeaponControllerComponent
-
Set intial animation
- initial_position() - Method in class com.csse3200.game.components.Weapons.SpecWeapon.BoomerangController
- initial_position() - Method in class com.csse3200.game.components.Weapons.SpecWeapon.MeleeSwingController
- initial_position() - Method in class com.csse3200.game.components.Weapons.SpecWeapon.ProjectileController
- initial_position() - Method in class com.csse3200.game.components.Weapons.SpecWeapon.StaticController
- initial_position() - Method in class com.csse3200.game.components.Weapons.WeaponControllerComponent
-
Set initial position
- initial_rotation() - Method in class com.csse3200.game.components.Weapons.SpecWeapon.BoomerangController
- initial_rotation() - Method in class com.csse3200.game.components.Weapons.SpecWeapon.HomingMissileSprayProjectileController
- initial_rotation() - Method in class com.csse3200.game.components.Weapons.SpecWeapon.KillerBeeController
- initial_rotation() - Method in class com.csse3200.game.components.Weapons.SpecWeapon.MeleeSwingController
- initial_rotation() - Method in class com.csse3200.game.components.Weapons.SpecWeapon.ProjectileController
- initial_rotation() - Method in class com.csse3200.game.components.Weapons.SpecWeapon.StaticController
- initial_rotation() - Method in class com.csse3200.game.components.Weapons.WeaponControllerComponent
-
Set initial rotation (defaults to attack direction)
- INITIAL_SCREEN - Enum constant in enum class com.csse3200.game.GdxGame.ScreenType
- INITIALL_SCREEN - Enum constant in enum class com.csse3200.game.GdxGame.ScreenType
- InitialScreen - Class in com.csse3200.game.screens
-
The initial screen of the game, responsible for loading assets and creating UI elements.
- InitialScreen(GdxGame) - Constructor for class com.csse3200.game.screens.InitialScreen
-
Creates a new instance of the InitialScreen.
- InitialScreenDisplay - Class in com.csse3200.game.components.InitialSequence
-
The user interface component responsible for displaying the initial story sequence.
- InitialScreenDisplay(GdxGame) - Constructor for class com.csse3200.game.components.InitialSequence.InitialScreenDisplay
-
Creates a new instance of the InitialScreenDisplay.
- InputComponent - Class in com.csse3200.game.input
-
An InputComponent that supports keyboard and touch input and touch gestures.
- InputComponent() - Constructor for class com.csse3200.game.input.InputComponent
-
Sets priority to the default value;
- InputComponent(int) - Constructor for class com.csse3200.game.input.InputComponent
-
Sets input handler priority to a given value.
- InputDecorator - Class in com.csse3200.game.input
-
Generic class to wrap an InputProcessor so that it acts like an InputComponent.
- InputDecorator(InputProcessor, int) - Constructor for class com.csse3200.game.input.InputDecorator
- InputFactory - Class in com.csse3200.game.input
-
InputFactory creates inputType-specific inputFactories which can handle various types of input.
- InputFactory() - Constructor for class com.csse3200.game.input.InputFactory
- InputFactory.InputType - Enum Class in com.csse3200.game.input
-
Input device types
- InputOverrideComponent - Class in com.csse3200.game.input
-
Class to override any input components being handled.
- InputOverrideComponent() - Constructor for class com.csse3200.game.input.InputOverrideComponent
- InputService - Class in com.csse3200.game.input
-
Provides a global access point for handling user input and creating input handlers.
- InputService() - Constructor for class com.csse3200.game.input.InputService
- InputService(InputFactory) - Constructor for class com.csse3200.game.input.InputService
- InsertButtons - Class in com.csse3200.game.components.mainmenu
- InsertButtons() - Constructor for class com.csse3200.game.components.mainmenu.InsertButtons
- interact() - Method in class com.csse3200.game.components.player.InteractionControllerComponent
-
Interact will use the service locator to interact to enumerate through all entities that have interact component, and will call interact() with between the two entities.
- interact(boolean) - Method in class com.csse3200.game.components.Companion.CompanionInteractionControllerComponent
-
Initiates an interaction with other entities in the game world.
- interact(GridPoint2) - Method in class com.csse3200.game.components.structures.StructureToolPicker
-
Interacts with the currently selected tool.
- interact(Entity) - Method in class com.csse3200.game.components.InteractableComponent
- interact(Entity) - Method in class com.csse3200.game.entities.buildables.Turret
-
Interact with the turret.
- interact(Entity, GridPoint2) - Method in class com.csse3200.game.components.structures.tools.Healing
- interact(Entity, GridPoint2) - Method in class com.csse3200.game.components.structures.tools.IntermediateWallTool
-
Attempts to place the wall at the given position.
- interact(Entity, GridPoint2) - Method in class com.csse3200.game.components.structures.tools.PlacementTool
-
Attempts to place a structure at the specified position.
- interact(Entity, GridPoint2) - Method in class com.csse3200.game.components.structures.tools.ReplacementTool
-
Attempts to place a structure at the specified position.
- interact(Entity, GridPoint2) - Method in class com.csse3200.game.components.structures.tools.Tool
-
Interacts with the given position in the structure grid.
- InteractableComponent - Class in com.csse3200.game.components
- InteractableComponent(Consumer<Entity>, float) - Constructor for class com.csse3200.game.components.InteractableComponent
- InteractionControllerComponent - Class in com.csse3200.game.components.player
- InteractionControllerComponent(boolean) - Constructor for class com.csse3200.game.components.player.InteractionControllerComponent
- InteractLabel - Class in com.csse3200.game.components
- InteractLabel() - Constructor for class com.csse3200.game.components.InteractLabel
- interactWithTurret(Entity) - Method in class com.csse3200.game.entities.buildables.Turret
-
Interact with the turret to refill its ammunition using player resources.
- intermediate - Enum constant in enum class com.csse3200.game.entities.buildables.WallType
- intermediate - Variable in class com.csse3200.game.entities.configs.WallConfigs
- IntermediateWallTool - Class in com.csse3200.game.components.structures.tools
-
A tool which allows the player to place an intermediate wall or upgrade basic walls.
- IntermediateWallTool(ObjectMap<String, Integer>) - Constructor for class com.csse3200.game.components.structures.tools.IntermediateWallTool
-
Creates a new intermediate wall tool with the given cost.
- INTERNAL - Enum constant in enum class com.csse3200.game.files.FileLoader.Location
- InvalidConfigException - Exception in com.csse3200.game.areas.mapConfig
- InvalidConfigException() - Constructor for exception com.csse3200.game.areas.mapConfig.InvalidConfigException
- InvalidConfigException(String) - Constructor for exception com.csse3200.game.areas.mapConfig.InvalidConfigException
- InventoryComponent - Class in com.csse3200.game.components.player
-
A component intended to be used by the player to track their inventory.
- InventoryComponent(WeaponConfigs) - Constructor for class com.csse3200.game.components.player.InventoryComponent
- InventoryDisplayComponent - Class in com.csse3200.game.components.player
-
Represents the display component for the player's inventory in the game.
- InventoryDisplayComponent() - Constructor for class com.csse3200.game.components.player.InventoryDisplayComponent
-
Initialises the inventory display.
- irremovable() - Method in class com.csse3200.game.entities.PlaceableEntity
-
This function uses the builder pattern to allow the programmer to make a placeable entity irremovable
- is_irremovable() - Method in class com.csse3200.game.entities.PlaceableEntity
- isBoss - Variable in class com.csse3200.game.entities.configs.EnemyConfig
- isCenterX() - Method in class com.csse3200.game.services.StructurePlacementService.placeStructureAtArgs
- isCenterY() - Method in class com.csse3200.game.services.StructurePlacementService.placeStructureAtArgs
- isCompanionBeingMoved() - Method in class com.csse3200.game.components.Companion.CompanionActions
- isDead() - Method in class com.csse3200.game.components.CombatStatsComponent
-
Returns true if the entity's health is 0 or less, indicating that it's dead; otherwise, returns false.
- isFinished() - Method in class com.csse3200.game.rendering.AnimationRenderComponent
-
Has the playing animation finished? This will always be false for looping animations.
- isImmune - Variable in class com.csse3200.game.components.CombatStatsComponent
- isImmune - Variable in class com.csse3200.game.entities.configs.CompanionConfig
- isImmune - Variable in class com.csse3200.game.entities.configs.HealthEntityConfig
- isInFov() - Method in class com.csse3200.game.components.structures.TurretTargetableComponent
-
Returns whether the entity is within a turrets fov.
- ISOMETRIC - Enum constant in enum class com.csse3200.game.areas.terrain.TerrainComponent.TerrainOrientation
- isOpen() - Method in class com.csse3200.game.ui.terminal.Terminal
- isPositionValid(GridPoint2, PlaceableEntity) - Method in class com.csse3200.game.components.structures.tools.ExtractorTool
-
Checks if the position of the extractor is valid: - There is no collision with other structures (TODO or the map) - The resource type of the extractor doesnt exceed the cap
- isPositionValid(GridPoint2, PlaceableEntity) - Method in class com.csse3200.game.components.structures.tools.PlacementTool
-
Checks whether the structure can be placed at the given position.
- isPositionValid(GridPoint2, PlaceableEntity) - Method in class com.csse3200.game.components.structures.tools.ReplacementTool
-
Checks whether the structure can be placed at the given position.
- isToolUnlocked(String) - Method in class com.csse3200.game.components.structures.StructureToolPicker
-
Returns the unlocked status as a boolean
- isUnleashed() - Method in class com.csse3200.game.components.tasks.BossTask
-
Used to check if Boss has used special attack outside of class
- isVisible() - Method in class com.csse3200.game.components.structures.StructureToolPicker
-
Returns whether the tool picker is visible.
- isWeaponUnlocked(Object) - Method in class com.csse3200.game.components.upgradetree.UpgradeTree
-
Checks if a given weapon type is already unlocked.
- isWindowOpen() - Method in class com.csse3200.game.components.player.KeyboardPlayerInputComponent
-
Checks if any Window is currently open and visible on the stage.
- ItemBox - Class in com.csse3200.game.ui
- ItemBox(Entity, Renderer) - Constructor for class com.csse3200.game.ui.ItemBox
- itemContainMouse() - Method in class com.csse3200.game.ui.ItemBox
- ItemPickupComponent - Class in com.csse3200.game.components
-
A component responsible for handling item pickups in the game.
- ItemPickupComponent(short) - Constructor for class com.csse3200.game.components.ItemPickupComponent
-
Constructs an ItemPickupComponent with the specified target layer for item collisions.
- ITEMS_ABOVE_PLATFORM - Static variable in class com.csse3200.game.physics.PhysicsLayer
- iterator() - Method in class com.csse3200.game.utils.SortedIntMap
J
- Jail - Variable in class com.csse3200.game.entities.configs.NPCConfigs
- JailAnimationController - Class in com.csse3200.game.components.npc
- JailAnimationController(AssetManager) - Constructor for class com.csse3200.game.components.npc.JailAnimationController
- JailConfig - Class in com.csse3200.game.entities.configs
- JailConfig() - Constructor for class com.csse3200.game.entities.configs.JailConfig
- JobSystem - Class in com.csse3200.game.concurrency
-
A job system provides a general-purpose way to run multi-threaded code.
- JoinableComponent - Class in com.csse3200.game.components.joinable
-
This component is used to change the texture and collision bounds of an entity depending on its neighbours.
- JoinableComponent - Class in com.csse3200.game.components.structures
-
This component is used to change the texture and collision bounds of an entity depending on its neighbours.
- JoinableComponent(TextureAtlas, JoinLayer, JoinableComponentShapes) - Constructor for class com.csse3200.game.components.joinable.JoinableComponent
-
Creates a joinable component.
- JoinableComponent(TextureAtlas, JoinLayer, JoinableComponentShapes) - Constructor for class com.csse3200.game.components.structures.JoinableComponent
-
Creates a joinable component.
- JoinableComponentShapes - Class in com.csse3200.game.components.joinable
-
This class is used to read-in and store the vertices for entities with a JoinableComponent attached.
- JoinableComponentShapes - Class in com.csse3200.game.components.structures
-
This class is used to read-in and store the vertices for entities with a JoinableComponent attached.
- JoinableComponentShapes() - Constructor for class com.csse3200.game.components.joinable.JoinableComponentShapes
- JoinableComponentShapes() - Constructor for class com.csse3200.game.components.structures.JoinableComponentShapes
- JoinDirection - Enum Class in com.csse3200.game.components.joinable
-
Used by JoinableComponent to pass around the direction of a join between elements.
- JoinDirection - Enum Class in com.csse3200.game.components.structures
-
Used by JoinableComponent to pass around the direction of a join between elements.
- JoinLayer - Enum Class in com.csse3200.game.components.joinable
-
Used by JoinableComponent to check if two entities should be joined.
- JoinLayer - Enum Class in com.csse3200.game.components.structures
-
Used by JoinableComponent to check if two entities should be joined.
K
- KEYBOARD - Enum constant in enum class com.csse3200.game.input.InputFactory.InputType
- KeyboardCompanionInputComponent - Class in com.csse3200.game.components.Companion
-
The KeyboardCompanionInputComponent class handles keyboard input for controlling a companion character.
- KeyboardCompanionInputComponent() - Constructor for class com.csse3200.game.components.Companion.KeyboardCompanionInputComponent
-
Constructs a new KeyboardCompanionInputComponent with a priority of 5.
- KeyboardInputFactory - Class in com.csse3200.game.input
-
KeyboardInputFactory creates input handlers that process keyboard and touch support.
- KeyboardInputFactory() - Constructor for class com.csse3200.game.input.KeyboardInputFactory
- KeyboardPlayerInputComponent - Class in com.csse3200.game.components.player
-
d Input handler for the player for keyboard and touch (mouse) input.
- KeyboardPlayerInputComponent() - Constructor for class com.csse3200.game.components.player.KeyboardPlayerInputComponent
- KeyboardShipInputComponent - Class in com.csse3200.game.components.ships
-
Input handler for the ship for keyboard.
- KeyboardShipInputComponent() - Constructor for class com.csse3200.game.components.ships.KeyboardShipInputComponent
- KeyboardTerminalInputComponent - Class in com.csse3200.game.ui.terminal
-
Input handler for the debug terminal for keyboard and touch (mouse) input.
- KeyboardTerminalInputComponent() - Constructor for class com.csse3200.game.ui.terminal.KeyboardTerminalInputComponent
- KeyboardTerminalInputComponent(Terminal) - Constructor for class com.csse3200.game.ui.terminal.KeyboardTerminalInputComponent
- keyDown(int) - Method in class com.csse3200.game.components.Companion.KeyboardCompanionInputComponent
- keyDown(int) - Method in class com.csse3200.game.components.Companion.TouchCompanionInputComponent
- keyDown(int) - Method in class com.csse3200.game.components.player.KeyboardPlayerInputComponent
-
Triggers player events on specific keycodes.
- keyDown(int) - Method in class com.csse3200.game.components.player.TouchPlayerInputComponent
-
Triggers player events on specific keycodes.
- keyDown(int) - Method in class com.csse3200.game.components.ships.KeyboardShipInputComponent
-
Triggers ship events on specific keycodes.
- keyDown(int) - Method in class com.csse3200.game.input.InputComponent
- keyDown(int) - Method in class com.csse3200.game.input.InputDecorator
- keyDown(int) - Method in class com.csse3200.game.input.InputOverrideComponent
- keyDown(int) - Method in class com.csse3200.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.csse3200.game.ui.terminal.KeyboardTerminalInputComponent
-
If the toggle key is pressed, the terminal will open / close.
- keyDown(int) - Method in class com.csse3200.game.ui.terminal.TouchTerminalInputComponent
-
Handles input if the terminal is open.
- keyTyped(char) - Method in class com.csse3200.game.input.InputComponent
- keyTyped(char) - Method in class com.csse3200.game.input.InputDecorator
- keyTyped(char) - Method in class com.csse3200.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.csse3200.game.ui.terminal.KeyboardTerminalInputComponent
-
Handles input if the terminal is open.
- keyTyped(char) - Method in class com.csse3200.game.ui.terminal.TouchTerminalInputComponent
-
Handles input if the terminal is open.
- keyUp(int) - Method in class com.csse3200.game.components.Companion.KeyboardCompanionInputComponent
-
Handles key up events and triggers companion events based on specific keycodes.
- keyUp(int) - Method in class com.csse3200.game.components.Companion.TouchCompanionInputComponent
- keyUp(int) - Method in class com.csse3200.game.components.player.KeyboardPlayerInputComponent
-
Triggers player events on specific keycodes.
- keyUp(int) - Method in class com.csse3200.game.components.player.TouchPlayerInputComponent
-
Triggers player events on specific keycodes.
- keyUp(int) - Method in class com.csse3200.game.components.ships.KeyboardShipInputComponent
-
Triggers player events on specific keycodes.
- keyUp(int) - Method in class com.csse3200.game.input.InputComponent
- keyUp(int) - Method in class com.csse3200.game.input.InputDecorator
- keyUp(int) - Method in class com.csse3200.game.input.InputOverrideComponent
- keyUp(int) - Method in class com.csse3200.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.csse3200.game.ui.terminal.KeyboardTerminalInputComponent
-
Handles input if the terminal is open.
- keyUp(int) - Method in class com.csse3200.game.ui.terminal.TouchTerminalInputComponent
-
Handles input if the terminal is open.
- kill(Fixture, Fixture) - Method in class com.csse3200.game.components.DeathComponent
-
When kill condition met, target entity will be disposed.
- KillerBeeController - Class in com.csse3200.game.components.Weapons.SpecWeapon
- KillerBeeController(WeaponConfig, float, Entity, int) - Constructor for class com.csse3200.game.components.Weapons.SpecWeapon.KillerBeeController
L
- LabelAccessor - Class in com.csse3200.game.components.InitialSequence
- LabelAccessor() - Constructor for class com.csse3200.game.components.InitialSequence.LabelAccessor
- LABORATORY - Static variable in class com.csse3200.game.physics.PhysicsLayer
- LaboratoryConfig - Class in com.csse3200.game.entities.configs
- LaboratoryConfig() - Constructor for class com.csse3200.game.entities.configs.LaboratoryConfig
- LaboratoryFactory - Class in com.csse3200.game.entities.factories
-
The LaboratoryFactory class is responsible for creating laboratory entities in the game.
- LaboratoryInventoryComponent - Class in com.csse3200.game.components
-
LaboratoryInventoryComponent handles the inventory of a laboratory, specifically the number of potions it contains.
- LaboratoryInventoryComponent(int) - Constructor for class com.csse3200.game.components.LaboratoryInventoryComponent
-
Initializes a LaboratoryInventoryComponent with the specified initial number of potions.
- LabWindow - Class in com.csse3200.game
-
This is a window that can be added to a stage to pop up for the extractor Laboratory.
- LabWindow(Texture) - Constructor for class com.csse3200.game.LabWindow
- launch(Supplier<T>) - Static method in class com.csse3200.game.concurrency.JobSystem
-
Launch an asynchronous job which may be run on a separate thread.
- launchBlocking(Supplier<T>) - Static method in class com.csse3200.game.concurrency.JobSystem
-
Launch an asynchronous job which may be run on a separate thread.
- layerMask - Variable in class com.csse3200.game.physics.raycast.AllHitCallback
- layerMask - Variable in class com.csse3200.game.physics.raycast.SingleHitCallback
- LEFT - Enum constant in enum class com.csse3200.game.components.joinable.JoinDirection
- LEFT - Enum constant in enum class com.csse3200.game.components.structures.JoinDirection
- LEFT - Enum constant in enum class com.csse3200.game.physics.components.PhysicsComponent.AlignX
- LEFT - Static variable in class com.csse3200.game.utils.math.Vector2Utils
- LEVEL_ONE - Enum constant in enum class com.csse3200.game.entities.buildables.TurretType
- LEVEL_TWO - Enum constant in enum class com.csse3200.game.entities.buildables.TurretType
- LevelConfig - Class in com.csse3200.game.areas.mapConfig
- LevelConfig() - Constructor for class com.csse3200.game.areas.mapConfig.LevelConfig
- levelOne - Variable in class com.csse3200.game.entities.configs.TurretConfigs
- levelTwo - Variable in class com.csse3200.game.entities.configs.TurretConfigs
- lives - Variable in class com.csse3200.game.entities.configs.PlayerConfig
- loadAll() - Method in class com.csse3200.game.services.ResourceService
-
Blocking call to load all assets.
- loadAssets() - Method in class com.csse3200.game.areas.MapGameArea
-
Loads all assets listed in the config file
- loadAssets() - Method in class com.csse3200.game.screens.ControlsScreen
- loadConfigFile(String, Class<T>) - Static method in class com.csse3200.game.areas.mapConfig.MapConfigLoader
-
Loads a generic config file from a given .json path.
- loadDynamicAssets(String[]) - Method in class com.csse3200.game.services.ResourceService
-
Loads multiple assets of different types into the asset manager.
- loadEntities(String) - Static method in class com.csse3200.game.areas.mapConfig.MapConfigLoader
-
Loads a directory containing entity .json files into an AreaEntityConfig object
- loadForMillis(int) - Method in class com.csse3200.game.services.ResourceService
-
Loads assets for the specified duration in milliseconds.
- loadMapDirectory(String) - Static method in class com.csse3200.game.areas.mapConfig.MapConfigLoader
-
Loads a folder containing various .json files that represent a given game area.
- loadMapFile(String) - Static method in class com.csse3200.game.areas.mapConfig.MapConfigLoader
-
Loads a GameArea from a single .json file containing all game area data.
- loadMusic(String[]) - Method in class com.csse3200.game.services.ResourceService
-
Loads a list of music assets into the asset manager.
- loadParticleEffects(String[]) - Method in class com.csse3200.game.services.ResourceService
-
Loads a list of particle effect assets into the asset manager.
- loadSounds(String[]) - Method in class com.csse3200.game.services.ResourceService
-
Loads a list of sounds into the asset manager.
- loadTextureAtlases(String[]) - Method in class com.csse3200.game.services.ResourceService
-
Loads a list of texture atlas assets into the asset manager.
- loadTextures(String[]) - Method in class com.csse3200.game.services.ResourceService
-
Loads a list of texture assets into the asset manager.
- LOCAL - Enum constant in enum class com.csse3200.game.files.FileLoader.Location
- logger - Static variable in class com.csse3200.game.components.Component
- logger - Static variable in class com.csse3200.game.screens.CompanionDeathScreen
- logger - Static variable in class com.csse3200.game.screens.MainMenuScreen
- logger - Static variable in class com.csse3200.game.screens.PlayerDeathScreen
- longPress(float, float) - Method in class com.csse3200.game.input.InputComponent
- longPress(float, float) - Method in class com.csse3200.game.input.InputService
-
Iterates over registered input handlers in descending priority and stops as soon as the input is processed
- loopSound(String) - Method in class com.csse3200.game.components.SoundComponent
-
Loops the sound which soundName maps to if it exists.
M
- MAIN_MENU - Enum constant in enum class com.csse3200.game.GdxGame.ScreenType
- MainAlert - Class in com.csse3200.game.ui
- MainAlert(GdxGame, String, Skin, String) - Constructor for class com.csse3200.game.ui.MainAlert
- MainGameActions - Class in com.csse3200.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.csse3200.game.components.maingame.MainGameActions
- MainGameExitDisplay - Class in com.csse3200.game.components.maingame
-
Displays a button to exit the Main Game screen to the Main Menu screen.
- MainGameExitDisplay() - Constructor for class com.csse3200.game.components.maingame.MainGameExitDisplay
- MainMenuActions - Class in com.csse3200.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, Stage, Skin) - Constructor for class com.csse3200.game.components.mainmenu.MainMenuActions
- MainMenuDisplay - Class in com.csse3200.game.components.mainmenu
-
The UI component responsible for rendering and managing the main menu interface.
- MainMenuDisplay() - Constructor for class com.csse3200.game.components.mainmenu.MainMenuDisplay
- MainMenuScreen - Class in com.csse3200.game.screens
-
The game screen containing the main menu.
- MainMenuScreen(GdxGame) - Constructor for class com.csse3200.game.screens.MainMenuScreen
- MakeNewLaboratory() - Static method in class com.csse3200.game.LabWindow
- MakeNewMinigame(Entity) - Static method in class com.csse3200.game.ExtractorMinigameWindow
-
Returns a new Minigame window intialised with appropriate background.
- MapConfigLoader - Class in com.csse3200.game.areas.mapConfig
-
Class to handle loading of game areas from config files
- MapConfigLoader() - Constructor for class com.csse3200.game.areas.mapConfig.MapConfigLoader
- MapGameArea - Class in com.csse3200.game.areas
-
A Base Game Area for any level.
- MapGameArea(String, TerrainFactory, GdxGame, int) - Constructor for class com.csse3200.game.areas.MapGameArea
- mapName - Variable in class com.csse3200.game.areas.mapConfig.GameAreaConfig
- MAX - Static variable in class com.csse3200.game.utils.math.Vector2Utils
- maxAmmo - Variable in class com.csse3200.game.entities.configs.TurretConfig
- maxHealth - Variable in class com.csse3200.game.entities.configs.HealthEntityConfig
- maxLivesReached() - Method in class com.csse3200.game.components.player.PlayerStatsDisplay
-
Creates an alert for if the maximum number of lives (3) has been reached.
- Melee - Enum constant in enum class com.csse3200.game.entities.enemies.EnemyType
- MELEE_BEE_STING - Enum constant in enum class com.csse3200.game.components.Weapons.WeaponType
- MELEE_BEE_STING - Variable in class com.csse3200.game.entities.configs.WeaponConfigs
- MELEE_KATANA - Enum constant in enum class com.csse3200.game.components.Weapons.WeaponType
- MELEE_KATANA - Variable in class com.csse3200.game.entities.configs.WeaponConfigs
- MELEE_WRENCH - Enum constant in enum class com.csse3200.game.components.Weapons.WeaponType
- MELEE_WRENCH - Variable in class com.csse3200.game.entities.configs.WeaponConfigs
- meleeBossDTE - Variable in class com.csse3200.game.entities.configs.NPCConfigs
- meleeBossPTE - Variable in class com.csse3200.game.entities.configs.NPCConfigs
- meleeEnemyDTE - Variable in class com.csse3200.game.entities.configs.NPCConfigs
- meleeEnemyPTE - Variable in class com.csse3200.game.entities.configs.NPCConfigs
- MeleeSwingController - Class in com.csse3200.game.components.Weapons.SpecWeapon
- MeleeSwingController(WeaponConfig, float, Entity) - Constructor for class com.csse3200.game.components.Weapons.SpecWeapon.MeleeSwingController
- MIN - Static variable in class com.csse3200.game.utils.math.Vector2Utils
- MinigameConfigs - Class in com.csse3200.game.entities.configs
- MinigameConfigs() - Constructor for class com.csse3200.game.entities.configs.MinigameConfigs
- MinigameShipFactory - Class in com.csse3200.game.entities.factories
- MiniScreen - Class in com.csse3200.game.screens
-
The MiniScreen class represents a screen in the game that displays a mini-screen with initial content.
- MiniScreen(GdxGame) - Constructor for class com.csse3200.game.screens.MiniScreen
-
Constructs a MiniScreen instance.
- MiniScreenDisplay - Class in com.csse3200.game.components.MiniDisplay
-
The MiniScreenDisplay class represents a user interface component used in the initial sequence of the game.
- MiniScreenDisplay(GdxGame) - Constructor for class com.csse3200.game.components.MiniDisplay.MiniScreenDisplay
-
Constructs a MiniScreenDisplay instance.
- minusLife() - Method in class com.csse3200.game.components.CombatStatsComponent
-
Subtracts one life from player lives.
- MountedFrames - Static variable in class com.csse3200.game.screens.MainMenuScreen
- mouseMoved(int, int) - Method in class com.csse3200.game.components.player.KeyboardPlayerInputComponent
-
Update location of known mouse position
- mouseMoved(int, int) - Method in class com.csse3200.game.input.InputComponent
- mouseMoved(int, int) - Method in class com.csse3200.game.input.InputDecorator
- mouseMoved(int, int) - Method in class com.csse3200.game.input.InputService
-
Iterates over registered input handlers in descending priority and stops as soon as the input is processed
- mouseState - Variable in class com.csse3200.game.areas.ExtractorMiniGameArea
- move() - Method in class com.csse3200.game.components.Weapons.SpecWeapon.BoomerangController
- move() - Method in class com.csse3200.game.components.Weapons.SpecWeapon.HomingMissileSprayProjectileController
- move() - Method in class com.csse3200.game.components.Weapons.SpecWeapon.MeleeSwingController
- move() - Method in class com.csse3200.game.components.Weapons.SpecWeapon.ProjectileController
- move() - Method in class com.csse3200.game.components.Weapons.SpecWeapon.StaticController
- move() - Method in class com.csse3200.game.components.Weapons.WeaponControllerComponent
-
Update entity location every tick
- moveEntityTowardFollowingEntity() - Method in class com.csse3200.game.components.FollowComponent
- MovementController - Interface in com.csse3200.game.ai.movement
-
A movement controller moves something to a given a target.
- MovementTask - Class in com.csse3200.game.components.tasks
-
Move to a given position, finishing when you get close enough.
- MovementTask(Vector2) - Constructor for class com.csse3200.game.components.tasks.MovementTask
- MovementTask(Vector2, float) - Constructor for class com.csse3200.game.components.tasks.MovementTask
- moveToNextPlanet(Object) - Method in class com.csse3200.game.services.PlanetTravel
-
Move to the next planet and spawn the minigame screen
- moving - Variable in class com.csse3200.game.components.Companion.CompanionActions
- musicVolume - Variable in class com.csse3200.game.files.UserSettings.Settings
N
- name - Variable in class com.csse3200.game.components.structures.ToolConfig
-
The display name of this tool
- name - Variable in class com.csse3200.game.entities.configs.WeaponConfig
- name - Variable in class com.csse3200.game.screens.PlanetScreen
- NAVIGATION_SCREEN - Enum constant in enum class com.csse3200.game.GdxGame.ScreenType
- NavigationBackground - Class in com.csse3200.game.components.spacenavigation
- NavigationBackground() - Constructor for class com.csse3200.game.components.spacenavigation.NavigationBackground
- Nebulite - Enum constant in enum class com.csse3200.game.components.resources.Resource
- NONE - Static variable in class com.csse3200.game.physics.PhysicsLayer
- normal - Variable in class com.csse3200.game.components.Companion.CompanionActions
- normal - Variable in class com.csse3200.game.physics.raycast.RaycastHit
-
the normal vector of the collider surface at the hit point.
- NORTH - Enum constant in enum class com.csse3200.game.components.structures.Rotation
- notifyNeighbours(boolean) - Method in class com.csse3200.game.components.joinable.JoinableComponent
-
Notifies all the entities neighbours of a change in join status.
- notifyNeighbours(boolean) - Method in class com.csse3200.game.components.structures.JoinableComponent
-
Notifies all the entities neighbours of a change in join status.
- NPC - Static variable in class com.csse3200.game.physics.PhysicsLayer
- NPC_OBSTACLE - Static variable in class com.csse3200.game.physics.PhysicsLayer
- NPCConfigs - Class in com.csse3200.game.entities.configs
-
Defines all NPC configs to be loaded by Related Factories.
- NPCConfigs() - Constructor for class com.csse3200.game.entities.configs.NPCConfigs
- NPCFactory - Class in com.csse3200.game.entities.factories
-
Factory to create non-playable character (NPC) entities with predefined components.
- NPCFactory() - Constructor for class com.csse3200.game.entities.factories.NPCFactory
-
Private constructor to prevent instantiation of the NPCFactory.
- NPCFactory(AssetManager) - Constructor for class com.csse3200.game.entities.factories.NPCFactory
-
Creates an instance of NPCFactory.
O
- object - Variable in class com.csse3200.game.utils.StringDecorator
- OBSTACLE - Static variable in class com.csse3200.game.physics.PhysicsLayer
- obstacleEnemy - Variable in class com.csse3200.game.entities.configs.MinigameConfigs
- ObstacleFactory - Class in com.csse3200.game.entities.factories
-
Factory to create obstacle entities.
- obstacleGameGoal - Variable in class com.csse3200.game.entities.configs.MinigameConfigs
- ObstacleMiniGameActions - Class in com.csse3200.game.components.obstacleMinigame
- ObstacleMiniGameActions(GdxGame, Stage) - Constructor for class com.csse3200.game.components.obstacleMinigame.ObstacleMiniGameActions
- ONE - Static variable in class com.csse3200.game.utils.math.Vector2Utils
- onReturnPlanet() - Method in class com.csse3200.game.components.maingame.MainGameActions
- onStateChange(ConcurrentHashMap<String, Object>) - Method in interface com.csse3200.game.services.GameState.StateChangeListener
-
Callback method triggered when the state changes.
- openGate(Entity) - Method in class com.csse3200.game.entities.buildables.Gate
-
Changes the texture to resemble an open gate and disables the collision.
- openTextureAtlas - Variable in class com.csse3200.game.entities.configs.GateConfig
- ORTHOGONAL - Enum constant in enum class com.csse3200.game.areas.terrain.TerrainComponent.TerrainOrientation
- overrideZIndex(float) - Method in class com.csse3200.game.rendering.RenderComponent
-
Overrides the z index
- owner - Variable in class com.csse3200.game.ai.tasks.DefaultTask
P
- pan(float, float, float, float) - Method in class com.csse3200.game.input.InputComponent
- pan(float, float, float, float) - Method in class com.csse3200.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.csse3200.game.input.InputComponent
- panStop(float, float, int, int) - Method in class com.csse3200.game.input.InputService
-
Iterates over registered input handlers in descending priority and stops as soon as the input is processed
- ParticleComponent - Class in com.csse3200.game.components
- ParticleComponent(ParticleEffectsConfig) - Constructor for class com.csse3200.game.components.ParticleComponent
-
Creates a new EffectComponent using the effects specified in the effectsConfig.
- particleEffectPaths - Variable in class com.csse3200.game.areas.mapConfig.GameAreaConfig
- ParticleEffectsConfig - Class in com.csse3200.game.entities.configs
-
This config class is used to load in custom sound files to play using the SoundComponent
- ParticleEffectsConfig() - Constructor for class com.csse3200.game.entities.configs.ParticleEffectsConfig
- PathFinder - Class in com.csse3200.game.components.npc
- PathFinder() - Constructor for class com.csse3200.game.components.npc.PathFinder
- pause() - Method in class com.csse3200.game.screens.MainMenuScreen
- pause() - Method in class com.csse3200.game.screens.PlanetScreen
- pause() - Method in class com.csse3200.game.screens.PlayerDeathScreen
- pause() - Method in class com.csse3200.game.screens.SpaceNavigationScreen
-
Method called when the game is paused.
- PerformanceDisplay - Class in com.csse3200.game.components.gamearea
-
Displays performance stats about the game for debugging purposes.
- PerformanceDisplay() - Constructor for class com.csse3200.game.components.gamearea.PerformanceDisplay
- PhysicsComponent - Class in com.csse3200.game.physics.components
-
Lets an entity be controlled by physics.
- PhysicsComponent() - Constructor for class com.csse3200.game.physics.components.PhysicsComponent
-
Create a physics component with default settings.
- PhysicsComponent(PhysicsEngine) - Constructor for class com.csse3200.game.physics.components.PhysicsComponent
-
Create a physics component
- PhysicsComponent.AlignX - Enum Class in com.csse3200.game.physics.components
- PhysicsComponent.AlignY - Enum Class in com.csse3200.game.physics.components
- PhysicsContactListener - Class in com.csse3200.game.physics
-
Box2D collision events fire globally on the physics world, not per-object.
- PhysicsContactListener() - Constructor for class com.csse3200.game.physics.PhysicsContactListener
- PhysicsEngine - Class in com.csse3200.game.physics
-
Process game physics using the Box2D library.
- PhysicsEngine() - Constructor for class com.csse3200.game.physics.PhysicsEngine
- PhysicsEngine(World, GameTime) - Constructor for class com.csse3200.game.physics.PhysicsEngine
- PhysicsLayer - Class in com.csse3200.game.physics
- PhysicsMovementComponent - Class in com.csse3200.game.physics.components
-
Movement controller for a physics-based entity.
- PhysicsMovementComponent() - Constructor for class com.csse3200.game.physics.components.PhysicsMovementComponent
- PhysicsService - Class in com.csse3200.game.physics
-
Provides a global access point to the physics engine.
- PhysicsService() - Constructor for class com.csse3200.game.physics.PhysicsService
- PhysicsService(PhysicsEngine) - Constructor for class com.csse3200.game.physics.PhysicsService
- PhysicsUtils - Class in com.csse3200.game.physics
- pinch(Vector2, Vector2, Vector2, Vector2) - Method in class com.csse3200.game.input.InputComponent
- pinch(Vector2, Vector2, Vector2, Vector2) - Method in class com.csse3200.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.csse3200.game.input.InputComponent
- pinchStop() - Method in class com.csse3200.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.csse3200.game.input.InputComponent
-
Wrapper for pinch stop that can be overridden.
- Placeable - Interface in com.csse3200.game.components.structures
-
This interface defines methods components can implement which will be called when a structure is placed or removed via the StructurePlacementService.
- PlaceableEntity - Class in com.csse3200.game.entities
- PlaceableEntity(int, int) - Constructor for class com.csse3200.game.entities.PlaceableEntity
- placed() - Method in class com.csse3200.game.components.structures.CostComponent
-
Charges the player the specified cost of the structure.
- placed() - Method in class com.csse3200.game.components.structures.JoinableComponent
-
Determines what connections the structure has, and notifies neighbouring structures of a change.
- placed() - Method in interface com.csse3200.game.components.structures.Placeable
-
Called after the structure is placed into the grid map.
- placed() - Method in class com.csse3200.game.entities.PlaceableEntity
-
This function is called when a PlaceableEntity is placed via the structure placement service.
- PlaceEntity(Entity) - Method in class com.csse3200.game.services.EntityPlacementService
-
Function relay place entity call to listeners - passes provided entity
- placeEntityAt(Entity, Vector2) - Method in class com.csse3200.game.areas.GameArea
-
Function to listen for "placeEntityAt" trigger and repond by placing entitiy at specified position.
- PlaceEntityAt(Entity, Vector2) - Method in class com.csse3200.game.services.EntityPlacementService
-
FUnction to relay an entity and a position
- placeInSlot(WeaponType) - Method in class com.csse3200.game.components.player.InventoryComponent
- PlacementTool - Class in com.csse3200.game.components.structures.tools
-
An abstract tool which allows the player to place a structure.
- PlacementTool(ObjectMap<String, Integer>) - Constructor for class com.csse3200.game.components.structures.tools.PlacementTool
-
Creates a new tool which allows the placing of structures with the given cost.
- placeStructureAt(PlaceableEntity, GridPoint2, boolean, boolean) - Method in class com.csse3200.game.services.StructurePlacementService
- placeStructureAtArgs(Entity, GridPoint2, boolean, boolean) - Constructor for class com.csse3200.game.services.StructurePlacementService.placeStructureAtArgs
- PlanetHudDisplay - Class in com.csse3200.game.components.gamearea
-
Displays the name of the current game area and an image of the planet.
- PlanetHudDisplay(String, String) - Constructor for class com.csse3200.game.components.gamearea.PlanetHudDisplay
- planetImage - Variable in class com.csse3200.game.areas.mapConfig.GameAreaConfig
- PlanetScreen - Class in com.csse3200.game.screens
-
A screen that represents a single planet of the game with its corresponding game area/s.
- PlanetScreen(GdxGame) - Constructor for class com.csse3200.game.screens.PlanetScreen
-
Construct the PlanetScreen instance for the first planet (Earth).
- PlanetScreen(GdxGame, String) - Constructor for class com.csse3200.game.screens.PlanetScreen
-
Construct the PlanetScreen instance for the planet of given name.
- PlanetTravel - Class in com.csse3200.game.services
-
Responsible for travel between planets and stored the number of planets remaining
- PlanetTravel(GdxGame) - Constructor for class com.csse3200.game.services.PlanetTravel
-
Constructor to set the current game state for using
- PlatformFactory - Class in com.csse3200.game.entities.factories
- PlatformFactory() - Constructor for class com.csse3200.game.entities.factories.PlatformFactory
- player - Static variable in class com.csse3200.game.areas.GameArea
- player - Variable in class com.csse3200.game.components.Companion.CompanionStatsDisplay
-
The player entity associated with this CompanionStatsDisplay.
- player - Variable in class com.csse3200.game.components.Weapons.WeaponControllerComponent
- PLAYER - Static variable in class com.csse3200.game.physics.PhysicsLayer
- PLAYER_DEATH - Enum constant in enum class com.csse3200.game.GdxGame.ScreenType
- PLAYER_DEATH_0 - Enum constant in enum class com.csse3200.game.GdxGame.ScreenType
- PLAYER_DEATH_1 - Enum constant in enum class com.csse3200.game.GdxGame.ScreenType
- PLAYER_DEATH_2 - Enum constant in enum class com.csse3200.game.GdxGame.ScreenType
- PLAYER_DEATH_3 - Enum constant in enum class com.csse3200.game.GdxGame.ScreenType
- PlayerActions - Class in com.csse3200.game.components.player
-
Action component for interacting with the player.
- PlayerActions() - Constructor for class com.csse3200.game.components.player.PlayerActions
- PlayerAnimationController - Class in com.csse3200.game.components.player
-
This class listens to events relevant to a player's state and plays the animation when one of the events is triggered.
- PlayerAnimationController() - Constructor for class com.csse3200.game.components.player.PlayerAnimationController
- playerConfig - Variable in class com.csse3200.game.areas.mapConfig.GameAreaConfig
- PlayerConfig - Class in com.csse3200.game.entities.configs
-
Defines the properties stored in player config files to be loaded by the Player Factory.
- PlayerConfig() - Constructor for class com.csse3200.game.entities.configs.PlayerConfig
- PlayerDeathScreen - Class in com.csse3200.game.screens
-
The game screen indicating a player's death and options to either restart or exit game.
- PlayerDeathScreen(GdxGame, int) - Constructor for class com.csse3200.game.screens.PlayerDeathScreen
- PlayerFactory - Class in com.csse3200.game.entities.factories
-
Factory to create a player entity.
- playerLowHealthLabel - Variable in class com.csse3200.game.components.Companion.CompanionStatsDisplay
-
The UI playerLowHealthLabel for displaying the companion's health.
- PlayerStatsDisplay - Class in com.csse3200.game.components.player
-
An ui component for displaying player stats, e.g.
- PlayerStatsDisplay(PlayerConfig) - Constructor for class com.csse3200.game.components.player.PlayerStatsDisplay
-
Constructor for the PlayerStatsDisplay
- PlayerWeaponFactory - Class in com.csse3200.game.entities.factories
-
Class to create weapons for the player to hold
- playSound(String) - Method in class com.csse3200.game.components.SoundComponent
-
Plays the sound which soundName maps to if it exists.
- point - Variable in class com.csse3200.game.physics.raycast.RaycastHit
-
Point at which the raycast hit the fixture.
- PopupComponent - Class in com.csse3200.game.components.resources
- PopupComponent(int, double) - Constructor for class com.csse3200.game.components.resources.PopupComponent
-
Popup Component a component which can be attached to an existing entity to delete it in a fancy way! The entity MUST have a RenderTextureComponent.
- PopupFactory - Class in com.csse3200.game.entities.factories
- PopupFactory() - Constructor for class com.csse3200.game.entities.factories.PopupFactory
- Portal - Class in com.csse3200.game.entities
-
Portal class which extends Entity.
- Portal(Entity) - Constructor for class com.csse3200.game.entities.Portal
-
Creates a portal, that will teleport the player entity.
- PortalConfig - Class in com.csse3200.game.entities.configs
- PortalConfig() - Constructor for class com.csse3200.game.entities.configs.PortalConfig
- PortalFactory - Class in com.csse3200.game.entities.factories
-
Factory to create Portal entities.
- position - Variable in class com.csse3200.game.entities.configs.BaseEntityConfig
- positionInDirection(float, float) - Method in class com.csse3200.game.components.Weapons.WeaponControllerComponent
-
Returns the game position in a given direction at a given distance relative to the player to center a given attack entity
- postSolve(Contact, ContactImpulse) - Method in class com.csse3200.game.physics.PhysicsContactListener
- PowerupComponent - Class in com.csse3200.game.components
-
Represents a power-up component within the game.
- PowerupComponent(PowerupType) - Constructor for class com.csse3200.game.components.PowerupComponent
-
Assigns a type and targetLayer value to a given Powerup
- PowerupConfig - Class in com.csse3200.game.entities.configs
- PowerupConfig() - Constructor for class com.csse3200.game.entities.configs.PowerupConfig
- powerupConfigs - Variable in class com.csse3200.game.components.Companion.CompanionInventoryDisplay
- PowerupConfigs - Class in com.csse3200.game.entities.configs
- PowerupConfigs() - Constructor for class com.csse3200.game.entities.configs.PowerupConfigs
- PowerUpDisplayHUD - Class in com.csse3200.game.components
-
This UI Component for displaying PowerUp.
- PowerUpDisplayHUD(PowerupType) - Constructor for class com.csse3200.game.components.PowerUpDisplayHUD
- powerUpEntity - Variable in class com.csse3200.game.components.PowerUpDisplayHUD
- PowerupFactory - Class in com.csse3200.game.entities.factories
- PowerupType - Enum Class in com.csse3200.game.components
- preSolve(Contact, Manifold) - Method in class com.csse3200.game.physics.PhysicsContactListener
- printFn - Variable in class com.csse3200.game.utils.StringDecorator
- priority - Variable in class com.csse3200.game.input.InputComponent
-
The priority that the input handler is visited in by InputService.
- PriorityTask - Interface in com.csse3200.game.ai.tasks
-
A priority task is a task that also has a priority.
- processMessage() - Method in class com.csse3200.game.ui.terminal.Terminal
-
Processes the completed message entered by the user.
- ProductionComponent - Class in com.csse3200.game.components.resources
- ProductionComponent(Resource, long, int) - Constructor for class com.csse3200.game.components.resources.ProductionComponent
-
ProductionComponent allows an entity to produce resources on some real time interval and send them to the gameState and event handler.
- ProjectileAttackComponent - Class in com.csse3200.game.components
-
When this entity touches a valid enemy's hitbox, deal damage to them and apply a knockback.
- ProjectileAttackComponent(short) - Constructor for class com.csse3200.game.components.ProjectileAttackComponent
-
Create a component which attacks entities on collision, without knockback.
- ProjectileAttackComponent(short, float) - Constructor for class com.csse3200.game.components.ProjectileAttackComponent
-
Create a component which attacks entities on collision, with knockback.
- ProjectileConfigs - Class in com.csse3200.game.entities.configs
- ProjectileConfigs() - Constructor for class com.csse3200.game.entities.configs.ProjectileConfigs
- ProjectileController - Class in com.csse3200.game.components.Weapons.SpecWeapon
- ProjectileController(WeaponConfig, float, Entity, int) - Constructor for class com.csse3200.game.components.Weapons.SpecWeapon.ProjectileController
- ProjectileFactory - Class in com.csse3200.game.entities.factories
-
Factory to create projectile entities with predefined components.
- ProjectileFactory() - Constructor for class com.csse3200.game.entities.factories.ProjectileFactory
- ProjectileMovementTask - Class in com.csse3200.game.components.tasks
-
Projectile moves towards the target in a straight line and is disposed once it reaches the target position
- ProjectileMovementTask(Vector2, int, float, float) - Constructor for class com.csse3200.game.components.tasks.ProjectileMovementTask
-
Creates a new projectile movement task.
- projectiles - Variable in class com.csse3200.game.entities.configs.WeaponConfig
- ProximityActivationComponent - Class in com.csse3200.game.components
-
This component can be used to call an entry or exit method when on of the tracking entities enters or exits a proximity.
- ProximityActivationComponent(float, ProximityActivationComponent.ProximityFunc, ProximityActivationComponent.ProximityFunc) - Constructor for class com.csse3200.game.components.ProximityActivationComponent
- ProximityActivationComponent(float, Entity, ProximityActivationComponent.ProximityFunc, ProximityActivationComponent.ProximityFunc) - Constructor for class com.csse3200.game.components.ProximityActivationComponent
- ProximityActivationComponent(float, List<Entity>, ProximityActivationComponent.ProximityFunc, ProximityActivationComponent.ProximityFunc) - Constructor for class com.csse3200.game.components.ProximityActivationComponent
- ProximityActivationComponent.ProximityFunc - Interface in com.csse3200.game.components
- ProximityControllerComponent - Class in com.csse3200.game.components
- ProximityControllerComponent() - Constructor for class com.csse3200.game.components.ProximityControllerComponent
- PTE - Enum constant in enum class com.csse3200.game.entities.enemies.EnemyBehaviour
- put(int, V) - Method in class com.csse3200.game.utils.SortedIntMap
-
Put key, value pair in map
- put(String, Object) - Method in class com.csse3200.game.services.GameState
-
Add or update the state data and trigger the state change callbacks.
- put(String, Object) - Method in class com.csse3200.game.services.GameStateInteraction
-
Updates or adds the given key-value pair in the game state data.
R
- radius - Variable in class com.csse3200.game.components.ProximityActivationComponent
- random(GridPoint2, GridPoint2) - Static method in class com.csse3200.game.utils.math.RandomUtils
- random(Vector2, Vector2) - Static method in class com.csse3200.game.utils.math.RandomUtils
- RandomUtils - Class in com.csse3200.game.utils.math
- rangeBossDTE - Variable in class com.csse3200.game.entities.configs.NPCConfigs
- rangeBossPTE - Variable in class com.csse3200.game.entities.configs.NPCConfigs
- Ranged - Enum constant in enum class com.csse3200.game.entities.enemies.EnemyType
- RANGED_BLUEMERANG - Enum constant in enum class com.csse3200.game.components.Weapons.WeaponType
- RANGED_BLUEMERANG - Variable in class com.csse3200.game.entities.configs.WeaponConfigs
- RANGED_BOOMERANG - Enum constant in enum class com.csse3200.game.components.Weapons.WeaponType
- RANGED_BOOMERANG - Variable in class com.csse3200.game.entities.configs.WeaponConfigs
- RANGED_HOMING - Enum constant in enum class com.csse3200.game.components.Weapons.WeaponType
- RANGED_HOMING - Variable in class com.csse3200.game.entities.configs.WeaponConfigs
- RANGED_MISSILES - Enum constant in enum class com.csse3200.game.components.Weapons.WeaponType
- RANGED_MISSILES - Variable in class com.csse3200.game.entities.configs.WeaponConfigs
- RANGED_SLINGSHOT - Enum constant in enum class com.csse3200.game.components.Weapons.WeaponType
- RANGED_SLINGSHOT - Variable in class com.csse3200.game.entities.configs.WeaponConfigs
- rangeEnemyDTE - Variable in class com.csse3200.game.entities.configs.NPCConfigs
- rangeEnemyPTE - Variable in class com.csse3200.game.entities.configs.NPCConfigs
- raycast(Vector2, Vector2, short, RaycastHit) - Method in class com.csse3200.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.csse3200.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.csse3200.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.csse3200.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.csse3200.game.physics.raycast
-
Stores information about a raycast hit.
- RaycastHit() - Constructor for class com.csse3200.game.physics.raycast.RaycastHit
- readClass(Class<T>, String) - Static method in class com.csse3200.game.files.FileLoader
-
Read generic Java classes from a JSON file.
- readClass(Class<T>, String, FileLoader.Location) - Static method in class com.csse3200.game.files.FileLoader
-
Read generic Java classes from a JSON file.
- reanimate() - Method in class com.csse3200.game.components.Weapons.SpecWeapon.BoomerangController
- reanimate() - Method in class com.csse3200.game.components.Weapons.SpecWeapon.HomingProjectileController
- reanimate() - Method in class com.csse3200.game.components.Weapons.SpecWeapon.MeleeSwingController
- reanimate() - Method in class com.csse3200.game.components.Weapons.SpecWeapon.ProjectileController
- reanimate() - Method in class com.csse3200.game.components.Weapons.SpecWeapon.StaticController
- reanimate() - Method in class com.csse3200.game.components.Weapons.WeaponControllerComponent
-
Update entity animation if required
- refillAmmo() - Method in class com.csse3200.game.entities.buildables.Turret
-
Refill the turret's ammunition to its maximum capacity.
- refillAmmo(int) - Method in class com.csse3200.game.entities.buildables.Turret
-
Refill the turret's ammunition by the given amount.
- refreshRate - Variable in class com.csse3200.game.files.UserSettings.DisplaySettings
- register(Entity) - Method in class com.csse3200.game.entities.EntityService
-
Register a new entity with the entity service.
- register(InputComponent) - Method in class com.csse3200.game.input.InputService
-
Register an input handler based on its priority and reorder inputHandlers.
- register(Renderable) - Method in class com.csse3200.game.rendering.RenderService
-
Register a new renderable.
- registerEntityPlacementService() - Method in class com.csse3200.game.areas.GameArea
-
Function to register entity placement service using teh approripate listeners.
- registerEntityPlacementService(EntityPlacementService) - Static method in class com.csse3200.game.services.ServiceLocator
- registerEntityService(EntityService) - Static method in class com.csse3200.game.services.ServiceLocator
- registerGameArea(GameArea) - Static method in class com.csse3200.game.services.ServiceLocator
- registerGameStateObserverService(GameStateObserver) - Static method in class com.csse3200.game.services.ServiceLocator
- registerInputService(InputService) - Static method in class com.csse3200.game.services.ServiceLocator
- registerPhysicsService(PhysicsService) - Static method in class com.csse3200.game.services.ServiceLocator
- registerRenderService(RenderService) - Static method in class com.csse3200.game.services.ServiceLocator
- registerResourceService(ResourceService) - Static method in class com.csse3200.game.services.ServiceLocator
- registerStateChangeListener(GameState.StateChangeListener) - Method in class com.csse3200.game.services.GameState
-
Registers a state change listener.
- registerStructurePlacementService() - Method in class com.csse3200.game.areas.GameArea
- registerStructurePlacementService(StructurePlacementService) - Static method in class com.csse3200.game.services.ServiceLocator
- registerTerrainService(TerrainService) - Static method in class com.csse3200.game.services.ServiceLocator
- registerTimeSource(GameTime) - Static method in class com.csse3200.game.services.ServiceLocator
- remainingDuration - Variable in class com.csse3200.game.components.Weapons.WeaponControllerComponent
- remove() - Method in class com.csse3200.game.components.Companion.CompanionInventoryDisplay
- remove() - Method in class com.csse3200.game.components.ShipInteractionPopup
- remove() - Method in class com.csse3200.game.components.upgradetree.UpgradeDisplay
-
Override the removal process to unregister input overrides.
- remove() - Method in class com.csse3200.game.ExtractorMinigameWindow
- remove() - Method in class com.csse3200.game.LabWindow
-
Call this method to exit the Laboratory and repair the extractor's health.
- remove() - Method in class com.csse3200.game.ui.DialogueBox
- removeAnimation(String) - Method in class com.csse3200.game.rendering.AnimationRenderComponent
-
Remove an animation from this animator.
- removed() - Method in class com.csse3200.game.components.structures.CostComponent
-
Refunds the player the specified cost of the structure proportional to the percentage of health remaining.
- removed() - Method in interface com.csse3200.game.components.structures.Placeable
-
Called after the structure is removed from the grid map.
- removed() - Method in class com.csse3200.game.entities.PlaceableEntity
-
This function is called when a PlaceableEntity is removed via the structure placement service.
- removeItemOnMap(Entity) - Static method in class com.csse3200.game.areas.MapGameArea
- removeStructureAt(GridPoint2) - Method in class com.csse3200.game.services.StructurePlacementService
- removeStructureAt(GridPoint2, boolean) - Method in class com.csse3200.game.services.StructurePlacementService
- render() - Method in class com.csse3200.game.rendering.Renderer
-
Render everything to the render service.
- render() - Method in class com.csse3200.game.ui.ItemBox
- render(float) - Method in class com.csse3200.game.screens.CompanionDeathScreen
- render(float) - Method in class com.csse3200.game.screens.ControlsScreen
- render(float) - Method in class com.csse3200.game.screens.ExtractorMiniGameScreen
- render(float) - Method in class com.csse3200.game.screens.InitialScreen
- render(float) - Method in class com.csse3200.game.screens.MainMenuScreen
- render(float) - Method in class com.csse3200.game.screens.MiniScreen
- render(float) - Method in class com.csse3200.game.screens.PlanetScreen
- render(float) - Method in class com.csse3200.game.screens.PlayerDeathScreen
- render(float) - Method in class com.csse3200.game.screens.SettingsScreen
- render(float) - Method in class com.csse3200.game.screens.SpaceMapScreen
-
Method for rendering the entities in the obstacle minigame alongside updating the distance between two entities
- render(float) - Method in class com.csse3200.game.screens.SpaceNavigationScreen
-
Renders the screen.
- render(float) - Method in class com.csse3200.game.screens.StoryScreen
- render(float) - Method in class com.csse3200.game.screens.UpgradeShopScreen
-
Renders the screen.
- render(SpriteBatch) - Method in interface com.csse3200.game.rendering.Renderable
-
Render the renderable.
- render(SpriteBatch) - Method in class com.csse3200.game.rendering.RenderComponent
- render(SpriteBatch) - Method in class com.csse3200.game.rendering.RenderService
-
Trigger rendering on the given batch.
- render(Matrix4) - Method in class com.csse3200.game.rendering.DebugRenderer
- Renderable - Interface in com.csse3200.game.rendering
-
Can be rendered onto the screen given a Sprite batch.
- RenderComponent - Class in com.csse3200.game.rendering
-
A generic component for rendering an entity.
- RenderComponent() - Constructor for class com.csse3200.game.rendering.RenderComponent
- renderer - Variable in class com.csse3200.game.screens.ControlsScreen
- Renderer - Class in com.csse3200.game.rendering
-
Core rendering system for the game.
- Renderer(CameraComponent) - Constructor for class com.csse3200.game.rendering.Renderer
-
Create a new renderer with default settings
- Renderer(CameraComponent, float, SpriteBatch, Stage, RenderService, DebugRenderer) - Constructor for class com.csse3200.game.rendering.Renderer
-
Create a renderer
- RenderFactory - Class in com.csse3200.game.entities.factories
- renderPhysicsWorld(World) - Method in class com.csse3200.game.rendering.DebugRenderer
- RenderService - Class in com.csse3200.game.rendering
-
Globally accessible service for registering renderable components.
- RenderService() - Constructor for class com.csse3200.game.rendering.RenderService
- REPAIR_DEMO - Enum constant in enum class com.csse3200.game.areas.terrain.TerrainFactory.TerrainType
- ReplacementTool - Class in com.csse3200.game.components.structures.tools
-
An abstract tool which allows the player to place a structure.
- ReplacementTool(ObjectMap<String, Integer>) - Constructor for class com.csse3200.game.components.structures.tools.ReplacementTool
-
Creates a new tool which allows the placing of structures with the given cost.
- replaceSlotWithWeapon(String, WeaponType) - Method in class com.csse3200.game.components.player.InventoryComponent
-
Replaces the specified slot with a given weapon.
- replaceStructureAt(PlaceableEntity, GridPoint2, boolean, boolean) - Method in class com.csse3200.game.services.StructurePlacementService
- reportRayFixture(Fixture, Vector2, Vector2, float) - Method in class com.csse3200.game.physics.raycast.AllHitCallback
- reportRayFixture(Fixture, Vector2, Vector2, float) - Method in class com.csse3200.game.physics.raycast.SingleHitCallback
- requiredTextures - Variable in class com.csse3200.game.entities.configs.BaseEntityConfig
- resetImage() - Method in class com.csse3200.game.components.Companion.CompanionStatsDisplay
-
Reset the companion's image.
- resize() - Method in class com.csse3200.game.components.player.DeathScreenDisplay
- resize(int, int) - Method in class com.csse3200.game.rendering.Renderer
-
Resize the renderer to a new screen size.
- resize(int, int) - Method in class com.csse3200.game.screens.CompanionDeathScreen
- resize(int, int) - Method in class com.csse3200.game.screens.ControlsScreen
- resize(int, int) - Method in class com.csse3200.game.screens.InitialScreen
- resize(int, int) - Method in class com.csse3200.game.screens.MainMenuScreen
- resize(int, int) - Method in class com.csse3200.game.screens.MiniScreen
- resize(int, int) - Method in class com.csse3200.game.screens.PlanetScreen
- resize(int, int) - Method in class com.csse3200.game.screens.PlayerDeathScreen
- resize(int, int) - Method in class com.csse3200.game.screens.SettingsScreen
- resize(int, int) - Method in class com.csse3200.game.screens.SpaceMapScreen
-
Method for resizing the rendering of the entities
- resize(int, int) - Method in class com.csse3200.game.screens.SpaceNavigationScreen
-
Resizes the viewport dimensions based on the given width and height.
- resize(int, int) - Method in class com.csse3200.game.screens.StoryScreen
- resize(int, int, float) - Method in class com.csse3200.game.components.CameraComponent
- resource - Variable in class com.csse3200.game.areas.mapConfig.ResourceCondition
- resource - Variable in class com.csse3200.game.entities.configs.ExtractorConfig
- resource - Variable in class com.csse3200.game.entities.configs.FissureConfig
- Resource - Enum Class in com.csse3200.game.components.resources
- ResourceCondition - Class in com.csse3200.game.areas.mapConfig
- ResourceCondition() - Constructor for class com.csse3200.game.areas.mapConfig.ResourceCondition
- ResourceDisplay - Class in com.csse3200.game.components.resources
-
A ui component for displaying resources in the bottom right corner of the screen.
- ResourceDisplay(int, int, int) - Constructor for class com.csse3200.game.components.resources.ResourceDisplay
-
Constructor for the ResourceDisplay.
- ResourceService - Class in com.csse3200.game.services
-
Service for loading resources, e.g.
- ResourceService() - Constructor for class com.csse3200.game.services.ResourceService
- ResourceService(AssetManager) - Constructor for class com.csse3200.game.services.ResourceService
-
Initialise this ResourceService to use the provided AssetManager.
- resume() - Method in class com.csse3200.game.screens.MainMenuScreen
- resume() - Method in class com.csse3200.game.screens.PlanetScreen
- resume() - Method in class com.csse3200.game.screens.PlayerDeathScreen
- resume() - Method in class com.csse3200.game.screens.SpaceNavigationScreen
-
Method called when the game is resumed after pausing.
- returnCurrent() - Method in class com.csse3200.game.services.PlanetTravel
-
Return the current planet where player are in
- returnToCurrent() - Method in class com.csse3200.game.services.PlanetTravel
-
Travel back to the currently loaded planet.
- ReturnToPlanetDisplay - Class in com.csse3200.game.components.maingame
-
Displays a button to exit the current game screen to the current Planet screen.
- ReturnToPlanetDisplay() - Constructor for class com.csse3200.game.components.maingame.ReturnToPlanetDisplay
- RIGHT - Enum constant in enum class com.csse3200.game.components.joinable.JoinDirection
- RIGHT - Enum constant in enum class com.csse3200.game.components.structures.JoinDirection
- RIGHT - Enum constant in enum class com.csse3200.game.physics.components.PhysicsComponent.AlignX
- RIGHT - Static variable in class com.csse3200.game.utils.math.Vector2Utils
- rotate() - Method in class com.csse3200.game.components.Weapons.SpecWeapon.BoomerangController
- rotate() - Method in class com.csse3200.game.components.Weapons.SpecWeapon.HomingProjectileController
- rotate() - Method in class com.csse3200.game.components.Weapons.SpecWeapon.MeleeSwingController
- rotate() - Method in class com.csse3200.game.components.Weapons.SpecWeapon.ProjectileController
- rotate() - Method in class com.csse3200.game.components.Weapons.SpecWeapon.StaticController
- rotate() - Method in class com.csse3200.game.components.Weapons.WeaponControllerComponent
-
Update entity rotation every tick
- rotateTurret(Entity) - Method in class com.csse3200.game.entities.buildables.Turret
-
This method is used to rotate the turret.
- rotation - Variable in class com.csse3200.game.components.structures.RotationRenderComponent
- Rotation - Enum Class in com.csse3200.game.components.structures
-
Used by the RotationRenderComponent to indicate which atlasRegion to display.
- RotationRenderComponent - Class in com.csse3200.game.components.structures
-
This component can be used to display different AtlasRegions depending on the compass rotation of the entity.
- RotationRenderComponent(TextureAtlas, Rotation) - Constructor for class com.csse3200.game.components.structures.RotationRenderComponent
- RotationRenderComponent(String, Rotation) - Constructor for class com.csse3200.game.components.structures.RotationRenderComponent
-
Creates a RotationRenderComponent with the given atlasPath and rotation.
- rotationSpeed - Variable in class com.csse3200.game.entities.configs.WeaponConfig
- RunTask - Class in com.csse3200.game.components.tasks
-
Runs away from target entity if it gets too close
- RunTask(Entity, int, float) - Constructor for class com.csse3200.game.components.tasks.RunTask
S
- save() - Method in class com.csse3200.game.components.SaveableComponent
- SaveableComponent<T extends BaseEntityConfig> - Class in com.csse3200.game.components
- SaveableComponent(Function<Entity, T>, Class<T>) - Constructor for class com.csse3200.game.components.SaveableComponent
- saveCurrentArea() - Method in class com.csse3200.game.entities.EntityService
- scale - Variable in class com.csse3200.game.entities.configs.BaseEntityConfig
- scaleEntity() - Method in class com.csse3200.game.rendering.AnimationRenderComponent
-
Scale the entity to a width of 1 and a height matching the texture's ratio
- scaleEntity() - Method in class com.csse3200.game.rendering.AtlasRenderComponent
-
Scale the entity to a width of 1 and a height matching the texture's ratio
- scaleEntity() - Method in class com.csse3200.game.rendering.TextureRenderComponent
-
Scale the entity to a width of 1 and a height matching the texture's ratio
- scaleH - Variable in class com.csse3200.game.entities.configs.TreeTopConfig
- scaleHeight(float) - Method in class com.csse3200.game.entities.Entity
-
Set the entity's height and scale the width to maintain aspect ratio.
- scaleWidth(float) - Method in class com.csse3200.game.entities.Entity
-
Set the entity's width and scale the height to maintain aspect ratio.
- scaleX - Variable in class com.csse3200.game.entities.configs.TreeTopConfig
- scaleY - Variable in class com.csse3200.game.entities.configs.TreeTopConfig
- ScreenCoordsToGameCoords(int, int) - Method in class com.csse3200.game.services.TerrainService
- scrolled(float, float) - Method in class com.csse3200.game.input.InputComponent
- scrolled(float, float) - Method in class com.csse3200.game.input.InputDecorator
- scrolled(float, float) - Method in class com.csse3200.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.csse3200.game.ui.terminal.TouchTerminalInputComponent
-
Scrolling up will open the terminal and scrolling down will close the terminal.
- selectPowerUp() - Method in class com.csse3200.game.components.PowerUpDisplayHUD
-
the select PowerUp function helps to select the current powerUp
- ServiceLocator - Class in com.csse3200.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.csse3200.game.files.UserSettings
-
Set the stored user settings
- setActive(boolean) - Method in class com.csse3200.game.rendering.DebugRenderer
- setAlpha(float) - Method in class com.csse3200.game.components.player.AlertUIComponent
-
Sets the alpha of the spritebatch
- setAlpha(float) - Method in interface com.csse3200.game.components.player.IAlpha
-
Changes the classes alpha component which is used during rendering.
- setAlpha(float) - Method in class com.csse3200.game.rendering.ColorDrawable
-
Changes the alpha of the ColorDrawable.
- setAlpha(float) - Method in class com.csse3200.game.rendering.TextureRenderComponent
-
Sets the alpha of the spritebatch
- setAsBox(Vector2) - Method in class com.csse3200.game.physics.components.ColliderComponent
-
Set physics as a box with a given size.
- setAsBox(Vector2, Vector2) - Method in class com.csse3200.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.csse3200.game.physics.components.ColliderComponent
-
Set physics as a box with a given size.
- setAttackMultiplier(int) - Method in class com.csse3200.game.components.CombatStatsComponent
-
Sets the entity's attack multiplier.
- setBaseAttack(int) - Method in class com.csse3200.game.components.CombatStatsComponent
-
Sets the entity's base attack damage.
- setBlendMode(TiledMapTile.BlendMode) - Method in class com.csse3200.game.areas.terrain.TerrainTile
- setBodyType(BodyDef.BodyType) - Method in class com.csse3200.game.physics.components.PhysicsComponent
-
Set body type
- setBulletTexturePath(String) - Method in class com.csse3200.game.components.Companion.CompanionActions
-
Set the bullet texture path.
- setCenterX(boolean) - Method in class com.csse3200.game.services.StructurePlacementService.placeStructureAtArgs
- setCenterY(boolean) - Method in class com.csse3200.game.services.StructurePlacementService.placeStructureAtArgs
- setClosed() - Method in class com.csse3200.game.ui.terminal.Terminal
-
Closes the terminal and clears the stored message.
- setCompanionModeAttack() - Method in class com.csse3200.game.components.Companion.CompanionActions
-
Set companion mode to attack
- setCompanionModeNormal() - Method in class com.csse3200.game.components.Companion.CompanionActions
-
set the companion mode to normal
- setCurrentArea(String) - Method in class com.csse3200.game.screens.PlanetScreen
-
Sets the current game area the player is on.
- setCustomCollider(Entity, float, float, float, float) - Static method in class com.csse3200.game.physics.PhysicsUtils
-
Modifies the collider of an entity to be a rectangle of a specified size with the corner being in the specified relative coordinates
- setDebug(DebugRenderer) - Method in class com.csse3200.game.rendering.RenderService
- setDensity(float) - Method in class com.csse3200.game.physics.components.ColliderComponent
-
Set density
- setDepth(int) - Method in class com.csse3200.game.components.upgradetree.UpgradeNode
-
Sets the current node's depth
- setDialogueText(String) - Method in class com.csse3200.game.ui.DialogueBox
-
Sets the text to be displayed in the dialogue box.
- setDuration(long) - Method in class com.csse3200.game.components.Companion.CompanionStatsDisplay
- setDuration(long) - Method in class com.csse3200.game.components.PowerupComponent
-
Sets the duration for which the Powerup effect should last.
- setEnabled(boolean) - Method in class com.csse3200.game.components.Component
-
Enable or disable the component.
- setEnabled(boolean) - Method in class com.csse3200.game.entities.Entity
-
Enable or disable an entity.
- setEnabled(boolean) - Method in class com.csse3200.game.physics.components.PhysicsComponent
- setEnteredMessage(String) - Method in class com.csse3200.game.ui.terminal.Terminal
-
Sets the text shown on the terminal
- setEntity(Entity) - Method in class com.csse3200.game.components.Component
-
Set the entity to which this component belongs.
- setEntity(Entity) - Method in class com.csse3200.game.services.StructurePlacementService.placeStructureAtArgs
- setEntity(Entity) - Method in class com.csse3200.game.services.StructurePlacementService.spawnEntityAtVectorArgs
- setEntityType(String) - Method in class com.csse3200.game.entities.Entity
-
Sets the type of entity
- setEquipped(String) - Method in class com.csse3200.game.components.player.InventoryComponent
-
Changes active inventory slot to a specific slot
- setEquippedCooldown(int) - Method in class com.csse3200.game.components.player.InventoryComponent
-
Sets the cooldown for the currently equipped weapon slot
- setFollowSpeed(float) - Method in class com.csse3200.game.components.FollowComponent
-
Sets the entities follow speed to the given input
- setFriction(float) - Method in class com.csse3200.game.physics.components.ColliderComponent
-
Set friction.
- setFrozenLevel(int) - Method in class com.csse3200.game.components.EnvironmentStatsComponent
- setFuel(int) - Method in class com.csse3200.game.components.ships.ShipActions
-
Changes the max available fuel for the ship
- setHealth(int) - Method in class com.csse3200.game.components.CombatStatsComponent
-
Sets the entity's health.
- setHealth(int) - Method in class com.csse3200.game.components.ships.ShipActions
-
Changes the max health of the ship
- setHealth(int, boolean) - Method in class com.csse3200.game.components.CombatStatsComponent
-
sets the entity's health to maximum if H-Key is pressed on the keyboard.
- setId(int) - Method in class com.csse3200.game.areas.terrain.TerrainTile
- setImmunity(boolean) - Method in class com.csse3200.game.components.CombatStatsComponent
-
Sets the entity's immunity status.
- setImmunity(boolean) - Method in class com.csse3200.game.components.EnvironmentStatsComponent
-
Sets the entity's immunity status.
- setInFov(boolean) - Method in class com.csse3200.game.components.structures.TurretTargetableComponent
-
Sets whether the entity is within a turrets fov
- setLayer(short) - Method in class com.csse3200.game.physics.components.ColliderComponent
-
Set the collider layer, used in collision logic
- setLives(int) - Method in class com.csse3200.game.components.CombatStatsComponent
-
Sets the number of lives player has left.
- setMoving(boolean) - Method in interface com.csse3200.game.ai.movement.MovementController
- setMoving(boolean) - Method in class com.csse3200.game.physics.components.PhysicsMovementComponent
-
Enable/disable movement for the controller.
- setOffsetX(float) - Method in class com.csse3200.game.areas.terrain.TerrainTile
- setOffsetY(float) - Method in class com.csse3200.game.areas.terrain.TerrainTile
- setOpen() - Method in class com.csse3200.game.ui.terminal.Terminal
-
Opens the terminal.
- setParent(UpgradeNode) - Method in class com.csse3200.game.components.upgradetree.UpgradeNode
-
Sets the parent of the current node
- setPlayerLives(int) - Method in class com.csse3200.game.GdxGame
-
Sets the number of lives player currently has.
- setPosition(float, float) - Method in class com.csse3200.game.entities.Entity
-
Set the entity's game position.
- setPosition(float, float) - Method in class com.csse3200.game.entities.Portal
-
Sets the teleport location.
- setPosition(Vector2) - Method in class com.csse3200.game.entities.Entity
-
Set the entity's game position.
- setPosition(Vector2, boolean) - Method in class com.csse3200.game.entities.Entity
-
Set the entity's game position and optionally notifies listeners.
- setPotion(int) - Method in class com.csse3200.game.components.LaboratoryInventoryComponent
-
Sets the number of potions in the laboratory.
- setPriority(int) - Method in class com.csse3200.game.input.InputComponent
- setRegion(String, boolean) - Method in class com.csse3200.game.rendering.AtlasRenderComponent
-
Sets the region to use when drawing the texture.
- setRestitution(float) - Method in class com.csse3200.game.physics.components.ColliderComponent
-
Set restitution
- setRotation(float) - Method in class com.csse3200.game.rendering.TextureRenderComponent
- setRotation(Rotation) - Method in class com.csse3200.game.components.structures.RotationRenderComponent
-
Sets the current rotation of the atlas.
- setScale(float, float) - Method in class com.csse3200.game.entities.Entity
-
Set the entity's scale.
- setScale(Vector2) - Method in class com.csse3200.game.entities.Entity
-
Set the entity's scale.
- setScaledCollider(Entity, float, float) - Static method in class com.csse3200.game.physics.PhysicsUtils
- setScreen(GdxGame.ScreenType) - Method in class com.csse3200.game.GdxGame
-
Sets the game's screen to a new screen of the provided type.
- setSelectedTool(Tool) - Method in class com.csse3200.game.components.structures.StructureToolPicker
-
Sets the given tool to be the selected tool.
- setSensor(boolean) - Method in class com.csse3200.game.physics.components.ColliderComponent
-
Set whether this physics component is a sensor.
- setShape(Shape) - Method in class com.csse3200.game.physics.components.ColliderComponent
-
Set shape
- setShipActions(ShipActions) - Method in class com.csse3200.game.components.ships.ShipStatDisplay
- setShop() - Method in class com.csse3200.game.services.UpgradeShip
-
This method responsible for setting the Shop place (new Map) By Vy (gonna delete this later)
- setSpeed(float, float) - Method in class com.csse3200.game.components.Companion.CompanionActions
-
Set the speed to a set number.
- setSpeed(float, float) - Method in class com.csse3200.game.components.player.PlayerActions
-
Sets the maximum speed of the entity given x and y.
- setStage(Stage) - Method in class com.csse3200.game.rendering.RenderService
- setTarget(Vector2) - Method in interface com.csse3200.game.ai.movement.MovementController
- setTarget(Vector2) - Method in class com.csse3200.game.components.tasks.MovementTask
- setTarget(Vector2) - Method in class com.csse3200.game.physics.components.PhysicsMovementComponent
-
Set a target to move towards.
- setTesting(int) - Method in class com.csse3200.game.components.Companion.KeyboardCompanionInputComponent
-
Sets the testing value.
- setTesting(int) - Method in class com.csse3200.game.components.player.KeyboardPlayerInputComponent
-
Sets value for testing.
- setTextureRegion(TextureRegion) - Method in class com.csse3200.game.areas.terrain.TerrainTile
- setTilePos(GridPoint2) - Method in class com.csse3200.game.services.StructurePlacementService.placeStructureAtArgs
- setTimer(GameTime) - Method in class com.csse3200.game.components.resources.PopupComponent
-
Overrides the generated timer, in case you want to prolong the life, pause the popup, etc (useful for testing)
- setTimer(GameTime) - Method in class com.csse3200.game.components.resources.ProductionComponent
- setTimeScale(float) - Method in class com.csse3200.game.services.GameTime
-
Set the speed of time passing.
- Settings() - Constructor for class com.csse3200.game.files.UserSettings.Settings
- SETTINGS - Enum constant in enum class com.csse3200.game.GdxGame.ScreenType
- SettingsMenuDisplay - Class in com.csse3200.game.components.settingsmenu
-
Settings menu display and logic.
- SettingsMenuDisplay(GdxGame) - Constructor for class com.csse3200.game.components.settingsmenu.SettingsMenuDisplay
- SettingsScreen - Class in com.csse3200.game.screens
-
The game screen containing the settings.
- SettingsScreen(GdxGame) - Constructor for class com.csse3200.game.screens.SettingsScreen
-
Constructs a new SettingsScreen.
- setType(PowerupType) - Method in class com.csse3200.game.components.PowerupComponent
-
Sets the type of the Powerup.
- setType(ShipUpgradesType) - Method in class com.csse3200.game.components.ships.ShipUpgradesComponent
-
Sets the type of the ShipUpgrades.
- setValues(Label, int, float[]) - Method in class com.csse3200.game.components.InitialSequence.LabelAccessor
- setWorldPos(Vector2) - Method in class com.csse3200.game.services.StructurePlacementService.spawnEntityAtVectorArgs
- setX(float) - Method in class com.csse3200.game.components.upgradetree.UpgradeNode
-
Sets the x-coordinate of the node.
- setY(float) - Method in class com.csse3200.game.components.upgradetree.UpgradeNode
-
Sets the y-coordinate of the node.
- ship - Variable in class com.csse3200.game.entities.configs.MinigameConfigs
- SHIP - Static variable in class com.csse3200.game.physics.PhysicsLayer
- ShipActions - Class in com.csse3200.game.components.ships
-
Action component for interacting with the player.
- ShipActions(int, int, int) - Constructor for class com.csse3200.game.components.ships.ShipActions
-
Initialize the health, fuel and acceleration of the ship
- ShipAnimationController - Class in com.csse3200.game.components.ships
-
This class listens to events relevant to a ship's state and plays the animation when one of the events is triggered
- ShipAnimationController() - Constructor for class com.csse3200.game.components.ships.ShipAnimationController
- ShipConfig - Class in com.csse3200.game.entities.configs
- ShipConfig() - Constructor for class com.csse3200.game.entities.configs.ShipConfig
- ShipInteractionPopup - Class in com.csse3200.game.components
- ShipInteractionPopup() - Constructor for class com.csse3200.game.components.ShipInteractionPopup
- ShipStatDisplay - Class in com.csse3200.game.components.ships
-
A ui component for displaying the ship stats, e.g.
- ShipStatDisplay() - Constructor for class com.csse3200.game.components.ships.ShipStatDisplay
- ShipUpgradesComponent - Class in com.csse3200.game.components.ships
-
Represents the upgrades for ship
- ShipUpgradesComponent(ShipUpgradesType, short) - Constructor for class com.csse3200.game.components.ships.ShipUpgradesComponent
-
Assigns a type and targetLayer value to a given ShipUpgrade
- ShipUpgradesConfig - Class in com.csse3200.game.entities.configs
- ShipUpgradesConfig() - Constructor for class com.csse3200.game.entities.configs.ShipUpgradesConfig
- ShipUpgradesFactory - Class in com.csse3200.game.entities.factories
- ShipUpgradesFactory() - Constructor for class com.csse3200.game.entities.factories.ShipUpgradesFactory
- ShipUpgradesType - Enum Class in com.csse3200.game.components.ships
-
contains types of upgrades for ships
- ShootTask - Class in com.csse3200.game.components.tasks
-
Shoots a projectile at a target in game.
- ShootTask(Entity) - Constructor for class com.csse3200.game.components.tasks.ShootTask
-
Creates a new shoot task.
- ShopArea - Class in com.csse3200.game.areas
-
Shop Area for spawning items and stats about the ship
- ShopArea(TerrainFactory) - Constructor for class com.csse3200.game.areas.ShopArea
-
Constructor for initializing terrain area
- show() - Method in class com.csse3200.game.components.HealthBarComponent
- show() - Method in class com.csse3200.game.components.structures.StructureToolPicker
-
Shows the tool picker.
- show() - Method in class com.csse3200.game.screens.PlanetScreen
-
Create the screen services and game areas on show.
- show() - Method in class com.csse3200.game.screens.SpaceNavigationScreen
-
Invoked when this screen becomes the current screen.
- showDialog(Stage) - Method in class com.csse3200.game.ui.AlertBox
- showDialog(Stage) - Method in class com.csse3200.game.ui.DialogueBox
-
Shows the dialogue box on the specified stage.
- showDialog(Stage) - Method in class com.csse3200.game.ui.TitleBox
-
Displays the TitleBox dialog on the specified stage.
- showDialog(Stage, Runnable) - Method in class com.csse3200.game.ui.MainAlert
- showDialog(Stage, Runnable) - Method in class com.csse3200.game.ui.SpaceMiniTransition
-
Displays the SpaceMiniTransition actor on the specified stage and sets a callback to execute after the transition.
- showdialogue(String, String) - Method in class com.csse3200.game.ui.DialogComponent
-
Displays a dialog box with the specified title and text.
- SingleHitCallback - Class in com.csse3200.game.physics.raycast
-
Cast a ray against all colliders that match the layermask.
- SingleHitCallback() - Constructor for class com.csse3200.game.physics.raycast.SingleHitCallback
- skin - Static variable in class com.csse3200.game.ui.UIComponent
- slotType - Variable in class com.csse3200.game.entities.configs.WeaponConfig
- SNAP - Enum constant in enum class com.csse3200.game.components.PowerupType
- snapPowerup - Variable in class com.csse3200.game.entities.configs.PowerupConfigs
- snapX - Variable in class com.csse3200.game.components.structures.tools.PlacementTool
- snapY - Variable in class com.csse3200.game.components.structures.tools.PlacementTool
- Solstite - Enum constant in enum class com.csse3200.game.components.resources.Resource
- SortedIntMap<V> - Class in com.csse3200.game.utils
-
A map sorted by the value of key with O(1) iteration.
- SortedIntMap(int) - Constructor for class com.csse3200.game.utils.SortedIntMap
-
Create a sorted intmap with the specified capacity
- sound - Variable in class com.csse3200.game.entities.configs.EnemyConfig
- sound - Variable in class com.csse3200.game.entities.configs.NPCConfigs
- sound - Variable in class com.csse3200.game.entities.configs.WeaponConfig
- SoundComponent - Class in com.csse3200.game.components
-
This component can be used to trigger sounds by an entity to play.
- SoundComponent(SoundsConfig) - Constructor for class com.csse3200.game.components.SoundComponent
-
Creates a new SoundComponent using the sounds specified in the soundsConfig file.
- soundPaths - Variable in class com.csse3200.game.areas.mapConfig.GameAreaConfig
- sounds - Variable in class com.csse3200.game.entities.configs.PlayerConfig
- SoundsConfig - Class in com.csse3200.game.entities.configs
-
This config class is used to load in custom sound files to play using the SoundComponent
- SoundsConfig() - Constructor for class com.csse3200.game.entities.configs.SoundsConfig
- soundsMap - Variable in class com.csse3200.game.entities.configs.SoundsConfig
-
Used to map sound identification strings to the sound files
- soundVolume - Variable in class com.csse3200.game.files.UserSettings.Settings
- SOUTH - Enum constant in enum class com.csse3200.game.components.structures.Rotation
- SPACE_DEMO - Enum constant in enum class com.csse3200.game.areas.terrain.TerrainFactory.TerrainType
- SPACE_MAP - Enum constant in enum class com.csse3200.game.GdxGame.ScreenType
- SpaceGameArea - Class in com.csse3200.game.areas
-
Forest area for the demo game with trees, a player, and some enemies.
- SpaceGameArea(TerrainFactory) - Constructor for class com.csse3200.game.areas.SpaceGameArea
-
Constructor for initializing terrain area
- SpaceMapScreen - Class in com.csse3200.game.screens
-
The game screen containing the main game.
- SpaceMapScreen(GdxGame) - Constructor for class com.csse3200.game.screens.SpaceMapScreen
-
Method for creating the space map screen for the obstacle minigame
- SPACEMINI_SCREEN - Enum constant in enum class com.csse3200.game.GdxGame.ScreenType
- SpaceMiniTransition - Class in com.csse3200.game.ui
-
The SpaceMiniTransition class represents a screen transition effect used in a LibGDX game.
- SpaceMiniTransition(GdxGame, String, Skin, String) - Constructor for class com.csse3200.game.ui.SpaceMiniTransition
-
Creates a new SpaceMiniTransition instance.
- SpaceNavigationScreen - Class in com.csse3200.game.screens
-
Represents the navigation screen for the game, allowing the user to navigate between various planets and options.
- SpaceNavigationScreen(GdxGame) - Constructor for class com.csse3200.game.screens.SpaceNavigationScreen
-
Constructs a new SpaceNavigationScreen with a reference to the main game.
- SPANNER - Enum constant in enum class com.csse3200.game.areas.ExtractorMiniGameArea.MouseState
- SpannerInputComponent - Class in com.csse3200.game.input
- SpannerInputComponent(TerrainComponent, ExtractorMiniGameArea) - Constructor for class com.csse3200.game.input.SpannerInputComponent
- spawnEntity(Entity) - Method in class com.csse3200.game.areas.GameArea
-
Spawn entity at its current position
- spawnEntityAt(Entity, GridPoint2, boolean, boolean) - Method in class com.csse3200.game.areas.GameArea
-
Spawn entity on a given tile.
- spawnEntityAtVector(Entity, Vector2) - Method in class com.csse3200.game.areas.GameArea
- spawnEntityAtVector(Entity, Vector2) - Method in class com.csse3200.game.services.StructurePlacementService
- spawnEntityAtVectorArgs(Entity, Vector2) - Constructor for class com.csse3200.game.services.StructurePlacementService.spawnEntityAtVectorArgs
- SpawnerComponent - Class in com.csse3200.game.components.npc
- SpawnerComponent(SpawnerConfig) - Constructor for class com.csse3200.game.components.npc.SpawnerComponent
- SpawnerConfig - Class in com.csse3200.game.entities.configs
- SpawnerConfig() - Constructor for class com.csse3200.game.entities.configs.SpawnerConfig
- spawnExtinguisher() - Method in class com.csse3200.game.areas.ExtractorMiniGameArea
- spawnExtractor(Entity) - Method in class com.csse3200.game.areas.GameArea
-
Spawn a given extractor at its current position Includes handling the animation of the extractor
- spawnExtractorBang(int, int) - Method in class com.csse3200.game.areas.ExtractorMiniGameArea
- spawnExtractorsFirePart() - Method in class com.csse3200.game.areas.ExtractorMiniGameArea
- spawnExtractorsHolePart() - Method in class com.csse3200.game.areas.ExtractorMiniGameArea
- spawnExtractorsRepairs() - Method in class com.csse3200.game.areas.ExtractorMiniGameArea
- spawnPlayer(GridPoint2) - Method in class com.csse3200.game.areas.GameArea
-
Spawns the player entity and adds them to the list of targetable entities
- spawnSpanner() - Method in class com.csse3200.game.areas.ExtractorMiniGameArea
- specialAttack - Variable in class com.csse3200.game.entities.configs.EnemyConfig
- specialAttack() - Method in class com.csse3200.game.components.tasks.SpecialAttackTask
-
Creates multiple projectiles, calculates which position to fire to, sets them off.
- SpecialAttackTask - Class in com.csse3200.game.components.tasks
-
Fires Boss' Special Attack
- SpecialAttackTask(float) - Constructor for class com.csse3200.game.components.tasks.SpecialAttackTask
-
Creates new Special Attack Task
- speed - Variable in class com.csse3200.game.entities.configs.AstroConfig
- speed - Variable in class com.csse3200.game.entities.configs.BotanistConfig
- speed - Variable in class com.csse3200.game.entities.configs.CompanionConfig
- speed - Variable in class com.csse3200.game.entities.configs.EnemyBulletConfig
- speed - Variable in class com.csse3200.game.entities.configs.EnemyConfig
- speed - Variable in class com.csse3200.game.entities.configs.PlayerConfig
- SPEED_BOOST - Enum constant in enum class com.csse3200.game.components.PowerupType
- speedPowerup - Variable in class com.csse3200.game.entities.configs.PowerupConfigs
- spliterator() - Method in class com.csse3200.game.utils.SortedIntMap
- spritePath - Variable in class com.csse3200.game.entities.configs.BaseEntityConfig
- stage - Variable in class com.csse3200.game.ui.DialogComponent
- stage - Variable in class com.csse3200.game.ui.UIComponent
- StarBackground - Class in com.csse3200.game.components.spacenavigation
- StarBackground() - Constructor for class com.csse3200.game.components.spacenavigation.StarBackground
-
Constructs a new StarBackground instance.
- StarBackground(int) - Constructor for class com.csse3200.game.components.spacenavigation.StarBackground
-
Constructs a new StarBackground instance.
- starShift(int, int) - Method in class com.csse3200.game.components.spacenavigation.NavigationBackground
- starShift(int, int) - Method in class com.csse3200.game.components.spacenavigation.StarBackground
-
Shifts a star from the given x-y coordinates to new position.
- start() - Method in class com.csse3200.game.ai.tasks.DefaultTask
- start() - Method in interface com.csse3200.game.ai.tasks.Task
-
Start running this task.
- start() - Method in class com.csse3200.game.components.tasks.AdjustedChaseTask
- start() - Method in class com.csse3200.game.components.tasks.AimTask
- start() - Method in class com.csse3200.game.components.tasks.BossTask
- start() - Method in class com.csse3200.game.components.tasks.ChaseTask
- start() - Method in class com.csse3200.game.components.tasks.MovementTask
- start() - Method in class com.csse3200.game.components.tasks.ProjectileMovementTask
- start() - Method in class com.csse3200.game.components.tasks.RunTask
- start() - Method in class com.csse3200.game.components.tasks.ShootTask
- start() - Method in class com.csse3200.game.components.tasks.SpecialAttackTask
- start() - Method in class com.csse3200.game.components.tasks.WaitTask
-
Start waiting from now until duration has passed.
- start() - Method in class com.csse3200.game.components.tasks.WanderTask
- startAnimation(String) - Method in class com.csse3200.game.rendering.AnimationRenderComponent
-
Start playback of an animation.
- startDamage(Entity) - Method in class com.csse3200.game.entities.buildables.Turret
-
This method is used manage shooting and requires a target.
- startEffect(String) - Method in class com.csse3200.game.components.ParticleComponent
-
Plays the effect which effectName maps to if it exists.
- startGame() - Method in class com.csse3200.game.components.MiniDisplay.MiniScreenDisplay
- STATIC_WEAPON - Enum constant in enum class com.csse3200.game.components.Weapons.WeaponType
- StaticController - Class in com.csse3200.game.components.Weapons.SpecWeapon
- StaticController(WeaponConfig, Entity) - Constructor for class com.csse3200.game.components.Weapons.SpecWeapon.StaticController
- status - Variable in class com.csse3200.game.ai.tasks.DefaultTask
- STEELHAMMER - Enum constant in enum class com.csse3200.game.components.Weapons.WeaponType
- STEELHAMMER - Variable in class com.csse3200.game.entities.configs.WeaponConfigs
- STICK - Enum constant in enum class com.csse3200.game.components.Weapons.WeaponType
- STICK - Variable in class com.csse3200.game.entities.configs.WeaponConfigs
- STONEHAMMER - Enum constant in enum class com.csse3200.game.components.Weapons.WeaponType
- STONEHAMMER - Variable in class com.csse3200.game.entities.configs.WeaponConfigs
- stop() - Method in class com.csse3200.game.ai.tasks.DefaultTask
- stop() - Method in interface com.csse3200.game.ai.tasks.Task
-
Stop the task immediately.
- stop() - Method in class com.csse3200.game.components.tasks.AdjustedChaseTask
- stop() - Method in class com.csse3200.game.components.tasks.BossTask
- stop() - Method in class com.csse3200.game.components.tasks.ChaseTask
- stop() - Method in class com.csse3200.game.components.tasks.MovementTask
- stop() - Method in class com.csse3200.game.components.tasks.RunTask
- stop() - Method in class com.csse3200.game.components.tasks.ShootTask
- stop() - Method in class com.csse3200.game.components.tasks.SpecialAttackTask
- stopAnimation() - Method in class com.csse3200.game.rendering.AnimationRenderComponent
-
Stop the currently running animation.
- stopDamage(Entity) - Method in class com.csse3200.game.entities.buildables.Turret
-
This method is used to stop giving damage to an entity.
- stopEffect(String) - Method in class com.csse3200.game.components.ParticleComponent
-
Stops the playing of the effect which effectName maps to if it exists.
- stopSound(String) - Method in class com.csse3200.game.components.SoundComponent
-
Stops the sound which soundName maps to if it exists.
- StoryActions - Class in com.csse3200.game.components.story
-
A component that defines actions for managing the game's story progression.
- StoryActions(GdxGame) - Constructor for class com.csse3200.game.components.story.StoryActions
-
Creates a new instance of StoryActions.
- StoryDisplay - Class in com.csse3200.game.components.story
-
A UI component that displays a sequence of images along with navigation buttons for a story presentation.
- StoryDisplay() - Constructor for class com.csse3200.game.components.story.StoryDisplay
- StoryScreen - Class in com.csse3200.game.screens
-
The game screen containing the main game.
- StoryScreen(GdxGame) - Constructor for class com.csse3200.game.screens.StoryScreen
- StringDecorator<T> - Class in com.csse3200.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.csse3200.game.utils.StringDecorator
-
Create a string-decorated object.
- STRUCTURE - Static variable in class com.csse3200.game.physics.PhysicsLayer
- StructureDestroyComponent - Class in com.csse3200.game.components.structures
-
This component can be placed on PlaceableEntities and will destroy the structure if it runs out of health.
- StructureDestroyComponent() - Constructor for class com.csse3200.game.components.structures.StructureDestroyComponent
-
Creates a StructureDestroyComponent.
- StructureFactory - Class in com.csse3200.game.entities.factories
-
Factory to create structure entities - such as extractors or ships.
- structurePlacementService - Variable in class com.csse3200.game.areas.GameArea
- StructurePlacementService - Class in com.csse3200.game.services
- StructurePlacementService(EventHandler) - Constructor for class com.csse3200.game.services.StructurePlacementService
- StructurePlacementService.placeStructureAtArgs - Class in com.csse3200.game.services
- StructurePlacementService.spawnEntityAtVectorArgs - Class in com.csse3200.game.services
- StructureToolPicker - Class in com.csse3200.game.components.structures
-
This component can be placed onto the player and allows them to select and interact with structure tools.
- StructureToolPicker() - Constructor for class com.csse3200.game.components.structures.StructureToolPicker
-
Creates a new structure tool picker
- stuckMovement() - Method in class com.csse3200.game.components.tasks.AdjustedChaseTask
-
Calculates the vector position the entity should move to so that it is not stuck anymore.
- subtractMaterials(int) - Method in class com.csse3200.game.components.upgradetree.UpgradeTree
-
Subtracts a given amount from the available extractor resources.
T
- tap(float, float, int, int) - Method in class com.csse3200.game.input.InputComponent
- tap(float, float, int, int) - Method in class com.csse3200.game.input.InputService
-
Iterates over registered input handlers in descending priority and stops as soon as the input is processed
- targetables - Variable in class com.csse3200.game.areas.GameArea
- targetSet(Entity, short, AITaskComponent) - Static method in class com.csse3200.game.entities.factories.EnemyFactory
- Task - Interface in com.csse3200.game.ai.tasks
-
An AI task can be started and stopped at any time.
- Task.Status - Enum Class in com.csse3200.game.ai.tasks
- TaskRunner - Interface in com.csse3200.game.ai.tasks
- teleport(Entity) - Method in class com.csse3200.game.entities.Portal
-
Teleports the player to a fixed destination
- teleportX - Variable in class com.csse3200.game.entities.configs.PortalConfig
- teleportY - Variable in class com.csse3200.game.entities.configs.PortalConfig
- TEMP_IMMUNITY - Enum constant in enum class com.csse3200.game.components.PowerupType
- tempImmunityPowerup - Variable in class com.csse3200.game.entities.configs.PowerupConfigs
- Terminal - Class in com.csse3200.game.ui.terminal
-
State tracker for a debug terminal.
- Terminal() - Constructor for class com.csse3200.game.ui.terminal.Terminal
- Terminal(Map<String, Command>) - Constructor for class com.csse3200.game.ui.terminal.Terminal
- TerminalDisplay - Class in com.csse3200.game.ui.terminal
-
A ui component for displaying the debug terminal.
- TerminalDisplay() - Constructor for class com.csse3200.game.ui.terminal.TerminalDisplay
- terrain - Static variable in class com.csse3200.game.areas.GameArea
- terrain - Static variable in class com.csse3200.game.entities.factories.ObstacleFactory
- TerrainComponent - Class in com.csse3200.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.csse3200.game.areas.terrain.TerrainComponent
- TerrainComponent.TerrainOrientation - Enum Class in com.csse3200.game.areas.terrain
- TerrainFactory - Class in com.csse3200.game.areas.terrain
-
Factory for creating game terrains.
- TerrainFactory(CameraComponent) - Constructor for class com.csse3200.game.areas.terrain.TerrainFactory
-
Create a terrain factory with Orthogonal orientation
- TerrainFactory(CameraComponent, TerrainComponent.TerrainOrientation) - Constructor for class com.csse3200.game.areas.terrain.TerrainFactory
-
Create a terrain factory
- TerrainFactory.TerrainType - Enum Class in com.csse3200.game.areas.terrain
-
This enum should contain the different terrains in your game, e.g.
- terrainPath - Variable in class com.csse3200.game.areas.mapConfig.GameAreaConfig
- TerrainService - Class in com.csse3200.game.services
- TerrainService(TerrainComponent) - Constructor for class com.csse3200.game.services.TerrainService
- TerrainTile - Class in com.csse3200.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.csse3200.game.areas.terrain.TerrainTile
- texture - Variable in class com.csse3200.game.components.structures.ToolConfig
-
The texture to use for the StructureToolPickers' icon.
- textureAtlas - Variable in class com.csse3200.game.entities.configs.WeaponConfig
- textureAtlasPaths - Variable in class com.csse3200.game.areas.mapConfig.GameAreaConfig
- texturePaths - Variable in class com.csse3200.game.areas.mapConfig.GameAreaConfig
- TextureRenderComponent - Class in com.csse3200.game.rendering
-
Render a static texture.
- TextureRenderComponent(Texture) - Constructor for class com.csse3200.game.rendering.TextureRenderComponent
- TextureRenderComponent(String) - Constructor for class com.csse3200.game.rendering.TextureRenderComponent
- threshold - Variable in class com.csse3200.game.areas.mapConfig.ResourceCondition
- tickRate - Variable in class com.csse3200.game.entities.configs.ExtractorConfig
- tickSize - Variable in class com.csse3200.game.entities.configs.ExtractorConfig
- TileEntity - Class in com.csse3200.game.entities
- TileEntity(GridPoint2, Entity) - Constructor for class com.csse3200.game.entities.TileEntity
- tileToWorldPosition(int, int) - Method in class com.csse3200.game.areas.terrain.TerrainComponent
- tileToWorldPosition(GridPoint2) - Method in class com.csse3200.game.areas.terrain.TerrainComponent
- TITLE_SCREEN - Enum constant in enum class com.csse3200.game.GdxGame.ScreenType
- TitleBox - Class in com.csse3200.game.ui
- TitleBox(GdxGame, String, Skin) - Constructor for class com.csse3200.game.ui.TitleBox
-
Constructs a TitleBox dialog.
- toggleInfiniteHealth() - Method in class com.csse3200.game.components.Companion.CompanionStatsDisplay
-
Toggle infinite health for the companion.
- toggleInvincibility() - Method in class com.csse3200.game.components.Companion.CompanionStatsDisplay
-
Toggle invincibility for the companion.
- toggleIsOpen() - Method in class com.csse3200.game.ui.terminal.Terminal
-
Toggles between the terminal being open and closed.
- Tool - Class in com.csse3200.game.components.structures.tools
-
A tool which can be selected via the StructureToolPicker and can be interacted with by the player.
- Tool(ObjectMap<String, Integer>) - Constructor for class com.csse3200.game.components.structures.tools.Tool
-
Creates a new Tool with the given cost.
- ToolConfig - Class in com.csse3200.game.components.structures
-
This class is used to read in the structure tools config file.
- ToolConfig() - Constructor for class com.csse3200.game.components.structures.ToolConfig
- toolConfigs - Variable in class com.csse3200.game.components.structures.ToolsConfig
-
A map between a tool class's path and its tool config.
- ToolsConfig - Class in com.csse3200.game.components.structures
-
This class is used to read in the structure tools config file.
- ToolsConfig() - Constructor for class com.csse3200.game.components.structures.ToolsConfig
- TOP - Enum constant in enum class com.csse3200.game.physics.components.PhysicsComponent.AlignY
- toString() - Method in class com.csse3200.game.components.Component
- toString() - Method in enum class com.csse3200.game.components.structures.Rotation
-
Converts the enum to a string representation.
- toString() - Method in class com.csse3200.game.entities.Entity
- toString() - Method in class com.csse3200.game.utils.StringDecorator
- TOUCH - Enum constant in enum class com.csse3200.game.input.InputFactory.InputType
- TouchAttackComponent - Class in com.csse3200.game.components
-
TouchAttackComponent is responsible for dealing damage and applying knockback to entities when this entity collides with a valid enemy's hitbox.
- TouchAttackComponent(short) - Constructor for class com.csse3200.game.components.TouchAttackComponent
-
Creates a TouchAttackComponent that attacks entities on collision, without knockback.
- TouchAttackComponent(short, float) - Constructor for class com.csse3200.game.components.TouchAttackComponent
-
Creates a TouchAttackComponent that attacks entities on collision, with knockback.
- TouchCompanionInputComponent - Class in com.csse3200.game.components.Companion
-
TouchCompanionInputComponent handles touch input to control a companion character.
- TouchCompanionInputComponent() - Constructor for class com.csse3200.game.components.Companion.TouchCompanionInputComponent
- touchDown(float, float, int, int) - Method in class com.csse3200.game.input.InputComponent
- touchDown(float, float, int, int) - Method in class com.csse3200.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.csse3200.game.components.Companion.TouchCompanionInputComponent
- touchDown(int, int, int, int) - Method in class com.csse3200.game.components.player.KeyboardPlayerInputComponent
-
Function to respond to player mouse press
- touchDown(int, int, int, int) - Method in class com.csse3200.game.components.player.TouchPlayerInputComponent
-
Triggers the player attack.
- touchDown(int, int, int, int) - Method in class com.csse3200.game.input.ExtinguisherInputComponent
- touchDown(int, int, int, int) - Method in class com.csse3200.game.input.FireInputComponent
- touchDown(int, int, int, int) - Method in class com.csse3200.game.input.HoleInputComponent
- touchDown(int, int, int, int) - Method in class com.csse3200.game.input.InputComponent
- touchDown(int, int, int, int) - Method in class com.csse3200.game.input.InputDecorator
- touchDown(int, int, int, int) - Method in class com.csse3200.game.input.InputOverrideComponent
- touchDown(int, int, int, int) - Method in class com.csse3200.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.csse3200.game.input.SpannerInputComponent
- touchDragged(int, int, int) - Method in class com.csse3200.game.components.player.KeyboardPlayerInputComponent
-
Update location of known mouse position
- touchDragged(int, int, int) - Method in class com.csse3200.game.input.InputComponent
- touchDragged(int, int, int) - Method in class com.csse3200.game.input.InputDecorator
- touchDragged(int, int, int) - Method in class com.csse3200.game.input.InputService
-
Iterates over registered input handlers in descending priority and stops as soon as the input is processed
- TouchInputFactory - Class in com.csse3200.game.input
- TouchInputFactory() - Constructor for class com.csse3200.game.input.TouchInputFactory
- TouchPlayerInputComponent - Class in com.csse3200.game.components.player
-
Input handler for the player for keyboard and touch (mouse) input.
- TouchPlayerInputComponent() - Constructor for class com.csse3200.game.components.player.TouchPlayerInputComponent
- TouchTerminalInputComponent - Class in com.csse3200.game.ui.terminal
-
Input handler for the debug terminal for keyboard and touch (mouse) input.
- TouchTerminalInputComponent() - Constructor for class com.csse3200.game.ui.terminal.TouchTerminalInputComponent
- TouchTerminalInputComponent(Terminal) - Constructor for class com.csse3200.game.ui.terminal.TouchTerminalInputComponent
- touchUp(int, int, int, int) - Method in class com.csse3200.game.input.InputComponent
- touchUp(int, int, int, int) - Method in class com.csse3200.game.input.InputDecorator
- touchUp(int, int, int, int) - Method in class com.csse3200.game.input.InputService
-
Iterates over registered input handlers in descending priority and stops as soon as the input is processed
- transitionTextures - Static variable in class com.csse3200.game.screens.MainMenuScreen
- TreeTopConfig - Class in com.csse3200.game.entities.configs
- TreeTopConfig() - Constructor for class com.csse3200.game.entities.configs.TreeTopConfig
- trigger(String) - Method in class com.csse3200.game.events.EventHandler
-
Trigger an event with no arguments
- trigger(String, T) - Method in class com.csse3200.game.events.EventHandler
-
Trigger an event with one argument
- trigger(String, T0, T1) - Method in class com.csse3200.game.events.EventHandler
-
Trigger an event with one argument
- trigger(String, T0, T1, T2) - Method in class com.csse3200.game.events.EventHandler
-
Trigger an event with one argument
- triggerDodgeEvent() - Method in class com.csse3200.game.components.player.KeyboardPlayerInputComponent
-
Triggers dodge event.
- triggerEarlyUpdate() - Method in class com.csse3200.game.components.Component
-
Used to trigger the component to early-update itself.
- triggerShow() - Method in class com.csse3200.game.ui.ItemBox
- triggerUpdate() - Method in class com.csse3200.game.components.Component
-
Used to trigger the component to update itself.
- Turret - Class in com.csse3200.game.entities.buildables
-
Turret This class is used to create a turret entity.
- Turret(TurretType, Entity) - Constructor for class com.csse3200.game.entities.buildables.Turret
-
Create a new turret placeable entity to match the provided type
- Turret(TurretConfig) - Constructor for class com.csse3200.game.entities.buildables.Turret
-
Create a new turret placeable entity to match the provided config file
- TURRET - Static variable in class com.csse3200.game.physics.PhysicsLayer
- TurretConfig - Class in com.csse3200.game.entities.configs
-
This class is used to configure the Turret entity.
- TurretConfig() - Constructor for class com.csse3200.game.entities.configs.TurretConfig
- TurretConfigs - Class in com.csse3200.game.entities.configs
- TurretConfigs() - Constructor for class com.csse3200.game.entities.configs.TurretConfigs
- TurretTargetableComponent - Class in com.csse3200.game.components.structures
-
This component allows a turret to target the entity it is placed on.
- TurretTargetableComponent() - Constructor for class com.csse3200.game.components.structures.TurretTargetableComponent
- TurretTool - Class in com.csse3200.game.components.structures.tools
-
A tool which allows the player to place a turret.
- TurretTool(ObjectMap<String, Integer>) - Constructor for class com.csse3200.game.components.structures.tools.TurretTool
-
Creates a new turret tool with the given cost.
- TurretType - Enum Class in com.csse3200.game.entities.buildables
-
This enum is used to represent the different types of turrets.
- type - Variable in class com.csse3200.game.entities.configs.EnemyConfig
- type - Variable in class com.csse3200.game.entities.configs.PowerupConfig
- type - Variable in class com.csse3200.game.entities.configs.ShipUpgradesConfig
- type - Variable in class com.csse3200.game.entities.configs.WallConfig
- type - Variable in class com.csse3200.game.entities.configs.WeaponConfig
U
- UIComponent - Class in com.csse3200.game.ui
-
A generic component for rendering onto the ui.
- UIComponent() - Constructor for class com.csse3200.game.ui.UIComponent
- uiScale - Variable in class com.csse3200.game.files.UserSettings.Settings
-
ui Scale.
- unloadAssets() - Method in class com.csse3200.game.areas.MapGameArea
-
Unloads all assets from config file
- unloadAssets(String[]) - Method in class com.csse3200.game.services.ResourceService
- unlockTool(String) - Method in class com.csse3200.game.components.structures.StructureToolPicker
-
Unlocks a tool, adding it to the structure picker menu
- unlockWeapon(Object) - Method in class com.csse3200.game.components.upgradetree.UpgradeTree
-
Unlocks a specified weapon type, adding it to the list of unlocked weapons if it's not already there.
- unproject(Vector3) - Method in class com.csse3200.game.areas.terrain.TerrainComponent
- unregister(Entity) - Method in class com.csse3200.game.entities.EntityService
-
Unregister an entity with the entity service.
- unregister(InputComponent) - Method in class com.csse3200.game.input.InputService
-
Unregister an input handler
- unregister(Renderable) - Method in class com.csse3200.game.rendering.RenderService
-
Unregister a renderable.
- unregisterStateChangeListener(GameState.StateChangeListener) - Method in class com.csse3200.game.services.GameState
-
Unregisters a state change listener.
- UP - Enum constant in enum class com.csse3200.game.components.joinable.JoinDirection
- UP - Enum constant in enum class com.csse3200.game.components.structures.JoinDirection
- UP - Static variable in class com.csse3200.game.utils.math.Vector2Utils
- UP_LEFT - Static variable in class com.csse3200.game.utils.math.Vector2Utils
- UP_RIGHT - Static variable in class com.csse3200.game.utils.math.Vector2Utils
- update() - Method in class com.csse3200.game.ai.tasks.AITaskComponent
-
On update, run the current highest priority task.
- update() - Method in class com.csse3200.game.ai.tasks.DefaultTask
- update() - Method in interface com.csse3200.game.ai.tasks.Task
-
Run one frame of the task.
- update() - Method in class com.csse3200.game.components.CameraComponent
- update() - Method in class com.csse3200.game.components.Companion.CompanionActions
-
Update.
- update() - Method in class com.csse3200.game.components.Component
-
Called once per frame of the game, and should be used for most component logic.
- update() - Method in class com.csse3200.game.components.ExtractorRepairPartComponent
- update() - Method in class com.csse3200.game.components.FollowComponent
-
Update the entity following the followEntity.
- update() - Method in class com.csse3200.game.components.FOVComponent
-
Updates the FOV component.
- update() - Method in class com.csse3200.game.components.InitialSequence.InitialScreenDisplay
- update() - Method in class com.csse3200.game.components.mainmenu.MainMenuDisplay
- update() - Method in class com.csse3200.game.components.MiniDisplay.MiniScreenDisplay
- update() - Method in class com.csse3200.game.components.npc.AstroAnimationController
- update() - Method in class com.csse3200.game.components.npc.BotanistAnimationController
- update() - Method in class com.csse3200.game.components.npc.FireAnimationController
- update() - Method in class com.csse3200.game.components.npc.JailAnimationController
- update() - Method in class com.csse3200.game.components.npc.SpawnerComponent
- update() - Method in class com.csse3200.game.components.player.InventoryComponent
- update() - Method in class com.csse3200.game.components.player.PlayerActions
- update() - Method in class com.csse3200.game.components.ProximityActivationComponent
-
Checks whether the entity has entered or exited the radius calls the relevant method if so.
- update() - Method in class com.csse3200.game.components.resources.PopupComponent
- update() - Method in class com.csse3200.game.components.resources.ProductionComponent
- update() - Method in class com.csse3200.game.components.resources.ResourceDisplay
- update() - Method in class com.csse3200.game.components.settingsmenu.SettingsMenuDisplay
- update() - Method in class com.csse3200.game.components.ships.ShipActions
-
Called each render call.
- update() - Method in class com.csse3200.game.components.structures.StructureDestroyComponent
-
Checks whether the structure should be destroyed.
- update() - Method in class com.csse3200.game.components.tasks.AdjustedChaseTask
- update() - Method in class com.csse3200.game.components.tasks.AimTask
- update() - Method in class com.csse3200.game.components.tasks.BossTask
- update() - Method in class com.csse3200.game.components.tasks.ChaseTask
- update() - Method in class com.csse3200.game.components.tasks.MovementTask
- update() - Method in class com.csse3200.game.components.tasks.ProjectileMovementTask
- update() - Method in class com.csse3200.game.components.tasks.RunTask
- update() - Method in class com.csse3200.game.components.tasks.ShootTask
- update() - Method in class com.csse3200.game.components.tasks.SpecialAttackTask
- update() - Method in class com.csse3200.game.components.tasks.WaitTask
- update() - Method in class com.csse3200.game.components.tasks.WanderTask
- update() - Method in class com.csse3200.game.components.Weapons.WeaponControllerComponent
-
Function to control projectile movement once it has spawned
- update() - Method in class com.csse3200.game.entities.buildables.Turret
-
This method is used to update the turret.
- update() - Method in class com.csse3200.game.entities.Entity
-
Perform an update on all components.
- update() - Method in class com.csse3200.game.entities.EntityService
-
Update all registered entities.
- update() - Method in class com.csse3200.game.entities.Fissure
- update() - Method in class com.csse3200.game.physics.components.PhysicsMovementComponent
- update() - Method in class com.csse3200.game.physics.PhysicsEngine
- updateAmmo(int, int, int) - Method in class com.csse3200.game.components.player.PlayerStatsDisplay
-
Updates the current and max ammo displaying in the player HUD
- updateCompanionHealthUI(int) - Method in class com.csse3200.game.components.Companion.CompanionStatsDisplay
-
Updates the companion's health UI.
- updateCompanionModeUI(String) - Method in class com.csse3200.game.components.Companion.CompanionStatsDisplay
-
updating the companion UI to include the mode
- updatedFuel() - Method in class com.csse3200.game.components.ships.ShipActions
-
Inform ShipStatsDisplay about new fuel value
- updatedHealth() - Method in class com.csse3200.game.components.ships.ShipActions
-
Inform ShipStatsDisplay about new health value
- updateDistanceUI(float) - Method in class com.csse3200.game.components.ships.DistanceDisplay
-
Method for updating distance UI in the minigame
- updateDodgeRefreshed() - Method in class com.csse3200.game.components.player.PlayerStatsDisplay
-
Updates the visible avaliability of the dodge when it becomes available
- updateDodgeUsed() - Method in class com.csse3200.game.components.player.PlayerStatsDisplay
-
Updates the visible avaliability of the dodge movement when used by the player
- updateExtractors(String, int) - Method in class com.csse3200.game.services.GameStateInteraction
-
Increases the specified extractor count by a given amount.
- updateHealth(int) - Method in class com.csse3200.game.components.HealthBarComponent
-
Updates the Wall's health on the ui.
- updateJoin(JoinDirection, boolean) - Method in class com.csse3200.game.components.joinable.JoinableComponent
-
Updates whether the entity should be joining in a given direction.
- updateJoin(JoinDirection, boolean) - Method in class com.csse3200.game.components.structures.JoinableComponent
-
Updates whether the entity should be joining in a given direction.
- updateMaxExtractors(String, int) - Method in class com.csse3200.game.services.GameStateInteraction
-
Sets the maximum amount of extractors for a resource
- updateMaxResources(String, int) - Method in class com.csse3200.game.services.GameStateInteraction
-
Sets the maximum amount of a resource Note: the game state key is "resourceMax/{resourceName}" not just the resource's name.
- updatePlayerHealthUI(int) - Method in class com.csse3200.game.components.Companion.CompanionStatsDisplay
-
Update the player's health UI.
- updatePlayerHealthUI(int) - Method in class com.csse3200.game.components.player.PlayerStatsDisplay
-
Updates the player's health on the ui.
- updatePlayerLives(int) - Method in class com.csse3200.game.components.player.PlayerStatsDisplay
-
Updates the number of lives displayed in the player HUD
- updatePowerUpDisplayUi(String) - Method in class com.csse3200.game.components.PowerUpDisplayHUD
-
Updates the Player PowerUp display name
- updateResource(String, int) - Method in class com.csse3200.game.services.GameStateInteraction
-
Increases the specified resource name by a given amount.
- updateShipFuelUI() - Method in class com.csse3200.game.components.ships.ShipStatDisplay
-
Updates ship's fuel on the ui.
- updateShipHealthUI() - Method in class com.csse3200.game.components.ships.ShipStatDisplay
-
Updates the ship's health on the ui.
- updateSpeed() - Method in class com.csse3200.game.components.Companion.CompanionActions
- updateTextureAtlas(TextureAtlas) - Method in class com.csse3200.game.components.joinable.JoinableComponent
-
Changes the texture atlas being used to the atlas given.
- updateTextureAtlas(TextureAtlas) - Method in class com.csse3200.game.components.structures.JoinableComponent
-
Changes the texture atlas being used to the atlas given.
- updateTextureAtlas(TextureAtlas, String) - Method in class com.csse3200.game.rendering.AtlasRenderComponent
-
Changes the atlas being used to a new atlas and sets the region to be the given region.
- updateTotalExtractors(String, int) - Method in class com.csse3200.game.services.GameStateInteraction
-
Sets the total amount of tracked extractors of the resource name to amount
- updateWeapon(WeaponType) - Method in class com.csse3200.game.components.player.PlayerStatsDisplay
-
Updates the weapon equipped in the player HUD
- Upgrade() - Method in class com.csse3200.game.services.UpgradeShip
-
This method responsible for upgrade ship based on the parameter By Foref (gonna delete this later)
- UPGRADE_SHOP - Enum constant in enum class com.csse3200.game.GdxGame.ScreenType
- UpgradeDisplay - Class in com.csse3200.game.components.upgradetree
-
The UpgradeDisplay class represents a GUI component for displaying upgrades.
- UpgradeDisplay(Texture) - Constructor for class com.csse3200.game.components.upgradetree.UpgradeDisplay
-
Constructor for UpgradeDisplay.
- UpgradeNode - Class in com.csse3200.game.components.upgradetree
-
Represents a node within the upgrade tree.
- UpgradeShip - Class in com.csse3200.game.services
- UpgradeShip() - Constructor for class com.csse3200.game.services.UpgradeShip
-
Constructor initialize any necessary variable here
- UpgradeShopScreen - Class in com.csse3200.game.screens
-
Represents the screen for the Shop that user can select items to upgrade their spaceship.
- UpgradeShopScreen(GdxGame) - Constructor for class com.csse3200.game.screens.UpgradeShopScreen
-
Constructs a new UpgradeShopScreen with a reference to the main game.
- UpgradeTree - Class in com.csse3200.game.components.upgradetree
-
Represents the upgrade tree component for the game, which manages weapon upgrades.
- UpgradeTree() - Constructor for class com.csse3200.game.components.upgradetree.UpgradeTree
-
Constructs a new UpgradeTree with default weapons unlocked.
- useNextPowerup() - Method in class com.csse3200.game.components.Companion.CompanionInventoryComponent
-
Retrieves and uses the next power-up from the companion's inventory, regardless of its type.
- UserSettings - Class in com.csse3200.game.files
-
Reading, Writing, and applying user settings in the game.
- UserSettings.DisplaySettings - Class in com.csse3200.game.files
-
Stores chosen display settings.
- UserSettings.Settings - Class in com.csse3200.game.files
-
Stores game settings, can be serialised/deserialised.
V
- valueOf(String) - Static method in enum class com.csse3200.game.ai.tasks.Task.Status
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.csse3200.game.areas.ExtractorMiniGameArea.MouseState
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.csse3200.game.areas.terrain.TerrainComponent.TerrainOrientation
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.csse3200.game.areas.terrain.TerrainFactory.TerrainType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.csse3200.game.components.joinable.JoinDirection
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.csse3200.game.components.joinable.JoinLayer
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.csse3200.game.components.PowerupType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.csse3200.game.components.resources.Resource
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.csse3200.game.components.ships.ShipUpgradesType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.csse3200.game.components.structures.JoinDirection
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.csse3200.game.components.structures.JoinLayer
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.csse3200.game.components.structures.Rotation
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.csse3200.game.components.Weapons.WeaponType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.csse3200.game.entities.buildables.TurretType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.csse3200.game.entities.buildables.WallType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.csse3200.game.entities.enemies.EnemyBehaviour
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.csse3200.game.entities.enemies.EnemyType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.csse3200.game.files.FileLoader.Location
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.csse3200.game.GdxGame.ScreenType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.csse3200.game.input.InputFactory.InputType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.csse3200.game.physics.components.PhysicsComponent.AlignX
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.csse3200.game.physics.components.PhysicsComponent.AlignY
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.csse3200.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.csse3200.game.areas.ExtractorMiniGameArea.MouseState
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.csse3200.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.csse3200.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.csse3200.game.components.joinable.JoinDirection
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.csse3200.game.components.joinable.JoinLayer
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.csse3200.game.components.PowerupType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.csse3200.game.components.resources.Resource
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.csse3200.game.components.ships.ShipUpgradesType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.csse3200.game.components.structures.JoinDirection
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.csse3200.game.components.structures.JoinLayer
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.csse3200.game.components.structures.Rotation
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.csse3200.game.components.Weapons.WeaponType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.csse3200.game.entities.buildables.TurretType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.csse3200.game.entities.buildables.WallType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.csse3200.game.entities.enemies.EnemyBehaviour
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.csse3200.game.entities.enemies.EnemyType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.csse3200.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.csse3200.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.csse3200.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.csse3200.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.csse3200.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.csse3200.game.utils.math
-
Contains additional utility constants and functions for common Vector2 operations.
- vertices - Variable in class com.csse3200.game.components.joinable.JoinableComponentShapes
- vertices - Variable in class com.csse3200.game.components.structures.JoinableComponentShapes
- vsync - Variable in class com.csse3200.game.files.UserSettings.Settings
W
- WaitTask - Class in com.csse3200.game.components.tasks
-
Task that does nothing other than waiting for a given time.
- WaitTask(float) - Constructor for class com.csse3200.game.components.tasks.WaitTask
- walkDirection - Variable in class com.csse3200.game.components.Companion.CompanionActions
- Wall - Class in com.csse3200.game.entities.buildables
-
Core wall class.
- Wall(WallType, Entity) - Constructor for class com.csse3200.game.entities.buildables.Wall
-
Constructor to create a Wall entity based on the given config.
- WALL - Static variable in class com.csse3200.game.physics.PhysicsLayer
- WALL_SIZE - Static variable in class com.csse3200.game.entities.factories.ObstacleFactory
- WallConfig - Class in com.csse3200.game.entities.configs
-
Defines each entries properties stored in wall config file to be loaded by the Wall Factory.
- WallConfig() - Constructor for class com.csse3200.game.entities.configs.WallConfig
- WallConfigs - Class in com.csse3200.game.entities.configs
-
Defines the properties stored in walls config files to be loaded by the Wall Factory.
- WallConfigs() - Constructor for class com.csse3200.game.entities.configs.WallConfigs
- WALLS - Enum constant in enum class com.csse3200.game.components.joinable.JoinLayer
- WALLS - Enum constant in enum class com.csse3200.game.components.structures.JoinLayer
- WallType - Enum Class in com.csse3200.game.entities.buildables
-
WallType enum.
- WanderTask - Class in com.csse3200.game.components.tasks
-
Represents a task that causes the entity to wander around by moving to random positions within a specified range of its starting position.
- WanderTask(Vector2, float) - Constructor for class com.csse3200.game.components.tasks.WanderTask
-
Creates a new WanderTask.
- wave1 - Variable in class com.csse3200.game.entities.configs.SpawnerConfig
- wave2 - Variable in class com.csse3200.game.entities.configs.SpawnerConfig
- wave3 - Variable in class com.csse3200.game.entities.configs.SpawnerConfig
- WEAPON - Static variable in class com.csse3200.game.physics.PhysicsLayer
- WeaponComponent - Class in com.csse3200.game.components.player
-
Class to implement weapon functionality in the player, Acts as the central component for weapons being to respond to an enemy attack use an attack factory to generate a weapon entity
- WeaponComponent() - Constructor for class com.csse3200.game.components.player.WeaponComponent
- WeaponConfig - Class in com.csse3200.game.entities.configs
-
Defines each entries properties stored in wall config file to be loaded by the Wall Factory.
- WeaponConfig() - Constructor for class com.csse3200.game.entities.configs.WeaponConfig
- WeaponConfigs - Class in com.csse3200.game.entities.configs
-
Class to return weapon configs
- WeaponConfigs() - Constructor for class com.csse3200.game.entities.configs.WeaponConfigs
- WeaponControllerComponent - Class in com.csse3200.game.components.Weapons
-
Class to control the movement of weapons that have been spawned
- WeaponControllerComponent(WeaponConfig, float, Entity) - Constructor for class com.csse3200.game.components.Weapons.WeaponControllerComponent
-
Class to store variables of a spawned weapon
- WeaponControllerComponent(WeaponConfig, float, Entity, int) - Constructor for class com.csse3200.game.components.Weapons.WeaponControllerComponent
-
Class to store variables of a spawned weapon
- weaponDuration - Variable in class com.csse3200.game.entities.configs.WeaponConfig
- weaponSpeed - Variable in class com.csse3200.game.entities.configs.WeaponConfig
- WeaponType - Enum Class in com.csse3200.game.components.Weapons
- WEST - Enum constant in enum class com.csse3200.game.components.structures.Rotation
- width - Variable in class com.csse3200.game.files.UserSettings.DisplaySettings
- willPlace() - Method in interface com.csse3200.game.components.structures.Placeable
-
Called just before the structure is placed into the grid map.
- willPlace() - Method in class com.csse3200.game.entities.PlaceableEntity
-
This function is called when a PlaceableEntity is going to be placed via the structure placement service.
- willRemove() - Method in class com.csse3200.game.components.structures.JoinableComponent
-
Notifies neighbouring structures that the structure is being removed.
- willRemove() - Method in interface com.csse3200.game.components.structures.Placeable
-
Called just before the structure is removed from the grid map.
- willRemove() - Method in class com.csse3200.game.entities.PlaceableEntity
-
This function is called when a PlaceableEntity is going to be removed via the structure placement service.
- winConditions - Variable in class com.csse3200.game.areas.mapConfig.GameAreaConfig
- withResource(Resource) - Method in class com.csse3200.game.components.resources.ResourceDisplay
-
Adds a resource type to the display.
- WOODHAMMER - Enum constant in enum class com.csse3200.game.components.Weapons.WeaponType
- WOODHAMMER - Variable in class com.csse3200.game.entities.configs.WeaponConfigs
- writeClass(Object, String) - Static method in class com.csse3200.game.files.FileLoader
-
Write generic Java classes to a JSON file.
- writeClass(Object, String, FileLoader.Location) - Static method in class com.csse3200.game.files.FileLoader
-
Write generic Java classes to a JSON file.
Z
- ZERO - Static variable in class com.csse3200.game.utils.math.GridPoint2Utils
- zoom(float, float) - Method in class com.csse3200.game.input.InputComponent
- zoom(float, float) - Method in class com.csse3200.game.input.InputService
-
Iterates over registered input handlers in descending priority and stops as soon as the input is processed
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form