Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- ABSOLUTE - Enum constant in enum class com.csse3200.game.files.FileLoader.Location
- activate() - Method in class com.csse3200.game.components.tasks.BombChaseTask
-
Activate the chase task for light triggered activation
- activate() - Method in class com.csse3200.game.components.tasks.ChaseTask
-
Activate the chase task, making it eligible for scheduling.
- activate() - Method in class com.csse3200.game.components.tasks.CooldownTask
-
Activates the cooldown task.
- ActivationComponent - Class in com.csse3200.game.components.enemy
-
This component links an enemy to a security camera by ID.
- ActivationComponent(String) - Constructor for class com.csse3200.game.components.enemy.ActivationComponent
-
Create an ActivationComponent for a specific camera
- ACTIVE - Enum constant in enum class com.csse3200.game.ai.tasks.Task.Status
- 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.
- addButton(ButtonComponent) - Method in class com.csse3200.game.components.ButtonManagerComponent
-
Adds a button to the list of buttons managed by this manager
- addCommandToHistory(String) - Method in class com.csse3200.game.ui.terminal.Terminal
- addComponent(Component) - Method in class com.csse3200.game.entities.Entity
-
Add a component to the entity.
- addHealth(int) - Method in class com.csse3200.game.components.CombatStatsComponent
-
Adds to the player's health.
- addHealth(int) - Method in class com.csse3200.game.components.DeathZoneComponent
-
Override CombatStatsComponent health-related functions to do nothing, as death zones should not be able to be damaged or healed.
- addHealth(int) - Method in class com.csse3200.game.components.obstacles.TrapComponent
-
Override CombatStatsComponent health-related functions to do nothing, as traps should not be able to be damaged or healed.
- addItem(String) - Method in class com.csse3200.game.components.player.InventoryComponent
-
Adds one instance of the given item to the inventory.
- addItems(String, int) - Method in class com.csse3200.game.components.player.InventoryComponent
-
Adds
amount
instances of the given item (stacking). - addLayer(Texture, float) - Method in class com.csse3200.game.rendering.ParallaxBackgroundComponent
- 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
- addMarker(Image) - Method in class com.csse3200.game.components.minimap.MinimapDisplay
-
Adds the given marker to the markers group.
- addOverlay(Actor, PixelPerfectPlacer.Rect) - Method in class com.csse3200.game.ui.PixelPerfectPlacer
-
Adds an actor to be placed on top of the background image.
- addTask(PriorityTask) - Method in class com.csse3200.game.ai.tasks.AITaskComponent
-
Add a priority task to the list of tasks.
- AITaskComponent - Class in com.csse3200.game.ai.tasks
-
Task-based AI component.
- AITaskComponent() - Constructor for class com.csse3200.game.ai.tasks.AITaskComponent
- 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
- AMBIENT_LIGHT - Static variable in class com.csse3200.game.lighting.LightingDefaults
- and(Object, Object) - Static method in class com.csse3200.game.ui.terminal.Shell
-
Performs a logical AND operation.
- 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.
- ANGULAR_ACC - Static variable in class com.csse3200.game.lighting.LightingDefaults
- ANGULAR_VEL - Static variable in class com.csse3200.game.lighting.LightingDefaults
- 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.
- apply(Entity, EffectConfig) - Method in class com.csse3200.game.components.collectables.effects.BuffSpeedEffect
-
Applies the speed buff effect to the given player entity.
- apply(Entity, EffectConfig) - Method in class com.csse3200.game.components.collectables.effects.HealEffect
-
Applies the heal effect to the given player entity.
- apply(Entity, EffectConfig) - Method in interface com.csse3200.game.components.collectables.effects.ItemEffectHandler
-
Apply a single effect to the player.
- applySettings(UserSettings.Settings) - Static method in class com.csse3200.game.files.UserSettings
-
Apply the given settings without storing them.
- area - Variable in class com.csse3200.game.entities.configs.ProjectileConfigs
- areaEntities - Variable in class com.csse3200.game.areas.GameArea
- autoConsume - Variable in class com.csse3200.game.entities.configs.CollectablesConfig
- AutonomousBoxBuilder() - Constructor for class com.csse3200.game.entities.factories.BoxFactory.AutonomousBoxBuilder
- AutonomousBoxComponent - Class in com.csse3200.game.components
-
Component for a box that moves autonomously along a specified path at a specified speed.
- AutonomousBoxComponent() - Constructor for class com.csse3200.game.components.AutonomousBoxComponent
-
Default constructor to remove gradle warnings about missing constructor in this class.
B
- background() - Method in record class com.csse3200.game.ui.cutscene.CutsceneReaderComponent.TextBox
-
Returns the value of the
background
record component. - baseAttack - Variable in class com.csse3200.game.entities.configs.BaseEntityConfig
- 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
- beginContact(Contact) - Method in class com.csse3200.game.physics.ObjectContactListener
-
Called when two features begin to touch and checks if a player has collided with an object If so, the game object keeps track that player is in range Also triggers general collision events for tooltips and other systems
- beginContact(Contact) - Method in class com.csse3200.game.physics.PhysicsContactListener
- BLUR_NUM - Static variable in class com.csse3200.game.lighting.LightingDefaults
- 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
- BombChaseTask - Class in com.csse3200.game.components.tasks
-
Task that makes an entity chase a target until either the target is too far away or the line of sight is lost.
- BombChaseTask(Entity, int, float, float, float, float, float) - Constructor for class com.csse3200.game.components.tasks.BombChaseTask
-
Creates a chase task for a bomber-style enemy.
- BombComponent - Class in com.csse3200.game.components.projectiles
-
A component that turns an entity into a timed bombed (added to Projectiles)
- BombComponent(float, float, short) - Constructor for class com.csse3200.game.components.projectiles.BombComponent
-
Create a new bomb component
- BombDropTask - Class in com.csse3200.game.components.tasks
-
Task that makes drone drop bombs when player is directly below.
- BombDropTask(Entity, int, float, float, float) - Constructor for class com.csse3200.game.components.tasks.BombDropTask
-
Create a bomb dropping task.
- BOTTOM - Enum constant in enum class com.csse3200.game.physics.components.PhysicsComponent.AlignY
- BOTTOM_LEFT - Enum constant in enum class com.csse3200.game.components.minimap.MinimapDisplay.MinimapPosition
- BOTTOM_RIGHT - Enum constant in enum class com.csse3200.game.components.minimap.MinimapDisplay.MinimapPosition
- BoxFactory - Class in com.csse3200.game.entities.factories
-
Factory class for creating box entities in the game.
- BoxFactory.AutonomousBoxBuilder - Class in com.csse3200.game.entities.factories
-
Builder that creates autonomous (kinematic) box entities that can be used as moving game obstacles.
- BuffSpeedEffect - Class in com.csse3200.game.components.collectables.effects
-
An item effect that temporarily increases the player's movement speed.
- BuffSpeedEffect() - Constructor for class com.csse3200.game.components.collectables.effects.BuffSpeedEffect
- build() - Method in class com.csse3200.game.entities.factories.BoxFactory.AutonomousBoxBuilder
-
Builds and returns the autonomous box entity with all its properties configured.
- build(Skin) - Method in class com.csse3200.game.ui.inventoryscreen.InventoryTab
-
Builds the Scene2D Actor representing this inventory tab The returned actor contains the background-aligned layout via PixelPerfectPlacer, an invisible close hotspot at #CLOSE_BUTTON_POS, and a grid region at #GRID_PX populated from the player's InventoryComponent
- build(Skin) - Method in interface com.csse3200.game.ui.inventoryscreen.InventoryTabInterface
-
Builds and returns the UI for this tab.
- build(Skin) - Method in class com.csse3200.game.ui.inventoryscreen.ObjectivesTab
-
Builds the UI actor tree for the objectives tab.
- build(Skin) - Method in class com.csse3200.game.ui.inventoryscreen.SettingsTab
- build(Skin) - Method in class com.csse3200.game.ui.inventoryscreen.UpgradesTab
-
Builds the UI actor tree for the upgrades tab The background is placed using a pixel-perfect placer and scaled to two thirds of the current screen height while preserving aspect ratio.
- ButtonComponent - Class in com.csse3200.game.components
-
Component for button entities that can be pushed by the player to trigger other events Class controls the state of the button (normal or pushed) and the button colour based on the type (door, platform or nothing)
- ButtonComponent() - Constructor for class com.csse3200.game.components.ButtonComponent
- ButtonFactory - Class in com.csse3200.game.entities.factories
-
Factory class for creating button entities.
- ButtonManagerComponent - Class in com.csse3200.game.components
-
Manages a group of buttons that form one full button puzzle in which all buttons in manager must be pressed in a set amount of time Tracks button states, handles puzzle timing, triggers even on success and resets all buttons on failure
- ButtonManagerComponent() - Constructor for class com.csse3200.game.components.ButtonManagerComponent
- ButtonTriggeredPlatformComponent - Class in com.csse3200.game.components.platforms
-
Button Triggered Platform Component for platforms with buttons to trigger movement
- ButtonTriggeredPlatformComponent(Vector2, float) - Constructor for class com.csse3200.game.components.platforms.ButtonTriggeredPlatformComponent
-
Sets the offset (direction) and speed of the platform to be moved
C
- CameraComponent - Class in com.csse3200.game.components
-
CameraComponent to control aspects of the camera in game.
- CameraComponent() - Constructor for class com.csse3200.game.components.CameraComponent
-
Sets Orthographic Camera
- CameraComponent(Camera) - Constructor for class com.csse3200.game.components.CameraComponent
-
Used for camera reset/change
- cancelRebinding() - Method in class com.csse3200.game.input.SettingsInputComponent
-
Cancel the current rebinding process
- CAVE_ORTHO - Enum constant in enum class com.csse3200.game.areas.terrain.TerrainFactory.TerrainType
- CaveGameArea - Class in com.csse3200.game.areas
-
Forest area for the demo game with trees, a player, and some enemies.
- CaveGameArea(TerrainFactory) - Constructor for class com.csse3200.game.areas.CaveGameArea
-
Initialise this ForestGameArea to use the provided TerrainFactory.
- 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
- ChaseTask - Class in com.csse3200.game.components.tasks
-
Event-activated chase behaviour.
- ChaseTask(Entity, float, float) - Constructor for class com.csse3200.game.components.tasks.ChaseTask
-
Creates a new chase task that will pursue the given target entity
- CLASSPATH - Enum constant in enum class com.csse3200.game.files.FileLoader.Location
- clear() - Static method in class com.csse3200.game.components.collectables.effects.ItemEffectRegistry
-
Clear all handlers
- 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.
- clearInput() - Method in class com.csse3200.game.ui.terminal.TerminalDisplay
- clearKeyMap() - Static method in class com.csse3200.game.input.Keymap
-
Removes all actions and associated keybinds from the map.
- close() - Method in class com.csse3200.game.ui.terminal.Shell
-
Cleanup the resources used by the shell.
- close() - Method in interface com.csse3200.game.ui.terminal.Shell.Console
-
Closes the console's underlying resources.
- collect(Entity) - Method in class com.csse3200.game.components.collectables.CollectableComponentV2
-
Attempts to collect this key into the player's inventory.
- COLLECTABLE - Static variable in class com.csse3200.game.physics.PhysicsLayer
- CollectableComponent - Class in com.csse3200.game.components.collectables
-
Abstract component for collectable items in the game world.
- CollectableComponent() - Constructor for class com.csse3200.game.components.collectables.CollectableComponent
- CollectableComponentV2 - Class in com.csse3200.game.components.collectables
-
Abstract component for collectable items in the game world.
- CollectableComponentV2(String) - Constructor for class com.csse3200.game.components.collectables.CollectableComponentV2
- CollectableFactory - Class in com.csse3200.game.entities.factories
-
Factory for creating collectable entities (e.g., keys, coins, potions).
- CollectableFactory() - Constructor for class com.csse3200.game.entities.factories.CollectableFactory
- CollectablesConfig - Class in com.csse3200.game.entities.configs
- CollectablesConfig() - Constructor for class com.csse3200.game.entities.configs.CollectablesConfig
- CollectableService - Class in com.csse3200.game.services
-
Simple service to load collectable configs and provide lookup by id.
- 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
- 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.terrain - package com.csse3200.game.areas.terrain
- com.csse3200.game.components - package com.csse3200.game.components
- com.csse3200.game.components.collectables - package com.csse3200.game.components.collectables
- com.csse3200.game.components.collectables.effects - package com.csse3200.game.components.collectables.effects
- com.csse3200.game.components.enemy - package com.csse3200.game.components.enemy
- com.csse3200.game.components.gamearea - package com.csse3200.game.components.gamearea
- com.csse3200.game.components.inventory - package com.csse3200.game.components.inventory
- com.csse3200.game.components.lighting - package com.csse3200.game.components.lighting
- 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.minimap - package com.csse3200.game.components.minimap
- com.csse3200.game.components.npc - package com.csse3200.game.components.npc
- com.csse3200.game.components.obstacles - package com.csse3200.game.components.obstacles
- com.csse3200.game.components.pausemenu - package com.csse3200.game.components.pausemenu
- com.csse3200.game.components.platforms - package com.csse3200.game.components.platforms
- com.csse3200.game.components.player - package com.csse3200.game.components.player
- com.csse3200.game.components.projectiles - package com.csse3200.game.components.projectiles
- com.csse3200.game.components.settingsmenu - package com.csse3200.game.components.settingsmenu
- com.csse3200.game.components.tasks - package com.csse3200.game.components.tasks
- com.csse3200.game.components.tooltip - package com.csse3200.game.components.tooltip
- com.csse3200.game.concurrency - package com.csse3200.game.concurrency
- com.csse3200.game.entities - package com.csse3200.game.entities
- com.csse3200.game.entities.configs - package com.csse3200.game.entities.configs
- 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.lighting - package com.csse3200.game.lighting
- 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.cutscene - package com.csse3200.game.ui.cutscene
- com.csse3200.game.ui.inventoryscreen - package com.csse3200.game.ui.inventoryscreen
- com.csse3200.game.ui.terminal - package com.csse3200.game.ui.terminal
- com.csse3200.game.utils - package com.csse3200.game.utils
- com.csse3200.game.utils.math - package com.csse3200.game.utils.math
- combatStats - Variable in class com.csse3200.game.areas.GameArea
- CombatStatsComponent - Class in com.csse3200.game.components
-
Component used to store information related to combat such as health, attack, etc.
- CombatStatsComponent(int, int) - Constructor for class com.csse3200.game.components.CombatStatsComponent
- CombatStatsComponent(CombatStatsComponent) - Constructor for class com.csse3200.game.components.CombatStatsComponent
- 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
- ComponentType - Class in com.csse3200.game.components
-
Internal type system for components.
- CONE_DEG - Static variable in class com.csse3200.game.lighting.LightingDefaults
- ConeDetectorComponent - Class in com.csse3200.game.components.lighting
-
Component that is responsible for detecting if a target entity is within the light cone.
- ConeDetectorComponent(Entity, short, String) - Constructor for class com.csse3200.game.components.lighting.ConeDetectorComponent
- ConeDetectorComponent(Entity, String) - Constructor for class com.csse3200.game.components.lighting.ConeDetectorComponent
-
Constructor for the ConeDetector.
- ConeLightComponent - Class in com.csse3200.game.components.lighting
-
Cone light component used to store the ConeLight object and all of its parameters.
- ConeLightComponent(RayHandler, int, Color, float, float, float) - Constructor for class com.csse3200.game.components.lighting.ConeLightComponent
-
The ConeLight must be registered to the same rayHandler that is being rendered.
- ConeLightPanningTaskComponent - Class in com.csse3200.game.components.lighting
-
This component is responsible for the movement of the security camera light.
- ConeLightPanningTaskComponent(float, float, float) - Constructor for class com.csse3200.game.components.lighting.ConeLightPanningTaskComponent
- 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
- CooldownTask - Class in com.csse3200.game.components.tasks
-
A cooldown task that activates after a chase has ended.
- CooldownTask(float) - Constructor for class com.csse3200.game.components.tasks.CooldownTask
-
Creates a cooldown task with the given wait duration.
- create() - Method in class com.csse3200.game.areas.GameArea
-
Create the game area, including terrain, static entities (trees), dynamic entities (player)
- create() - Method in class com.csse3200.game.components.AutonomousBoxComponent
-
Initialises the box's physics reference
- create() - Method in class com.csse3200.game.components.ButtonComponent
-
Creates the button
- create() - Method in class com.csse3200.game.components.collectables.CollectableComponent
-
Registers a listener for
"onCollisionStart"
events to trigger collection logic. - create() - Method in class com.csse3200.game.components.collectables.CollectableComponentV2
-
Registers a listener for
"onCollisionStart"
events to trigger collection logic. - 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.DisposalComponent
- create() - Method in class com.csse3200.game.components.DoorControlComponent
- create() - Method in class com.csse3200.game.components.enemy.ActivationComponent
-
Attempts to link immediately.
- create() - Method in class com.csse3200.game.components.FPSDisplay
-
Creates all widgets to be drawn.
- 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.lighting.ConeDetectorComponent
- create() - Method in class com.csse3200.game.components.lighting.ConeLightComponent
- create() - Method in class com.csse3200.game.components.lighting.ConeLightPanningTaskComponent
- 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.mainmenu.MainMenuActions
- create() - Method in class com.csse3200.game.components.mainmenu.MainMenuDisplay
- create() - Method in class com.csse3200.game.components.minimap.MinimapComponent
- create() - Method in class com.csse3200.game.components.minimap.MinimapDisplay
- create() - Method in class com.csse3200.game.components.MoveableBoxComponent
-
Retrieves the PhysicsComponent of the box when the component is created.
- create() - Method in class com.csse3200.game.components.npc.DroneAnimationController
- create() - Method in class com.csse3200.game.components.npc.ExplosionAnimationController
- create() - Method in class com.csse3200.game.components.npc.GhostAnimationController
- create() - Method in class com.csse3200.game.components.npc.VolatilePlatformAnimationController
- create() - Method in class com.csse3200.game.components.obstacles.DoorComponent
-
Registers listeners for collision and door events when the component is created.
- create() - Method in class com.csse3200.game.components.pausemenu.PauseMenuDisplay
- create() - Method in class com.csse3200.game.components.platforms.ButtonTriggeredPlatformComponent
- create() - Method in class com.csse3200.game.components.platforms.MovingPlatformComponent
- create() - Method in class com.csse3200.game.components.platforms.VolatilePlatformComponent
- create() - Method in class com.csse3200.game.components.player.PlayerActions
- create() - Method in class com.csse3200.game.components.player.PlayerAnimationController
- 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.PressurePlateComponent
- create() - Method in class com.csse3200.game.components.projectiles.BombComponent
-
Create the bomb, register collision listener, get drop time
- create() - Method in class com.csse3200.game.components.settingsmenu.SettingsMenuDisplay
-
Creates the settings menu UI components and initializes the input handling system.
- create() - Method in class com.csse3200.game.components.StaminaComponent
- create() - Method in class com.csse3200.game.components.tooltip.TooltipSystem.TooltipComponent
- create() - Method in class com.csse3200.game.components.tooltip.TooltipSystem.TooltipDisplay
- create() - Method in class com.csse3200.game.components.tooltip.TooltipSystem.TriggerZoneComponent
- create() - Method in class com.csse3200.game.components.TouchAttackComponent
- 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.CrouchingColliderComponent
- 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.physics.components.StandingColliderComponent
- create() - Method in class com.csse3200.game.rendering.RenderComponent
- create() - Method in class com.csse3200.game.ui.cutscene.CutsceneDisplay
-
Generates a stack which is rendered to the UI.
- create() - Method in class com.csse3200.game.ui.cutscene.CutsceneReaderComponent
- create() - Method in class com.csse3200.game.ui.terminal.GlobalTerminalInputComponent
- create() - Method in class com.csse3200.game.ui.terminal.TerminalDisplay
- 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.
- createBody(BodyDef) - Method in class com.csse3200.game.physics.PhysicsEngine
- createBomb(Entity, Vector2, Vector2, float, float, int) - Static method in class com.csse3200.game.entities.factories.ProjectileFactory
-
Creates a bomb entity that falls from source position toward target
- createBomberDrone(Entity, Vector2) - Static method in class com.csse3200.game.entities.factories.EnemyFactory
-
Create a bomber-style drone enemy that chases the target and drops bombs when target is directly below (within a certain range).
- createButton(boolean, String, String) - Static method in class com.csse3200.game.entities.factories.ButtonFactory
-
Creates a button entity with specified state and type Uses getTextureRenderComponent to assign texture colour and state depending on type and pressed
- createButtonTriggeredPlatform(Vector2, float) - Static method in class com.csse3200.game.entities.factories.PlatformFactory
-
Creates button triggered platform, where if the player presses the button, the platform moves
- createCamera() - Static method in class com.csse3200.game.entities.factories.RenderFactory
- createCollectable(String) - Static method in class com.csse3200.game.entities.factories.CollectableFactory
-
Creates a new collectable entity instance based on its configuration ID.
- createConeLight(int, Color, float, float, float) - Static method in class com.csse3200.game.entities.factories.LightFactory
-
Creates a new static cone light entity.
- createDashUpgrade() - Static method in class com.csse3200.game.entities.factories.CollectableFactory
-
Builds a collectable upgrade that enable the dash ability
- createDeathZone() - Static method in class com.csse3200.game.entities.factories.DeathZoneFactory
-
Creates a basic death zone with configurable length.
- createDecorativeFloor() - Static method in class com.csse3200.game.entities.factories.FloorFactory
-
Creates a decorative floor without physics collision.
- createDefaultTiles(GridPoint2, TextureRegion, TextureRegion, TextureRegion, TextureRegion, GridPoint2) - Method in class com.csse3200.game.areas.terrain.TerrainFactory
-
Used to create/set ordering of background tiles with variants
- createDoor(String, GameArea) - Static method in class com.csse3200.game.entities.factories.ObstacleFactory
-
Creates a door Entity with key identifier
- createDrone(Entity, Vector2) - Static method in class com.csse3200.game.entities.factories.EnemyFactory
-
Creates a drone enemy that starts idle.
- createExplosion(Vector2, float) - Static method in class com.csse3200.game.entities.factories.ExplosionFactory
-
Creates an explosion entity.
- 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
- createFromInputType(InputFactory.InputType) - Static method in class com.csse3200.game.input.InputFactory
- createFromTileMap(float, TiledMap, GridPoint2) - Method in class com.csse3200.game.areas.terrain.TerrainFactory
-
Used to generate TerrainComponent within game areas
- createGate() - Static method in class com.csse3200.game.entities.factories.GateFactory
-
Creates a static Gate entity.
- createGhost(Entity) - Static method in class com.csse3200.game.entities.factories.NPCFactory
-
Creates a ghost entity.
- createGhostKing(Entity) - Static method in class com.csse3200.game.entities.factories.NPCFactory
-
Creates a ghost king entity.
- createGlideUpgrade() - Static method in class com.csse3200.game.entities.factories.CollectableFactory
-
Build a new collectable glider upgrade that enables the glide ability
- createGrappleUpgrade() - Static method in class com.csse3200.game.entities.factories.CollectableFactory
-
Builds a new collectable grappler upgrade that enables the grapple ability
- createGroundFloor() - Static method in class com.csse3200.game.entities.factories.FloorFactory
-
Creates a ground floor that extends to the bottom of the screen.
- createJoint(JointDef) - Method in class com.csse3200.game.physics.PhysicsEngine
- createKey(String) - Static method in class com.csse3200.game.entities.factories.CollectableFactory
-
Builds a collectable key for
target
. - createLadderBase() - Static method in class com.csse3200.game.entities.factories.LadderFactory
-
Creates a ladder base entity.
- createMinimap(Texture) - Method in class com.csse3200.game.areas.GameArea
-
Creates and adds the minimap display to the given game area.
- createMoveableBox() - Static method in class com.csse3200.game.entities.factories.BoxFactory
-
Creates a dynamic (moveable) box entity.
- createMovingPlatform(Vector2, float) - Static method in class com.csse3200.game.entities.factories.PlatformFactory
-
Creates a dynamic moving platform entity.
- createPatrollingDrone(Entity, Vector2[]) - Static method in class com.csse3200.game.entities.factories.EnemyFactory
-
Same as basic drone enemy but patrols a given route, alternatively chasing a target when activated.
- createPlayer() - Static method in class com.csse3200.game.entities.factories.PlayerFactoryTest
-
Create a player entity.
- createPlayer(List<Component>) - Static method in class com.csse3200.game.entities.factories.PlayerFactory
-
Create a player entity.
- createPressurePlate() - Static method in class com.csse3200.game.entities.factories.PressurePlateFactory
- createProjectile(Entity, Vector2, float, int) - Static method in class com.csse3200.game.entities.factories.ProjectileFactory
-
Creates a simple projectile (for potential future use)
- createPuzzleButton(boolean, String, String, ButtonManagerComponent) - Static method in class com.csse3200.game.entities.factories.ButtonFactory
-
Creates button entity that is part of button puzzle Button is linked to a ButtonManagerComponent, which tracks all buttons assigned to the puzzle
- createRenderer() - Static method in class com.csse3200.game.entities.factories.RenderFactory
- createRotatingConeLight(int, Color, float, float, float, float) - Static method in class com.csse3200.game.entities.factories.LightFactory
-
Creates a new rotating cone light entity with a fixed angular velocity.
- createSecurityCamera(Entity, float, float, String) - Static method in class com.csse3200.game.entities.factories.SecurityCameraFactory
-
Creates a new rotated security camera entity.
- createSecurityCamera(Entity, float, String) - Static method in class com.csse3200.game.entities.factories.SecurityCameraFactory
-
Creates a new security camera entity.
- createSecurityLight(Entity, short, int, Color, float, float, float) - Static method in class com.csse3200.game.entities.factories.LightFactory
-
Creates a detecting light that can detect a target entity within the light.
- createSpikes(Vector2, float) - Static method in class com.csse3200.game.entities.factories.TrapFactory
-
Creates a basic Spike trap with configurable rotation and length of 1 unit.
- createStaticBox() - Static method in class com.csse3200.game.entities.factories.BoxFactory
-
Creates a static (immovable) box entity.
- createStaticFloor() - Static method in class com.csse3200.game.entities.factories.FloorFactory
-
Creates a static tiled floor entity.
- createStaticLadder() - Static method in class com.csse3200.game.entities.factories.LadderFactory
-
Creates a static ladder entity.
- createStaticPlatform() - Static method in class com.csse3200.game.entities.factories.PlatformFactory
-
Creates a static platform entity.
- createStaticSecurityCam(Entity, float, float, float, String) - Static method in class com.csse3200.game.entities.factories.SecurityCameraFactory
-
Creates a new static security camera entity.
- createTerrain(TerrainFactory.TerrainType) - Method in class com.csse3200.game.areas.terrain.TerrainFactory
-
Create a terrain of the given type, using the orientation of the factory.
- createTerrain(TerrainFactory.TerrainType, GridPoint2) - Method in class com.csse3200.game.areas.terrain.TerrainFactory
-
Used to generate terrainComponent within a game area.
- createTiledWall(float, float, int, int, float, String) - Static method in class com.csse3200.game.entities.factories.WallFactory
- createTree() - Static method in class com.csse3200.game.entities.factories.ObstacleFactory
-
Creates a tree entity.
- createVolatilePlatform(float, float) - Static method in class com.csse3200.game.entities.factories.PlatformFactory
-
Creates volatile platform, where if the player stands on it for more than lifetime, the platform disappears.
- createWall(float, float) - Static method in class com.csse3200.game.entities.factories.ObstacleFactory
-
Creates an invisible physics wall.
- createWall(float, float, float, float, String) - Static method in class com.csse3200.game.entities.factories.WallFactory
-
Create a vertical wall at world position (x, y) with given size (width, height).
- createWithPlayer(Entity) - Method in class com.csse3200.game.areas.GameArea
-
Create the game area using components from a different player entity.
- CrouchingColliderComponent - Class in com.csse3200.game.physics.components
- CrouchingColliderComponent() - Constructor for class com.csse3200.game.physics.components.CrouchingColliderComponent
- customKeybinds - Variable in class com.csse3200.game.files.UserSettings.KeyBindSettings
-
Map of action names to custom key codes.
- CutsceneArea - Class in com.csse3200.game.ui.cutscene
-
Special game area that can be used to display a cutscene.
- CutsceneArea(String) - Constructor for class com.csse3200.game.ui.cutscene.CutsceneArea
-
Constructor for creating the game area representing cutscene.
- CutsceneDisplay - Class in com.csse3200.game.ui.cutscene
-
Component that can be attached to an entity in order to render necessary visual elements for a cutscene (text boxes, buttons, background).
- CutsceneDisplay(List<CutsceneReaderComponent.TextBox>, GameArea) - Constructor for class com.csse3200.game.ui.cutscene.CutsceneDisplay
-
Initialises the UI for the cutscene
- CutsceneReaderComponent - Class in com.csse3200.game.ui.cutscene
-
Component that can be attached to an entity representing a cutscene.
- CutsceneReaderComponent(String) - Constructor for class com.csse3200.game.ui.cutscene.CutsceneReaderComponent
-
Constructs the component with a specified path to the script file it shall read.
- CutsceneReaderComponent.TextBox - Record Class in com.csse3200.game.ui.cutscene
-
Record object that represents information about a text box.
D
- damage - Variable in class com.csse3200.game.entities.configs.ProjectileConfigs
- damage(int) - Method in class com.csse3200.game.entities.factories.BoxFactory.AutonomousBoxBuilder
-
Sets the damage the box deals to the player on each contact.
- damage(ColliderComponent) - Method in class com.csse3200.game.components.DeathZoneComponent
-
Damages colliding entity on contact with death zone
- damage(ColliderComponent) - Method in class com.csse3200.game.components.obstacles.TrapComponent
-
Sets whether a player is in interaction range of this button Adds the player to the "interact" event the first time
- deactivate() - Method in class com.csse3200.game.components.tasks.BombChaseTask
- deactivate() - Method in class com.csse3200.game.components.tasks.ChaseTask
-
Deactivate the chase task, preventing it from being scheduled.
- deactivate() - Method in class com.csse3200.game.components.tasks.CooldownTask
-
Deactivate the cooldown task, preventing it from being scheduled.
- DeathZoneComponent - Class in com.csse3200.game.components
-
DeathZone component that makes sure to deal max damage to a player to kill them.
- DeathZoneComponent() - Constructor for class com.csse3200.game.components.DeathZoneComponent
-
Setting DeathZone Base attack power to max
- DeathZoneComponent(int, int) - Constructor for class com.csse3200.game.components.DeathZoneComponent
-
DeathZone component Initialisation
- DeathZoneFactory - Class in com.csse3200.game.entities.factories
-
Factory to create DeathZone entities (objects that kill the player (and possibly enemies)).
- 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.components.tooltip.TooltipSystem.TooltipStyle
- DEFAULT - Static variable in class com.csse3200.game.physics.PhysicsLayer
- 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.entities.configs.CollectablesConfig
- destroyBody(Body) - Method in class com.csse3200.game.physics.PhysicsEngine
- destroyJoint(Joint) - Method in class com.csse3200.game.physics.PhysicsEngine
- DETECTED_COLOR - Static variable in class com.csse3200.game.lighting.LightingDefaults
- didHit - Variable in class com.csse3200.game.physics.raycast.SingleHitCallback
- disableNavigation() - Method in class com.csse3200.game.components.inventory.InventoryNavigationComponent
-
Disables navigation and hides tooltip
- displayMode - Variable in class com.csse3200.game.files.UserSettings.Settings
-
ui Scale.
- DisplaySettings() - Constructor for class com.csse3200.game.files.UserSettings.DisplaySettings
- DisplaySettings(Graphics.DisplayMode) - Constructor for class com.csse3200.game.files.UserSettings.DisplaySettings
- DisposalComponent - Class in com.csse3200.game.components
-
Component that safely disposes of an entity after a delay.
- DisposalComponent(float) - Constructor for class com.csse3200.game.components.DisposalComponent
-
Create a disposal component with specified delay
- dispose() - Method in class com.csse3200.game.ai.tasks.AITaskComponent
- dispose() - Method in class com.csse3200.game.areas.CaveGameArea
- dispose() - Method in class com.csse3200.game.areas.ForestGameArea
- 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.LevelOneGameArea
- dispose() - Method in class com.csse3200.game.areas.LevelTwoGameArea
- dispose() - Method in class com.csse3200.game.areas.SprintOneGameArea
- dispose() - Method in class com.csse3200.game.areas.TemplateGameArea
- dispose() - Method in class com.csse3200.game.areas.terrain.TerrainComponent
- dispose() - Method in class com.csse3200.game.components.Component
-
Called when the component is disposed.
- dispose() - Method in class com.csse3200.game.components.enemy.ActivationComponent
-
Clean up.
- dispose() - Method in class com.csse3200.game.components.FPSDisplay
-
Removes the FPS label.
- 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.lighting.ConeLightComponent
- dispose() - Method in class com.csse3200.game.components.lighting.ConeLightPanningTaskComponent
- dispose() - Method in class com.csse3200.game.components.maingame.MainGameExitDisplay
- dispose() - Method in class com.csse3200.game.components.mainmenu.MainMenuDisplay
- dispose() - Method in class com.csse3200.game.components.minimap.MinimapComponent
- dispose() - Method in class com.csse3200.game.components.minimap.MinimapDisplay
- dispose() - Method in class com.csse3200.game.components.pausemenu.PauseMenuDisplay
- dispose() - Method in class com.csse3200.game.components.player.PlayerStatsDisplay
- dispose() - Method in class com.csse3200.game.components.settingsmenu.SettingsMenuDisplay
- dispose() - Method in class com.csse3200.game.components.tooltip.TooltipSystem.TooltipComponent
- dispose() - Method in class com.csse3200.game.components.tooltip.TooltipSystem.TooltipDisplay
- 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.InputComponent
- dispose() - Method in class com.csse3200.game.lighting.LightingEngine
- dispose() - Method in class com.csse3200.game.lighting.SecurityCamRetrievalService
- 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.MainGameScreen
- dispose() - Method in class com.csse3200.game.screens.MainMenuScreen
- dispose() - Method in class com.csse3200.game.screens.SettingsScreen
- dispose() - Method in class com.csse3200.game.services.MinimapService
- dispose() - Method in class com.csse3200.game.services.ResourceService
- dispose() - Method in class com.csse3200.game.ui.cutscene.CutsceneArea
-
Correctly unregisters the player, any assets loaded, and entities created for the cutscene
- dispose() - Method in class com.csse3200.game.ui.cutscene.CutsceneDisplay
-
Correctly removes all widgets registered in the root stack object
- dispose() - Method in class com.csse3200.game.ui.inventoryscreen.InventoryTab
-
Disposes all textures owned by this tab
- dispose() - Method in class com.csse3200.game.ui.inventoryscreen.SettingsTab
-
Cleanup method to call when the settings tab is closed This ensures any active rebinding is cancelled
- dispose() - Method in class com.csse3200.game.ui.terminal.TerminalDisplay
-
Disposes the current root table to free up resources.
- DIST - Static variable in class com.csse3200.game.lighting.LightingDefaults
- DoorComponent - Class in com.csse3200.game.components.obstacles
- DoorComponent(String, GameArea) - Constructor for class com.csse3200.game.components.obstacles.DoorComponent
-
A component that represents a door which can be locked or unlocked with a specific key.
- DoorControlComponent - Class in com.csse3200.game.components
-
Lets a door react to "openDoor"/"closeDoor" events.
- DoorControlComponent() - Constructor for class com.csse3200.game.components.DoorControlComponent
- DOWN - Static variable in class com.csse3200.game.lighting.LightingDefaults
- DOWN - Static variable in class com.csse3200.game.utils.math.Vector2Utils
- draw(SpriteBatch) - Method in class com.csse3200.game.areas.terrain.TerrainComponent
- draw(SpriteBatch) - Method in class com.csse3200.game.components.FPSDisplay
-
Draws the FPS label in the top left of the screen.
- 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.maingame.MainGameExitDisplay
- draw(SpriteBatch) - Method in class com.csse3200.game.components.mainmenu.MainMenuDisplay
- draw(SpriteBatch) - Method in class com.csse3200.game.components.minimap.MinimapDisplay
- draw(SpriteBatch) - Method in class com.csse3200.game.components.pausemenu.PauseMenuDisplay
- draw(SpriteBatch) - Method in class com.csse3200.game.components.player.PlayerStatsDisplay
- draw(SpriteBatch) - Method in class com.csse3200.game.components.settingsmenu.SettingsMenuDisplay
- draw(SpriteBatch) - Method in class com.csse3200.game.components.tooltip.TooltipSystem.TooltipDisplay
- draw(SpriteBatch) - Method in class com.csse3200.game.rendering.AnimationRenderComponent
- draw(SpriteBatch) - Method in class com.csse3200.game.rendering.ParallaxBackgroundComponent
- 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.rendering.TiledFloorComponent
- draw(SpriteBatch) - Method in class com.csse3200.game.rendering.TiledGroundFloorComponent
- draw(SpriteBatch) - Method in class com.csse3200.game.rendering.TiledPlatformComponent
- draw(SpriteBatch) - Method in class com.csse3200.game.ui.cutscene.CutsceneDisplay
-
Draw is not used by an instance of this component as the Stack is handled by Scene2D
- draw(SpriteBatch) - Method in class com.csse3200.game.ui.terminal.TerminalDisplay
-
Draws the terminal, setting its visibility based on the terminal's state.
- 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
- 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
- drone - Variable in class com.csse3200.game.entities.configs.EnemyConfigs
-
Configuration for drone enemy type
- DroneAnimationController - Class in com.csse3200.game.components.npc
-
This class listens to events relevant to a drone entity's state and plays the animation when one of the events is triggered.
- DroneAnimationController() - Constructor for class com.csse3200.game.components.npc.DroneAnimationController
- duration - Variable in class com.csse3200.game.entities.configs.EffectConfig
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.
- EffectConfig - Class in com.csse3200.game.entities.configs
- EffectConfig() - Constructor for class com.csse3200.game.entities.configs.EffectConfig
- effects - Variable in class com.csse3200.game.entities.configs.CollectablesConfig
- enabled - Variable in class com.csse3200.game.components.Component
- enableNavigation() - Method in class com.csse3200.game.components.inventory.InventoryNavigationComponent
-
Enables navigation and shows initial tooltip
- END_DEG - Static variable in class com.csse3200.game.lighting.LightingDefaults
- endContact(Contact) - Method in class com.csse3200.game.physics.ObjectContactListener
-
Called when two features end contact If player moves away from an object (i.e.
- endContact(Contact) - Method in class com.csse3200.game.physics.PhysicsContactListener
- EnemyConfigs - Class in com.csse3200.game.entities.configs
-
Defines properties for enemy types to be loaded in EnemyFactory.
- EnemyConfigs() - Constructor for class com.csse3200.game.entities.configs.EnemyConfigs
- EnemyFactory - Class in com.csse3200.game.entities.factories
-
Factory for creating different types of enemies.
- 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
- 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
- env - Variable in class com.csse3200.game.ui.terminal.Shell
-
The execution environment, holding global variables and the call stack.
- equals(Object) - Method in class com.csse3200.game.entities.Entity
- equals(Object) - Method in record class com.csse3200.game.ui.cutscene.CutsceneReaderComponent.TextBox
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.csse3200.game.ui.PixelPerfectPlacer.Rect
-
Indicates whether some other object is "equal to" this one.
- eval(String) - Method in class com.csse3200.game.ui.terminal.Shell
-
Evaluates a given string of source code.
- 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, - Interface in com.csse3200.game.events.listenersT2> -
An event listener with 3 arguments
- executeCurrentCommand() - Static method in class com.csse3200.game.ui.terminal.TerminalService
-
Execute the given command in the terminal
- exists(String) - Method in class com.csse3200.game.ui.terminal.Shell
-
Returns true if a given object exists in the current scope
- exit() - Method in class com.csse3200.game.GdxGame
-
Exit the game.
- ExplosionAnimationController - Class in com.csse3200.game.components.npc
-
Controls the explosion animation and disposes the entity after the animation is finished.
- ExplosionAnimationController() - Constructor for class com.csse3200.game.components.npc.ExplosionAnimationController
- ExplosionFactory - Class in com.csse3200.game.entities.factories
-
Factory to create explosion entities.
- ExplosionFactory() - Constructor for class com.csse3200.game.entities.factories.ExplosionFactory
- EXTERNAL - Enum constant in enum class com.csse3200.game.files.FileLoader.Location
F
- FAILED - Enum constant in enum class com.csse3200.game.ai.tasks.Task.Status
- favouriteColour - Variable in class com.csse3200.game.entities.configs.PlayerConfig
- 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
- FINISHED - Enum constant in enum class com.csse3200.game.ai.tasks.Task.Status
- 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
- FloorFactory - Class in com.csse3200.game.entities.factories
-
Factory to create Floor entities using individual PNG textures.
- focusTerminalInput() - Static method in class com.csse3200.game.ui.terminal.TerminalService
-
Focus the terminal input (the bottom pane where text is entered)
- forceUnpress() - Method in class com.csse3200.game.components.ButtonComponent
-
Forces the button to unpress immediately regardless of current state or timer Resets texture, stops timer and triggers buttonToggled event (with false as unpressed)
- forEach(Object, EvaluableFunction) - Method in class com.csse3200.game.ui.terminal.Shell
-
Implements a for-each loop construct that iterates over various iterable types.
- 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
- ForestGameArea - Class in com.csse3200.game.areas
-
Forest area for the demo game with trees, a player, and some enemies.
- ForestGameArea(TerrainFactory) - Constructor for class com.csse3200.game.areas.ForestGameArea
-
Initialise this ForestGameArea to use the provided TerrainFactory.
- fps - Variable in class com.csse3200.game.files.UserSettings.Settings
-
FPS cap of the game.
- FPSDisplay - Class in com.csse3200.game.components
-
UIComponent for rendering the current FPS in the game.
- FPSDisplay() - Constructor for class com.csse3200.game.components.FPSDisplay
- fromConfig(Object) - Static method in class com.csse3200.game.components.StaminaComponent
- fullscreen - Variable in class com.csse3200.game.files.UserSettings.Settings
G
- 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
- 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
- GameTime - Class in com.csse3200.game.services
-
Controls the game time
- GameTime() - Constructor for class com.csse3200.game.services.GameTime
- GateFactory - Class in com.csse3200.game.entities.factories
-
Factory to create Gate entities.
- 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) - Static method in class com.csse3200.game.components.collectables.effects.ItemEffectRegistry
-
Get the handler for a type, or null if none registered.
- get(String) - Static method in class com.csse3200.game.services.CollectableService
-
Get config by id (null if not found).
- get_entities() - Method in class com.csse3200.game.entities.EntityService
-
Returns entities Array
- getActionKeyCode(String) - Static method in class com.csse3200.game.input.Keymap
-
Returns the keycode associated with an action.
- getActive() - Method in class com.csse3200.game.rendering.DebugRenderer
- getAsset(String, Class<T>) - Method in class com.csse3200.game.services.ResourceService
-
Load an asset from a file.
- getBackgroundDrawable() - Method in enum class com.csse3200.game.components.tooltip.TooltipSystem.TooltipStyle
- getBackgrounds() - Method in class com.csse3200.game.ui.cutscene.CutsceneReaderComponent
-
Method that returns a string array containing all background asset paths read.
- 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.
- getBottomY() - Method in class com.csse3200.game.components.AutonomousBoxComponent
-
Retrieves the bottom boundary of the autonomous box's vertical path
- getBoxPhysics() - Method in class com.csse3200.game.components.MoveableBoxComponent
-
Retrieves this box's PhysicsComponent.
- getBroken() - Method in class com.csse3200.game.components.LadderComponent
- getButtons() - Method in class com.csse3200.game.components.ButtonManagerComponent
-
Returns list of buttons being managed by this puzzle button manager
- getCamera() - Method in class com.csse3200.game.components.CameraComponent
-
Returns camera
- getCamera() - Method in class com.csse3200.game.rendering.Renderer
- getCameraLens() - Method in class com.csse3200.game.components.lighting.ConeLightPanningTaskComponent
-
Gets the created child lens entity
- getCenterPosition() - Method in class com.csse3200.game.entities.Entity
-
Get the entity's center position
- getComponent(Class<T>) - Method in class com.csse3200.game.entities.Entity
-
Get a component of type T on the entity.
- getComponents() - Method in class com.csse3200.game.areas.GameArea
-
Get copies all of the player components we want to transfer in between resets/levels.
- getCurrentAnimation() - Method in class com.csse3200.game.rendering.AnimationRenderComponent
-
Get the name of the animation currently being played.
- getCurrentStamina() - Method in class com.csse3200.game.components.StaminaComponent
- 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
- getDetectorComp(String) - Method in class com.csse3200.game.lighting.SecurityCamRetrievalService
-
Returns the cone detector component of the security camera
- getDirectionX() - Method in class com.csse3200.game.components.AutonomousBoxComponent
-
Retrieves the current horizontal movement direction of the box A value of 1 indicates movement to the right, and -1 indicates movement to the left
- getDirectionY() - Method in class com.csse3200.game.components.AutonomousBoxComponent
-
Retrieves the current vertical movement direction of the box A value of 1 indicates upward movement, and -1 indicates downward movement
- getDisplay() - Method in class com.csse3200.game.services.MinimapService
-
Gets the minimap display.
- getEngine() - Method in class com.csse3200.game.lighting.LightingService
- 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.
- getEntityService() - Static method in class com.csse3200.game.services.ServiceLocator
- getEvents() - Method in class com.csse3200.game.areas.GameArea
- getEvents() - Method in class com.csse3200.game.entities.Entity
-
Get the event handler attached to this entity.
- getExplosionPosition(Vector2, float) - Static method in class com.csse3200.game.entities.factories.ExplosionFactory
- getFixture() - Method in class com.csse3200.game.physics.components.ColliderComponent
- getFixtureRef() - Method in class com.csse3200.game.physics.components.CrouchingColliderComponent
- getFixtureRef() - Method in class com.csse3200.game.physics.components.StandingColliderComponent
- getFrom(Class<? extends Component>) - Static method in class com.csse3200.game.components.ComponentType
- getGameArea() - Method in class com.csse3200.game.screens.MainGameScreen
-
Returns the current game area instance
- getGlobal(String) - Method in class com.csse3200.game.ui.terminal.Shell
-
Gets a value from the global environment scope.
- getHealth() - Method in class com.csse3200.game.components.CombatStatsComponent
-
Returns the entity's health.
- getHistoryArea() - Method in class com.csse3200.game.ui.terminal.TerminalDisplay
- 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.
- getIndex() - Method in class com.csse3200.game.components.tasks.PatrolTask
-
Get the current index pointing to a waypoint.
- getInitializedShell() - Static method in class com.csse3200.game.ui.terminal.Initializer
- getInput() - Method in class com.csse3200.game.ui.terminal.TerminalDisplay
- getInputFactory() - Method in class com.csse3200.game.input.InputService
-
Get the input factory to create input handlers
- getInputField() - Method in class com.csse3200.game.ui.terminal.TerminalDisplay
- getInputHistory() - Method in class com.csse3200.game.components.player.KeyboardPlayerInputComponent
- getInputService() - Static method in class com.csse3200.game.services.ServiceLocator
- getInventory() - Method in class com.csse3200.game.components.player.InventoryComponent
-
Read only view of the inventory for UI rendering
- getIsCheatsOn() - Method in class com.csse3200.game.components.player.KeyboardPlayerInputComponent
- getIsCrouching() - Method in class com.csse3200.game.components.player.PlayerActions
- getIsDoubleJumping() - Method in class com.csse3200.game.components.player.PlayerActions
- getIsJumping() - Method in class com.csse3200.game.components.player.PlayerActions
- getItemAt(int) - Method in class com.csse3200.game.ui.inventoryscreen.InventoryTab
-
Gets the item ID at a specific slot index
- getItemAt(int, int) - Method in class com.csse3200.game.ui.inventoryscreen.InventoryTab
-
Gets the item ID in a specific slot
- getItemCount(String) - Method in class com.csse3200.game.components.player.InventoryComponent
-
Gets the current stack count for
itemId
, where the stack count is the number of instances of an item in the inventory. - getItemDescriptionAt(int) - Method in class com.csse3200.game.ui.inventoryscreen.InventoryTab
-
Gets the item description for a specific slot index
- getKeyAt(int) - Method in class com.csse3200.game.utils.SortedIntMap
-
Get the map key at a given index
- getKeyId() - Method in class com.csse3200.game.components.collectables.KeyComponent
-
Returns this key types identifier.
- getKeyMap() - Static method in class com.csse3200.game.input.Keymap
-
Getter method that returns a display-friendly version of the keybinding map.
- getKnockbackForce() - Method in class com.csse3200.game.components.TouchAttackComponent
-
Returns the knockback force applied to the enitity it collides with.
- getLayer() - Method in class com.csse3200.game.areas.terrain.TerrainComponent
- getLayer() - Method in class com.csse3200.game.components.minimap.MinimapDisplay
- getLayer() - Method in class com.csse3200.game.physics.components.ColliderComponent
- getLayer() - Method in class com.csse3200.game.rendering.ParallaxBackgroundComponent
- 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
- getLeftX() - Method in class com.csse3200.game.components.AutonomousBoxComponent
-
Retrieves the left boundary of the autonomous box's horizontal path
- getLight() - Method in class com.csse3200.game.components.lighting.ConeLightComponent
- getLightingService() - Static method in class com.csse3200.game.services.ServiceLocator
- getMap() - Method in class com.csse3200.game.areas.terrain.TerrainComponent
- getMapBounds(int) - Method in class com.csse3200.game.areas.terrain.TerrainComponent
- getMasterVolume() - Static method in class com.csse3200.game.files.UserSettings
-
Returns the multiplier corresponding to master volume.
- getMaxStamina() - Method in class com.csse3200.game.components.StaminaComponent
- getMinimapService() - Static method in class com.csse3200.game.services.ServiceLocator
- getMinimapTexture() - Method in class com.csse3200.game.services.MinimapService
-
Gets the texture to use for the minimap background.
- getMoving() - Method in interface com.csse3200.game.ai.movement.MovementController
- getMoving() - Method in class com.csse3200.game.physics.components.PhysicsMovementComponent
- getMusicVolumeNormalized() - Static method in class com.csse3200.game.files.UserSettings
-
Returns the normalized music volume stored in the user settings.
- 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
- getOnLadder() - Method in class com.csse3200.game.components.player.KeyboardPlayerInputComponent
-
Gets the current on ladder state of the player
- getPhysics() - Method in class com.csse3200.game.components.AutonomousBoxComponent
-
Retrieves the PhysicsComponent after creation
- getPhysics() - Method in class com.csse3200.game.physics.PhysicsService
- getPhysicsService() - Static method in class com.csse3200.game.services.ServiceLocator
- getPlayer() - Method in class com.csse3200.game.areas.GameArea
- getPlayerCollider() - Method in class com.csse3200.game.components.ButtonComponent
-
Retrieves the ColliderComponent of the player currently interacting with the box
- getPlayerCollider() - Method in class com.csse3200.game.components.MoveableBoxComponent
-
Retrieves the ColliderComponent of the player currently interacting with the box
- getPosition() - Method in class com.csse3200.game.entities.Entity
-
Get the entity's game position.
- getPriority() - Method in interface com.csse3200.game.ai.tasks.PriorityTask
- getPriority() - Method in class com.csse3200.game.components.tasks.BombChaseTask
-
Get current priority of the task.
- getPriority() - Method in class com.csse3200.game.components.tasks.BombDropTask
-
Computes scheduling priority
- getPriority() - Method in class com.csse3200.game.components.tasks.ChaseTask
-
Get the current priority of the task.
- getPriority() - Method in class com.csse3200.game.components.tasks.CooldownTask
-
Returns the priority of this task.
- getPriority() - Method in class com.csse3200.game.components.tasks.PatrolTask
-
Return a low priority of 1.
- getPriority() - Method in class com.csse3200.game.components.tasks.WanderTask
- getPriority() - Method in class com.csse3200.game.input.InputComponent
- getProgress() - Method in class com.csse3200.game.services.ResourceService
-
Returns the loading completion progress as a percentage.
- getProjectionMatrix() - Method in class com.csse3200.game.components.CameraComponent
-
Getter for Projection Matrix
- getProperties() - Method in class com.csse3200.game.areas.terrain.TerrainTile
-
Not required for game, unimplemented
- getRawDeltaTime() - Method in class com.csse3200.game.services.GameTime
- getRayHandler() - Method in class com.csse3200.game.lighting.LightingEngine
- getRenderer() - Method in class com.csse3200.game.rendering.RenderService
-
Returns the current renderer instance
- getRenderService() - Static method in class com.csse3200.game.services.ServiceLocator
- getResourceService() - Static method in class com.csse3200.game.services.ServiceLocator
- getRightX() - Method in class com.csse3200.game.components.AutonomousBoxComponent
-
Retrieves the right boundary of the autonomous box's horizontal path
- getRoot() - Method in class com.csse3200.game.ui.terminal.TerminalDisplay
-
Gets the root actor of the terminal display.
- getRotation() - Method in class com.csse3200.game.rendering.TextureRenderComponent
- getScale() - Method in class com.csse3200.game.entities.Entity
-
Get the entity's scale.
- getSecurityCam(String) - Method in class com.csse3200.game.lighting.SecurityCamRetrievalService
-
Retrieve the corresponding security camera based upon its id.
- getSecurityCamRetrievalService() - Static method in class com.csse3200.game.services.ServiceLocator
- getSelectedCol() - Method in class com.csse3200.game.components.inventory.InventoryNavigationComponent
- getSelectedRow() - Method in class com.csse3200.game.components.inventory.InventoryNavigationComponent
-
Gets the current selection coordinates for the UI to highlight
- getSelectedSlotIndex() - Method in class com.csse3200.game.components.inventory.InventoryNavigationComponent
-
Gets the currently selected slot index (0-based, row-major order)
- getSpawnPos() - Method in class com.csse3200.game.components.enemy.SpawnPositionComponent
-
Returns the spawn position
- getSpawnX() - Method in class com.csse3200.game.entities.factories.BoxFactory.AutonomousBoxBuilder
-
Returns the x coordinate where the box will spawn.
- getSpawnY() - Method in class com.csse3200.game.entities.factories.BoxFactory.AutonomousBoxBuilder
-
Returns the y coordinate where the box will spawn.
- getSpeed() - Method in class com.csse3200.game.components.AutonomousBoxComponent
-
Gets the movement speed of the autonomous box
- getStage() - Method in class com.csse3200.game.rendering.Renderer
- getStage() - Method in class com.csse3200.game.rendering.RenderService
- 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.
- getStyle() - Method in class com.csse3200.game.components.tooltip.TooltipSystem.TooltipComponent
-
Gets the tooltip style
- getTarget() - Method in interface com.csse3200.game.ai.movement.MovementController
- getTarget() - Method in class com.csse3200.game.components.lighting.ConeDetectorComponent
- getTarget() - Method in class com.csse3200.game.physics.components.PhysicsMovementComponent
- getTargetWaypoint() - Method in class com.csse3200.game.components.tasks.PatrolTask
-
Get the waypoint of current index
- getTerminalDisplay() - Static method in class com.csse3200.game.ui.terminal.TerminalService
-
Returns the current terminal display object
- getText() - Method in class com.csse3200.game.components.tooltip.TooltipSystem.TooltipComponent
-
Gets the tooltip text.
- getTextBoxes() - Method in class com.csse3200.game.ui.cutscene.CutsceneReaderComponent
-
Getter method that returns the parsed text boxes from the parsed script file.
- getTextColor() - Method in enum class com.csse3200.game.components.tooltip.TooltipSystem.TooltipStyle
- getTexture() - Method in class com.csse3200.game.rendering.TextureRenderComponent
-
Returns the texture image path
- getTextureBottomLeft() - Method in class com.csse3200.game.services.MinimapService
- getTextureRegion() - Method in class com.csse3200.game.areas.terrain.TerrainTile
- getTextureTopRight() - Method in class com.csse3200.game.services.MinimapService
- getTileSize() - Method in class com.csse3200.game.areas.terrain.TerrainComponent
- getTime() - Method in class com.csse3200.game.services.GameTime
- getTimeLeft() - Method in class com.csse3200.game.components.ButtonManagerComponent
-
Gets time remaining before puzzle fails i.e.
- getTimeSince(long) - Method in class com.csse3200.game.services.GameTime
- getTimeSource() - Static method in class com.csse3200.game.services.ServiceLocator
- getTopY() - Method in class com.csse3200.game.components.AutonomousBoxComponent
-
Retrieves the top boundary of the autonomous box's vertical path
- getTotalItemCount() - Method in class com.csse3200.game.components.player.InventoryComponent
-
Gets the count for all instances of items in the inventory.
- getTrackedEntities() - Method in class com.csse3200.game.services.MinimapService
-
Gets a read-only view of the currently tracked entities.
- getTriggerZoneEntity() - Method in class com.csse3200.game.components.tooltip.TooltipSystem.TooltipComponent
-
Gets the trigger zone entity for manual spawning if needed
- getUpgradeId() - Method in class com.csse3200.game.components.collectables.UpgradesComponent
- getValueAt(int) - Method in class com.csse3200.game.utils.SortedIntMap
-
Get the value at the given index
- getWalkDirection() - Method in class com.csse3200.game.components.player.KeyboardPlayerInputComponent
-
Return current walk direction.
- getWalkDirection() - Method in class com.csse3200.game.components.player.PlayerActions
-
Returns the player's current walking direction as a 2D vector.
- getWaypointAt(int) - Method in class com.csse3200.game.components.enemy.PatrolRouteComponent
-
Get the waypoint at a given index
- getWaypoints() - Method in class com.csse3200.game.components.enemy.PatrolRouteComponent
-
Get an array of cumulative waypoints built from the patrol steps.
- getWorld() - Method in class com.csse3200.game.physics.PhysicsEngine
- getXDirection() - Method in class com.csse3200.game.components.player.PlayerActions
- getYDirection() - Method in class com.csse3200.game.components.player.PlayerActions
- getZIndex() - Method in class com.csse3200.game.areas.terrain.TerrainComponent
- 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.mainmenu.MainMenuDisplay
- getZIndex() - Method in class com.csse3200.game.components.minimap.MinimapDisplay
- 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.UIComponent
- ghost - Variable in class com.csse3200.game.entities.configs.NPCConfigs
- GhostAnimationController - Class in com.csse3200.game.components.npc
-
This class listens to events relevant to a ghost entity's state and plays the animation when one of the events is triggered.
- GhostAnimationController() - Constructor for class com.csse3200.game.components.npc.GhostAnimationController
- ghostKing - Variable in class com.csse3200.game.entities.configs.NPCConfigs
- GhostKingConfig - Class in com.csse3200.game.entities.configs
-
Defines the properties stored in ghost king config files to be loaded by the NPC Factory.
- GhostKingConfig() - Constructor for class com.csse3200.game.entities.configs.GhostKingConfig
- GlobalTerminalInputComponent - Class in com.csse3200.game.ui.terminal
- GlobalTerminalInputComponent() - Constructor for class com.csse3200.game.ui.terminal.GlobalTerminalInputComponent
- gold - Variable in class com.csse3200.game.entities.configs.PlayerConfig
- GridPoint2Utils - Class in com.csse3200.game.utils.math
-
Contains additional utility constants and functions for common GridPoint2 operations.
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
- hasAdrenaline() - Method in class com.csse3200.game.components.player.PlayerActions
- hasAnimation(String) - Method in class com.csse3200.game.rendering.AnimationRenderComponent
-
Whether the animator has added the given animation.
- hasDashed() - Method in class com.csse3200.game.components.player.PlayerActions
- hasExploded() - Method in class com.csse3200.game.components.projectiles.BombComponent
- hashCode() - Method in class com.csse3200.game.entities.Entity
- hashCode() - Method in record class com.csse3200.game.ui.cutscene.CutsceneReaderComponent.TextBox
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.csse3200.game.ui.PixelPerfectPlacer.Rect
-
Returns a hash code value for this object.
- hasItem(String) - Method in class com.csse3200.game.components.player.InventoryComponent
-
Returns whether at least one instance of
itemId
exists in the inventory. - hasNext() - Method in interface com.csse3200.game.ui.terminal.Shell.Console
-
Checks if there is another chunk to be read.
- hasNext() - Method in class com.csse3200.game.ui.terminal.Shell.Range
-
Checks if the iteration has more elements.
- hasSoundPlayed() - Method in class com.csse3200.game.components.player.PlayerActions
- HealEffect - Class in com.csse3200.game.components.collectables.effects
-
An item effect that restores health to the player.
- HealEffect() - Constructor for class com.csse3200.game.components.collectables.effects.HealEffect
- health - Variable in class com.csse3200.game.entities.configs.BaseEntityConfig
- height - Variable in class com.csse3200.game.files.UserSettings.DisplaySettings
- height() - Method in record class com.csse3200.game.ui.PixelPerfectPlacer.Rect
-
Returns the value of the
height
record component. - HEXAGONAL - Enum constant in enum class com.csse3200.game.areas.terrain.TerrainComponent.TerrainOrientation
- hideTooltip() - Method in class com.csse3200.game.components.tooltip.TooltipSystem.TooltipDisplay
-
Hides the currently displayed tooltip
- hideTooltip() - Static method in class com.csse3200.game.components.tooltip.TooltipSystem.TooltipManager
-
Hide the currently displayed tooltip
- hit - Variable in class com.csse3200.game.physics.raycast.SingleHitCallback
- hit(CombatStatsComponent) - Method in class com.csse3200.game.components.CombatStatsComponent
- hit(CombatStatsComponent) - Method in class com.csse3200.game.components.DeathZoneComponent
-
Override CombatStatsComponent health-related functions to do nothing, as death zones should not be able to be damaged or healed.
- hit(CombatStatsComponent) - Method in class com.csse3200.game.components.obstacles.TrapComponent
-
Override CombatStatsComponent health-related functions to do nothing, as traps should not be able to be damaged or healed.
- HitboxComponent - Class in com.csse3200.game.physics.components
-
Physics comp
- HitboxComponent() - Constructor for class com.csse3200.game.physics.components.HitboxComponent
I
- id - Variable in class com.csse3200.game.entities.configs.CollectablesConfig
- ifElse(Object, EvaluableFunction, EvaluableFunction) - Method in class com.csse3200.game.ui.terminal.Shell
-
Implements an if-else construct.
- ifThen(Object, EvaluableFunction) - Method in class com.csse3200.game.ui.terminal.Shell
-
Implements an if-then construct.
- INACTIVE - Enum constant in enum class com.csse3200.game.ai.tasks.Task.Status
- initialiseKeybinds() - Static method in class com.csse3200.game.files.UserSettings
-
Initialises keybinds on game startup by applying saved settings or defaults
- Initializer - Class in com.csse3200.game.ui.terminal
-
This Class is meant to initialize the shell by running some predetermined scripts.
- Initializer() - Constructor for class com.csse3200.game.ui.terminal.Initializer
- 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
- 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
- INTERNAL - Enum constant in enum class com.csse3200.game.files.FileLoader.Location
- inventory - Variable in class com.csse3200.game.areas.GameArea
- INVENTORY - Enum constant in enum class com.csse3200.game.components.pausemenu.PauseMenuDisplay.Tab
- InventoryComponent - Class in com.csse3200.game.components.player
-
A component to track and manage a player's inventory, including stacking items.
- InventoryComponent() - Constructor for class com.csse3200.game.components.player.InventoryComponent
- InventoryComponent(InventoryComponent) - Constructor for class com.csse3200.game.components.player.InventoryComponent
- InventoryNavigationComponent - Class in com.csse3200.game.components.inventory
-
Input component for handling keyboard navigation within the inventory screen.
- InventoryNavigationComponent(InventoryTab) - Constructor for class com.csse3200.game.components.inventory.InventoryNavigationComponent
- InventoryTab - Class in com.csse3200.game.ui.inventoryscreen
-
UI tab that renders the player's inventory within the pause menu This tab shows a 4x4 grid of item slots.
- InventoryTab(Entity, MainGameScreen) - Constructor for class com.csse3200.game.ui.inventoryscreen.InventoryTab
-
Creates an Inventory tab bound to the given main game screen.
- InventoryTabInterface - Interface in com.csse3200.game.ui.inventoryscreen
- isAddToPlayer() - Method in class com.csse3200.game.components.MoveableBoxComponent
-
Checks if the event listeners have been added to the player.
- isClass(Object) - Method in class com.csse3200.game.ui.terminal.Shell
-
Returns true if the give object is actually a class type
- isDead() - Method in class com.csse3200.game.components.CombatStatsComponent
-
Returns true if the entity's has 0 health, otherwise false.
- isDead() - Method in class com.csse3200.game.components.DeathZoneComponent
-
Override CombatStatsComponent health-related functions to do nothing, as death zones should not be able to be damaged or healed.
- isDead() - Method in class com.csse3200.game.components.obstacles.TrapComponent
-
Override CombatStatsComponent health-related functions to do nothing, as traps should not be able to be damaged or healed.
- isDetected() - Method in class com.csse3200.game.components.lighting.ConeDetectorComponent
- isExhausted() - Method in class com.csse3200.game.components.StaminaComponent
- isFinished() - Method in class com.csse3200.game.rendering.AnimationRenderComponent
-
Has the playing animation finished? This will always be false for looping animations.
- isLifted() - Method in class com.csse3200.game.components.MoveableBoxComponent
-
Checks if the box is currently lifted by the player.
- isLinked() - Method in class com.csse3200.game.components.enemy.ActivationComponent
-
Getter to check camera is linked to entity
- isLocked() - Method in class com.csse3200.game.components.obstacles.DoorComponent
-
Check if door is currently locked
- isMoving() - Method in class com.csse3200.game.components.player.PlayerActions
- isMoving() - Method in class com.csse3200.game.components.tasks.PatrolTask
-
Check if moving.
- isMovingForward() - Method in class com.csse3200.game.components.tasks.PatrolTask
-
Check patrol direction.
- isNavigationEnabled() - Method in class com.csse3200.game.components.inventory.InventoryNavigationComponent
- ISOMETRIC - Enum constant in enum class com.csse3200.game.areas.terrain.TerrainComponent.TerrainOrientation
- isOpen() - Method in class com.csse3200.game.ui.terminal.Terminal
- isPaused() - Method in class com.csse3200.game.screens.MainGameScreen
- isPlayerInRange() - Method in class com.csse3200.game.components.ButtonComponent
-
Checks if the player is currently in range of the button.
- isPlayerInRange() - Method in class com.csse3200.game.components.MoveableBoxComponent
-
Checks if the player is currently in range of the box.
- isPushed() - Method in class com.csse3200.game.components.ButtonComponent
-
Returns true if button is pushed, false otherwise
- isPuzzleCompleted() - Method in class com.csse3200.game.components.ButtonManagerComponent
-
Checks if puzzle successfully completed
- isRebinding() - Method in class com.csse3200.game.input.SettingsInputComponent
-
Check if currently in rebinding mode
- isSlippery() - Method in class com.csse3200.game.components.WallComponent
- isTruthy(Object) - Static method in class com.csse3200.game.ui.terminal.Shell
-
Determines the "truthiness" of an object, similar to languages like JavaScript or Python.
- isWaiting() - Method in class com.csse3200.game.components.tasks.PatrolTask
-
Check if waiting.
- ItemEffectHandler - Interface in com.csse3200.game.components.collectables.effects
-
Functional interface for defining item effects that can be applied to entities.
- ItemEffectRegistry - Class in com.csse3200.game.components.collectables.effects
-
Registry mapping effect type strings to their corresponding handlers.
- iterator() - Method in class com.csse3200.game.utils.SortedIntMap
J
- JobSystem - Class in com.csse3200.game.concurrency
-
A job system provides a general-purpose way to run multi-threaded code.
K
- keyBindSettings - Variable in class com.csse3200.game.files.UserSettings.Settings
-
Custom keybinds
- KeyBindSettings() - Constructor for class com.csse3200.game.files.UserSettings.KeyBindSettings
- KEYBOARD - Enum constant in enum class com.csse3200.game.input.InputFactory.InputType
- 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
- KeyboardLightingInputTestComponent - Class in com.csse3200.game.components.lighting
-
This class was lazily copied from the player input handler (as you can probably tell) just to test the dynamic movement and rotation of the lights.
- KeyboardLightingInputTestComponent() - Constructor for class com.csse3200.game.components.lighting.KeyboardLightingInputTestComponent
- KeyboardPlayerInputComponent - Class in com.csse3200.game.components.player
-
Input handler for the player for keyboard and touch (mouse) input.
- KeyboardPlayerInputComponent() - Constructor for class com.csse3200.game.components.player.KeyboardPlayerInputComponent
- KeyComponent - Class in com.csse3200.game.components.collectables
-
A collectable key component that allows the player to pick up and store keys in their
InventoryComponent
. - KeyComponent(String) - Constructor for class com.csse3200.game.components.collectables.KeyComponent
-
Creates a
KeyComponent
with a given key identifier. - keyDown(int) - Method in class com.csse3200.game.components.inventory.InventoryNavigationComponent
-
Triggers player events on specific keycodes.
- keyDown(int) - Method in class com.csse3200.game.components.lighting.KeyboardLightingInputTestComponent
- 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.input.InputComponent
- keyDown(int) - Method in class com.csse3200.game.input.InputDecorator
- 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.input.PauseInputComponent
- keyDown(int) - Method in class com.csse3200.game.input.SettingsInputComponent
-
Handle key down events for rebinding
- keyDown(int) - Method in class com.csse3200.game.ui.terminal.GlobalTerminalInputComponent
- keyId - Variable in class com.csse3200.game.components.collectables.KeyComponent
- Keymap - Class in com.csse3200.game.input
- Keymap() - Constructor for class com.csse3200.game.input.Keymap
-
Keymap should never be instantiated
- 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.GlobalTerminalInputComponent
- keyUp(int) - Method in class com.csse3200.game.components.lighting.KeyboardLightingInputTestComponent
-
Triggers events on specific keycodes.
- 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.input.InputComponent
- keyUp(int) - Method in class com.csse3200.game.input.InputDecorator
- 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.GlobalTerminalInputComponent
- knockback(int) - Method in class com.csse3200.game.entities.factories.BoxFactory.AutonomousBoxBuilder
-
Sets the knockback applied to the player on contact.
L
- LadderComponent - Class in com.csse3200.game.components
-
Component for ladders.
- LadderComponent() - Constructor for class com.csse3200.game.components.LadderComponent
-
Initializer for ladder component.
- LadderFactory - Class in com.csse3200.game.entities.factories
-
Factory to create Platform entities.
- 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
- layout() - Method in class com.csse3200.game.ui.PixelPerfectPlacer
-
This method is called by Scene2D's layout manager whenever the table's size or children change.
- LEFT - Enum constant in enum class com.csse3200.game.physics.components.PhysicsComponent.AlignX
- LEFT - Static variable in class com.csse3200.game.lighting.LightingDefaults
- LEFT - Static variable in class com.csse3200.game.utils.math.Vector2Utils
- LevelOneGameArea - Class in com.csse3200.game.areas
- LevelOneGameArea(TerrainFactory) - Constructor for class com.csse3200.game.areas.LevelOneGameArea
- LevelTwoGameArea - Class in com.csse3200.game.areas
- LevelTwoGameArea(TerrainFactory) - Constructor for class com.csse3200.game.areas.LevelTwoGameArea
- LightFactory - Class in com.csse3200.game.entities.factories
-
The light factory is used to create the various light entities and apply the corresponding components to them.
- LightingDefaults - Class in com.csse3200.game.lighting
- LightingEngine - Class in com.csse3200.game.lighting
-
Processes lighting components using the Box2DLight library.
- LightingEngine(CameraComponent, World) - Constructor for class com.csse3200.game.lighting.LightingEngine
-
Constructor method for the lighting engine.
- LightingService - Class in com.csse3200.game.lighting
-
Provides a global access point to the lighting engine.
- LightingService(CameraComponent, World) - Constructor for class com.csse3200.game.lighting.LightingService
- LightingService(LightingEngine) - Constructor for class com.csse3200.game.lighting.LightingService
- load(String) - Static method in class com.csse3200.game.services.CollectableService
-
Load configs from a JSON array file
- loadAll() - Method in class com.csse3200.game.services.ResourceService
-
Blocking call to load all assets.
- loadAssets() - Method in class com.csse3200.game.areas.CaveGameArea
- loadAssets() - Method in class com.csse3200.game.areas.ForestGameArea
- loadAssets() - Method in class com.csse3200.game.areas.GameArea
-
Loads assets
- loadAssets() - Method in class com.csse3200.game.areas.LevelOneGameArea
- loadAssets() - Method in class com.csse3200.game.areas.LevelTwoGameArea
- loadAssets() - Method in class com.csse3200.game.areas.SprintOneGameArea
- loadAssets() - Method in class com.csse3200.game.areas.TemplateGameArea
- loadAssets() - Method in class com.csse3200.game.ui.cutscene.CutsceneArea
-
Private method for loading all assets into the resource service.
- loadEntities() - Method in class com.csse3200.game.areas.CaveGameArea
-
Load entities.
- loadEntities() - Method in class com.csse3200.game.areas.ForestGameArea
-
Load entities.
- loadEntities() - Method in class com.csse3200.game.areas.GameArea
-
Loads all entities in a given area
- loadEntities() - Method in class com.csse3200.game.areas.LevelOneGameArea
- loadEntities() - Method in class com.csse3200.game.areas.LevelTwoGameArea
- loadEntities() - Method in class com.csse3200.game.areas.SprintOneGameArea
-
Load entities.
- loadEntities() - Method in class com.csse3200.game.areas.TemplateGameArea
- loadEntities() - Method in class com.csse3200.game.ui.cutscene.CutsceneArea
-
Creates a reader entity with parses a script file, then an entity for displaying/handling UI.
- loadForMillis(int) - Method in class com.csse3200.game.services.ResourceService
-
Loads assets for the specified duration in milliseconds.
- loadMusic(String[]) - Method in class com.csse3200.game.services.ResourceService
-
Loads a list of music assets into the asset manager.
- loadPrerequisites() - Method in class com.csse3200.game.areas.CaveGameArea
-
Load terrain, UI, music.
- loadPrerequisites() - Method in class com.csse3200.game.areas.ForestGameArea
-
Load terrain, UI, music.
- loadPrerequisites() - Method in class com.csse3200.game.areas.GameArea
-
Loads prerequisites for each area.
- loadPrerequisites() - Method in class com.csse3200.game.areas.LevelOneGameArea
- loadPrerequisites() - Method in class com.csse3200.game.areas.LevelTwoGameArea
- loadPrerequisites() - Method in class com.csse3200.game.areas.SprintOneGameArea
-
Load terrain, UI, music.
- loadPrerequisites() - Method in class com.csse3200.game.areas.TemplateGameArea
- loadPrerequisites() - Method in class com.csse3200.game.ui.cutscene.CutsceneArea
-
There are no pre-reqs for cutscene areas
- 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
- 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
M
- main(String[]) - Static method in class com.csse3200.game.ui.terminal.Shell
-
The main function.
- MAIN_GAME - Enum constant in enum class com.csse3200.game.GdxGame.ScreenType
- MAIN_MENU - Enum constant in enum class com.csse3200.game.GdxGame.ScreenType
- 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
- MainGameScreen - Class in com.csse3200.game.screens
-
The game screen containing the main game.
- MainGameScreen(GdxGame) - Constructor for class com.csse3200.game.screens.MainGameScreen
- 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) - Constructor for class com.csse3200.game.components.mainmenu.MainMenuActions
- MainMenuDisplay - Class in com.csse3200.game.components.mainmenu
-
A ui component for displaying the Main menu.
- 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
- masterVolume - Variable in class com.csse3200.game.files.UserSettings.Settings
-
Members for controlling volume of sound effects.
- MAX - Static variable in class com.csse3200.game.utils.math.Vector2Utils
- maxStamina - Variable in class com.csse3200.game.entities.configs.PlayerConfig
- MIN - Static variable in class com.csse3200.game.utils.math.Vector2Utils
- MinimapComponent - Class in com.csse3200.game.components.minimap
-
A component to be added to entities that should be tracked on the minimap.
- MinimapComponent(Image) - Constructor for class com.csse3200.game.components.minimap.MinimapComponent
- MinimapComponent(String) - Constructor for class com.csse3200.game.components.minimap.MinimapComponent
- MinimapDisplay - Class in com.csse3200.game.components.minimap
-
A UI component for displaying a minimap.
- MinimapDisplay(float, MinimapDisplay.MinimapOptions) - Constructor for class com.csse3200.game.components.minimap.MinimapDisplay
-
Creates a new minimap display.
- MinimapDisplay.MinimapOptions - Class in com.csse3200.game.components.minimap
-
Used to specify the options for drawing the minimap.
- MinimapDisplay.MinimapPosition - Enum Class in com.csse3200.game.components.minimap
-
Dictate where the Minimap will be drawn
- MinimapOptions() - Constructor for class com.csse3200.game.components.minimap.MinimapDisplay.MinimapOptions
- MinimapService - Class in com.csse3200.game.services
-
Service to hold the state of tracked entities for the minimap.
- MinimapService(Texture, Vector2, Vector2) - Constructor for class com.csse3200.game.services.MinimapService
-
Creates a new minimap service.
- 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
- MoveableBoxComponent - Class in com.csse3200.game.components
-
Component for a box that can be moved by the player.
- MoveableBoxComponent() - Constructor for class com.csse3200.game.components.MoveableBoxComponent
-
Default constructor to remove gradle warnings about missing constructor in this class.
- 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
- moveX(float, float) - Method in class com.csse3200.game.entities.factories.BoxFactory.AutonomousBoxBuilder
-
Sets the horizontal movement bounds for the box.
- moveY(float, float) - Method in class com.csse3200.game.entities.factories.BoxFactory.AutonomousBoxBuilder
-
Sets the vertical movement bounds for the box.
- MovingPlatformComponent - Class in com.csse3200.game.components.platforms
- MovingPlatformComponent(Vector2, float) - Constructor for class com.csse3200.game.components.platforms.MovingPlatformComponent
- musicVolume - Variable in class com.csse3200.game.files.UserSettings.Settings
N
- name - Variable in class com.csse3200.game.entities.configs.CollectablesConfig
- next() - Method in interface com.csse3200.game.ui.terminal.Shell.Console
-
Reads a line / block to be Interpreter from the input.
- next() - Method in class com.csse3200.game.ui.terminal.Shell.Range
-
Returns the next element in the iteration.
- NONE - Static variable in class com.csse3200.game.physics.PhysicsLayer
- normal - Variable in class com.csse3200.game.physics.raycast.RaycastHit
-
the normal vector of the collider surface at the hit point.
- NORMAL_COLOR - Static variable in class com.csse3200.game.lighting.LightingDefaults
- not(Object) - Static method in class com.csse3200.game.ui.terminal.Shell
-
Performs a logical NOT operation.
- NPC - 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 the NPC Factory.
- 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.
- numWaypoints() - Method in class com.csse3200.game.components.enemy.PatrolRouteComponent
-
Get number of waypoints in patrol route
O
- object - Variable in class com.csse3200.game.utils.StringDecorator
- ObjectContactListener - Class in com.csse3200.game.physics
-
Combined contact listener that handles both general collision events (for tooltips, collectables, etc.) and specific object collision logic.
- ObjectContactListener() - Constructor for class com.csse3200.game.physics.ObjectContactListener
- OBJECTIVES - Enum constant in enum class com.csse3200.game.components.pausemenu.PauseMenuDisplay.Tab
- ObjectivesTab - Class in com.csse3200.game.ui.inventoryscreen
-
Objectives tab shown inside the pause menu
- ObjectivesTab(MainGameScreen) - Constructor for class com.csse3200.game.ui.inventoryscreen.ObjectivesTab
-
Creates an Objectives tab bound to the given main game screen.
- OBSTACLE - Static variable in class com.csse3200.game.physics.PhysicsLayer
- ObstacleFactory - Class in com.csse3200.game.entities.factories
-
Factory to create obstacle entities.
- OCCLUDER - Static variable in class com.csse3200.game.lighting.LightingDefaults
- onButtonPressed() - Method in class com.csse3200.game.components.ButtonManagerComponent
-
Called when any button is pressed, starts the timer if the puzzle isn't already active
- onCollect(Entity) - Method in class com.csse3200.game.components.collectables.CollectableComponent
-
Called when this collectable is picked up by the player.
- onCollect(Entity) - Method in class com.csse3200.game.components.collectables.KeyComponent
-
Attempts to collect this key into the player's inventory.
- onCollect(Entity) - Method in class com.csse3200.game.components.collectables.UpgradesComponent
- ONE - Static variable in class com.csse3200.game.utils.math.Vector2Utils
- onPlayerWalk(Vector2) - Method in class com.csse3200.game.components.MoveableBoxComponent
-
Called when the player moves.
- openDoor() - Method in class com.csse3200.game.components.obstacles.DoorComponent
-
Opens the door by making its collider a sensor (non-blocking).
- or(Object, Object) - Static method in class com.csse3200.game.ui.terminal.Shell
-
Performs a logical OR operation.
- ORTHOGONAL - Enum constant in enum class com.csse3200.game.areas.terrain.TerrainComponent.TerrainOrientation
- 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
- ParallaxBackgroundComponent - Class in com.csse3200.game.rendering
- ParallaxBackgroundComponent(Camera, float, float) - Constructor for class com.csse3200.game.rendering.ParallaxBackgroundComponent
- ParallaxLayer - Class in com.csse3200.game.rendering
- ParallaxLayer(Texture, Camera, float, float, float) - Constructor for class com.csse3200.game.rendering.ParallaxLayer
- PatrolRouteComponent - Class in com.csse3200.game.components.enemy
-
A component that stores the patrol route for an enemy entity, which is represented as an ordered list of waypoints.
- PatrolRouteComponent(Vector2[]) - Constructor for class com.csse3200.game.components.enemy.PatrolRouteComponent
-
Create a new PatrolRouteComponent with the supplied waypoints.
- patrolStart() - Method in class com.csse3200.game.components.enemy.PatrolRouteComponent
-
Get the first waypoint of the patrol route
- PatrolTask - Class in com.csse3200.game.components.tasks
-
Task that makes an entity move through a sequence of waypoints, pausing briefly at each.
- PatrolTask(float) - Constructor for class com.csse3200.game.components.tasks.PatrolTask
-
Creates a patrol starting from a fixed start position.
- pause() - Method in class com.csse3200.game.screens.MainGameScreen
- pause() - Method in class com.csse3200.game.screens.MainMenuScreen
- PauseInputComponent - Class in com.csse3200.game.input
-
A class extending InputComponent handling pause menu related key presses.
- PauseInputComponent(MainGameScreen) - Constructor for class com.csse3200.game.input.PauseInputComponent
- PauseMenuDisplay - Class in com.csse3200.game.components.pausemenu
- PauseMenuDisplay(MainGameScreen, Entity, GdxGame) - Constructor for class com.csse3200.game.components.pausemenu.PauseMenuDisplay
- PauseMenuDisplay.Tab - Enum Class in com.csse3200.game.components.pausemenu
- 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.
- PixelPerfectPlacer - Class in com.csse3200.game.ui
-
A layout component that allows placing actors at precise pixel coordinates relative to a background image.
- PixelPerfectPlacer(Texture) - Constructor for class com.csse3200.game.ui.PixelPerfectPlacer
-
Creates a new PixelPerfectPlacer with a specified background image.
- PixelPerfectPlacer.Rect - Record Class in com.csse3200.game.ui
-
Helper record to store the actor's pixel-based layout constraints.
- PlatformFactory - Class in com.csse3200.game.entities.factories
-
Factory to create Platform entities.
- player - Variable in class com.csse3200.game.areas.GameArea
- PLAYER - Static variable in class com.csse3200.game.physics.PhysicsLayer
- 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
- PlayerAnimationController() - Constructor for class com.csse3200.game.components.player.PlayerAnimationController
- 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
- PlayerFactory - Class in com.csse3200.game.entities.factories
-
Factory to create a player entity.
- PlayerFactoryTest - Class in com.csse3200.game.entities.factories
-
Factory to create a player entity.
- PlayerStatsDisplay - Class in com.csse3200.game.components.player
-
A ui component for displaying player stats, e.g.
- PlayerStatsDisplay() - Constructor for class com.csse3200.game.components.player.PlayerStatsDisplay
- point - Variable in class com.csse3200.game.physics.raycast.RaycastHit
-
Point at which the raycast hit the fixture.
- position - Variable in class com.csse3200.game.components.minimap.MinimapDisplay.MinimapOptions
- postSolve(Contact, ContactImpulse) - Method in class com.csse3200.game.physics.ObjectContactListener
- postSolve(Contact, ContactImpulse) - Method in class com.csse3200.game.physics.PhysicsContactListener
- preSolve(Contact, Manifold) - Method in class com.csse3200.game.physics.ObjectContactListener
- preSolve(Contact, Manifold) - Method in class com.csse3200.game.physics.PhysicsContactListener
- PressurePlateComponent - Class in com.csse3200.game.components
-
A pressure plate that toggles its pressed state when a player steps on it.
- PressurePlateComponent() - Constructor for class com.csse3200.game.components.PressurePlateComponent
- PressurePlateFactory - Class in com.csse3200.game.entities.factories
-
Factory class for creating pressure plate entities.
- print(Object) - Method in interface com.csse3200.game.ui.terminal.Shell.Console
-
Prints any generic object to the output.
- print(Object) - Static method in class com.csse3200.game.ui.terminal.TerminalService
-
Print string representation of the give object to the terminal.
- 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.
- ProjectileConfigs - Class in com.csse3200.game.entities.configs
-
Defines a basic set of properties stored in entities config files to be loaded by Entity Factories.
- ProjectileConfigs() - Constructor for class com.csse3200.game.entities.configs.ProjectileConfigs
- ProjectileFactory - Class in com.csse3200.game.entities.factories
-
Factory to create projectile entities like bombs, bullets, etc.
- put(int, V) - Method in class com.csse3200.game.utils.SortedIntMap
-
Put key, value pair in map
R
- 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
- Range(long, long) - Constructor for class com.csse3200.game.ui.terminal.Shell.Range
-
Creates a range with a step of 1.
- Range(long, long, long) - Constructor for class com.csse3200.game.ui.terminal.Shell.Range
-
Creates a range with a specified step.
- RangeClass - Static variable in class com.csse3200.game.ui.terminal.Shell
-
A reference to the Range class for internal use.
- 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
- RAYS - Static variable in class com.csse3200.game.lighting.LightingDefaults
- 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.
- Rect(int, int, int, int) - Constructor for record class com.csse3200.game.ui.PixelPerfectPlacer.Rect
-
Creates an instance of a
Rect
record class. - reflectPauseTabClick(PauseMenuDisplay.Tab) - Method in class com.csse3200.game.screens.MainGameScreen
- refreshGrid() - Method in class com.csse3200.game.ui.inventoryscreen.InventoryTab
-
Refreshes the current grid display
- refreshGrid(Table) - Method in class com.csse3200.game.ui.inventoryscreen.InventoryTab
-
Refreshes the grid display to update selection highlighting
- 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.
- register(String, ItemEffectHandler) - Static method in class com.csse3200.game.components.collectables.effects.ItemEffectRegistry
-
Register or replace a handler for a type (e.g.
- registerAction(String, int, boolean) - Static method in class com.csse3200.game.input.Keymap
-
Registers a new action into the keymap with a given key code.
- registerCamera(String, Entity) - Method in class com.csse3200.game.lighting.SecurityCamRetrievalService
-
Register a security camera entity with the service.
- registerDefaults() - Static method in class com.csse3200.game.components.collectables.effects.ItemEffectRegistry
-
Register built-in handlers.
- registerEntityService(EntityService) - Static method in class com.csse3200.game.services.ServiceLocator
- registerInputService(InputService) - Static method in class com.csse3200.game.services.ServiceLocator
- registerLightingService(LightingService) - Static method in class com.csse3200.game.services.ServiceLocator
- registerMinimapService(MinimapService) - 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
- registerSecurityCamRetrievalService(SecurityCamRetrievalService) - Static method in class com.csse3200.game.services.ServiceLocator
- registerTimeSource(GameTime) - Static method in class com.csse3200.game.services.ServiceLocator
- removeAnimation(String) - Method in class com.csse3200.game.rendering.AnimationRenderComponent
-
Remove an animation from this animator.
- removeComponent(Component) - Method in class com.csse3200.game.entities.Entity
-
Remove a component from the entity.
- removeItem(String) - Method in class com.csse3200.game.components.player.InventoryComponent
-
Removes all items with
itemId
from the inventory. - removeMarker(Image) - Method in class com.csse3200.game.components.minimap.MinimapDisplay
-
Removes the given marker form the group
- render() - Method in class com.csse3200.game.lighting.LightingEngine
-
Render all lights registered with the ray handler to the screen.
- render() - Method in class com.csse3200.game.rendering.Renderer
-
Render everything to the render service.
- render(float) - Method in class com.csse3200.game.screens.MainGameScreen
- render(float) - Method in class com.csse3200.game.screens.MainMenuScreen
- render(float) - Method in class com.csse3200.game.screens.SettingsScreen
- render(SpriteBatch) - Method in class com.csse3200.game.rendering.ParallaxLayer
- 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
- render(LightingEngine) - Method in class com.csse3200.game.rendering.Renderer
-
Render everything to the render service (using the lighting engine render flow)
- 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 - 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
- renderLayer(SpriteBatch, int) - Method in class com.csse3200.game.rendering.RenderService
-
Trigger rendering on the given batch only on the given layer.
- renderLayerRange(SpriteBatch, int, int) - Method in class com.csse3200.game.rendering.RenderService
-
Trigger rendering on the given batch within the given layer range.
- 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
- replaceComponent(Component) - Method in class com.csse3200.game.entities.Entity
-
Replace a component in the current entity.
- 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
- requestMoveToSafeSpot(Vector2) - Method in class com.csse3200.game.entities.Entity
-
This is bad.
- requestReset() - Method in class com.csse3200.game.entities.Entity
-
Perform a level reset.
- reset() - Method in class com.csse3200.game.areas.GameArea
-
Resets the game area
- reset() - Method in class com.csse3200.game.ui.cutscene.CutsceneArea
-
Cutscene areas cannot be reset
- resetKeybindsToDefaults() - Static method in class com.csse3200.game.files.UserSettings
-
Resets all keybinds to their default values and saves the settings.
- resetPuzzle() - Method in class com.csse3200.game.components.ButtonManagerComponent
-
Resets puzzle state by clearing progress, deactivating puzzle and unpressing all buttons being controlled by the manager
- 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.MainGameScreen
- resize(int, int) - Method in class com.csse3200.game.screens.MainMenuScreen
- resize(int, int) - Method in class com.csse3200.game.screens.SettingsScreen
- resize(int, int, float) - Method in class com.csse3200.game.components.CameraComponent
-
Resizes the camera FOV
- 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.MainGameScreen
- resume() - Method in class com.csse3200.game.screens.MainMenuScreen
- ReturnValueClass - Static variable in class com.csse3200.game.ui.terminal.Shell
-
A reference to the ReturnValue class for internal use.
- RIGHT - Enum constant in enum class com.csse3200.game.physics.components.PhysicsComponent.AlignX
- RIGHT - Static variable in class com.csse3200.game.lighting.LightingDefaults
- RIGHT - Static variable in class com.csse3200.game.utils.math.Vector2Utils
- run() - Method in class com.csse3200.game.ui.terminal.Shell
-
Runs the shell's read-evaluation loop.
S
- saveComponents(CombatStatsComponent, InventoryComponent) - Method in class com.csse3200.game.areas.GameArea
-
Save a copy of all of the components we want to store for resets/level switches.
- saveCurrentKeybinds() - Static method in class com.csse3200.game.files.UserSettings
-
Saves the current keymap state to user settings.
- scale(float, float) - Method in class com.csse3200.game.entities.factories.BoxFactory.AutonomousBoxBuilder
-
Sets the visual scale of the box, relative to a single world unit.
- 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.TextureRenderComponent
-
Scale the entity to a width of 1 and a height matching the texture's ratio
- 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.
- 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
- SecurityCameraFactory - Class in com.csse3200.game.entities.factories
-
The security camera factory is used to spawn in new security camera entities.
- SecurityCameraFactory() - Constructor for class com.csse3200.game.entities.factories.SecurityCameraFactory
- SecurityCamRetrievalService - Class in com.csse3200.game.lighting
-
A service to hold a map of the key-item pairs (id string, security camera entity) allowing for global access.
- SecurityCamRetrievalService() - Constructor for class com.csse3200.game.lighting.SecurityCamRetrievalService
- 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
- setActionKeyCode(String, int) - Static method in class com.csse3200.game.input.Keymap
-
Updates an existing action in the keymap with a given key code.
- setActive(boolean) - Method in class com.csse3200.game.rendering.DebugRenderer
- setActiveDisplay(TooltipSystem.TooltipDisplay) - Static method in class com.csse3200.game.components.tooltip.TooltipSystem.TooltipManager
-
Register the active tooltip display component
- setAmbientLight(float) - Method in class com.csse3200.game.lighting.LightingEngine
- setAngularAccel(float) - Method in class com.csse3200.game.components.lighting.ConeLightPanningTaskComponent
- setAngularVelocity(float) - Method in class com.csse3200.game.components.lighting.ConeLightPanningTaskComponent
-
Set the angular velocity and change max speed based upon new value.
- setAngularVelocityDeg(float) - Method in class com.csse3200.game.components.lighting.ConeLightComponent
- 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.
- setBaseAttack(int) - Method in class com.csse3200.game.components.CombatStatsComponent
-
Sets the entity's 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
- setBounds(float, float, float, float) - Method in class com.csse3200.game.components.AutonomousBoxComponent
-
Sets the horizontal movement bounds for the box.
- setBroken(boolean) - Method in class com.csse3200.game.components.LadderComponent
-
Would set whether the ladder is broken or not.
- setColor(Color) - Method in class com.csse3200.game.components.lighting.ConeLightComponent
- setConeDegree(float) - Method in class com.csse3200.game.components.lighting.ConeLightComponent
- setCurrentStamina(int) - Method in class com.csse3200.game.components.StaminaComponent
- setDebug(boolean) - Method in class com.csse3200.game.components.lighting.ConeDetectorComponent
- setDebug(DebugRenderer) - Method in class com.csse3200.game.rendering.RenderService
- setDensity(float) - Method in class com.csse3200.game.physics.components.ColliderComponent
-
Set density
- setDirection(String) - Method in class com.csse3200.game.components.ButtonComponent
-
Sets the direction the button will face, for both texture and pressing logic Automatically left unless otherwise specified (right, up, down)
- setDirectionDeg(float) - Method in class com.csse3200.game.components.lighting.ConeLightComponent
- setDisplay(MinimapDisplay) - Method in class com.csse3200.game.services.MinimapService
-
Sets the minimap display (to which entities are added).
- setDistance(float) - Method in class com.csse3200.game.components.lighting.ConeLightComponent
- 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
- setEntity(Entity) - Method in class com.csse3200.game.components.Component
-
Set the entity to which this component belongs.
- setFlipX(boolean) - Method in class com.csse3200.game.rendering.AnimationRenderComponent
-
Flips the entity horizontally by adjusting its X scale.
- setFollowEntity(boolean) - Method in class com.csse3200.game.components.lighting.ConeLightComponent
- setFriction(float) - Method in class com.csse3200.game.physics.components.ColliderComponent
-
Set friction.
- setGlobal(String, Object) - Method in class com.csse3200.game.ui.terminal.Shell
-
Sets a value in the global environment scope.
- setHealth(int) - Method in class com.csse3200.game.components.CombatStatsComponent
-
Sets the entity's health.
- setHealth(int) - Method in class com.csse3200.game.components.DeathZoneComponent
-
Override CombatStatsComponent health-related functions to do nothing, as death zones should not be able to be damaged or healed.
- setHealth(int) - Method in class com.csse3200.game.components.obstacles.TrapComponent
-
Override CombatStatsComponent health-related functions to do nothing, as traps should not be able to be damaged or healed.
- setId(int) - Method in class com.csse3200.game.areas.terrain.TerrainTile
- setInventoryTab(InventoryTab) - Method in class com.csse3200.game.components.inventory.InventoryNavigationComponent
-
Sets the inventory tab that this component controls
- setKeyBindButtons(Map<String, TextButton>) - Method in class com.csse3200.game.input.SettingsInputComponent
-
Set the key binding buttons that this component will manage
- setKeyMapDefaults() - Static method in class com.csse3200.game.input.Keymap
-
Attempts to register and set key codes for all actions in the game.
- setLastKeycodeForTab(PauseMenuDisplay.Tab) - Method in class com.csse3200.game.input.PauseInputComponent
- setLayer(int) - Method in class com.csse3200.game.rendering.RenderComponent
-
Set the render layer of a renderable component.
- setLayer(short) - Method in class com.csse3200.game.physics.components.ColliderComponent
-
Set the collider layer, used in collision logic
- setMarker(Image) - Method in class com.csse3200.game.components.minimap.MinimapComponent
-
Updates the marker on the minimap with a new drawable.
- setMarker(Entity, Image) - Method in class com.csse3200.game.services.MinimapService
-
Updates the marker on the minimap with a new drawable.
- setMarkerColor(Entity, Color) - Method in class com.csse3200.game.services.MinimapService
-
Tints the marker on the minimap with a new color.
- setMaxSpeed(float) - Method in class com.csse3200.game.physics.components.PhysicsMovementComponent
- 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.
- setNavigationComponent(InventoryNavigationComponent) - Method in class com.csse3200.game.ui.inventoryscreen.InventoryTab
-
Sets the navigation component that provides selection state
- setOccluderMask(short) - Method in class com.csse3200.game.components.lighting.ConeDetectorComponent
- setOffsetX(float) - Method in class com.csse3200.game.areas.terrain.TerrainTile
- setOffsetY(float) - Method in class com.csse3200.game.areas.terrain.TerrainTile
- setOnLadder(boolean) - Method in class com.csse3200.game.components.player.KeyboardPlayerInputComponent
-
Sets the on ladder state of the player to the given boolean value
- setOrigin(float, float) - Method in class com.csse3200.game.rendering.TextureRenderComponent
- setPaused(boolean) - Method in class com.csse3200.game.rendering.AnimationRenderComponent
- setPlayerInRange(ColliderComponent) - Method in class com.csse3200.game.components.ButtonComponent
-
Sets whether a player is in interaction range of this button Adds the player to the "interact" event the first time
- setPlayerInRange(ColliderComponent) - Method in class com.csse3200.game.components.MoveableBoxComponent
-
Sets the player collider when the player is range of the box.
- setPlayerOnPlate(ColliderComponent) - Method in class com.csse3200.game.components.PressurePlateComponent
- setPosition(float, float) - Method in class com.csse3200.game.entities.Entity
-
Set the entity's game position.
- 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.
- setPriority(int) - Method in class com.csse3200.game.input.InputComponent
- setPushed(boolean) - Method in class com.csse3200.game.components.ButtonComponent
-
Sets the buttons pushed state manually [for future implementations]
- setPuzzleManager(ButtonManagerComponent) - Method in class com.csse3200.game.components.ButtonComponent
-
Assigns a puzzle manager to the button, so manager can be notified when its pressed
- setRenderer(Renderer) - Method in class com.csse3200.game.rendering.RenderService
-
Sets the current renderer instance
- setRestitution(float) - Method in class com.csse3200.game.physics.components.ColliderComponent
-
Set restitution
- setRotation(float) - Method in class com.csse3200.game.rendering.TextureRenderComponent
-
Sets rotation of the texture
- 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.
- 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
- setSlippery(boolean) - Method in class com.csse3200.game.components.WallComponent
- setSoftnessLength(float) - Method in class com.csse3200.game.components.lighting.ConeLightComponent
- setSpeed(float) - Method in class com.csse3200.game.components.AutonomousBoxComponent
-
Sets the movement speed
- setSprinting(boolean) - Method in class com.csse3200.game.components.StaminaComponent
- setStage(Stage) - Method in class com.csse3200.game.rendering.RenderService
- setStage(Stage) - Static method in class com.csse3200.game.ui.terminal.TerminalService
-
Called by the RenderService when a new Stage is set.
- setTab(PauseMenuDisplay.Tab) - Method in class com.csse3200.game.components.pausemenu.PauseMenuDisplay
- 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.
- setTexture(String) - Method in class com.csse3200.game.rendering.TextureRenderComponent
- setTextureRegion(TextureRegion) - Method in class com.csse3200.game.areas.terrain.TerrainTile
- setTextures(String, String) - Method in class com.csse3200.game.components.PressurePlateComponent
-
Allow external configuration of textures if you add a pressed texture later
- 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.components.pausemenu.PauseMenuDisplay.Tab
- SETTINGS - Enum constant in enum class com.csse3200.game.GdxGame.ScreenType
- SettingsInputComponent - Class in com.csse3200.game.input
-
Input handler for settings menu key rebinding functionality.
- SettingsInputComponent(SettingsScreen) - Constructor for class com.csse3200.game.input.SettingsInputComponent
- 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
- SettingsTab - Class in com.csse3200.game.ui.inventoryscreen
-
Settings tab for the pause menu inventory screen.
- SettingsTab() - Constructor for class com.csse3200.game.ui.inventoryscreen.SettingsTab
- setType(String) - Method in class com.csse3200.game.components.ButtonComponent
-
Sets the type for this button (which selects texture)
- setVelocity(Vector2) - Method in class com.csse3200.game.components.lighting.ConeLightComponent
- setVelocityZero() - Method in class com.csse3200.game.components.lighting.ConeLightComponent
- setVisible(boolean) - Method in class com.csse3200.game.components.minimap.MinimapDisplay
- setVisible(boolean) - Method in class com.csse3200.game.components.pausemenu.PauseMenuDisplay
- setWalkDirection(Vector2) - Method in class com.csse3200.game.components.player.KeyboardPlayerInputComponent
-
Set current walk direction.
- Shell - Class in com.csse3200.game.ui.terminal
-
Shell: A simple, single-file, dependency-free scripting language interpreter written in vanilla Java.
- Shell(Shell.Console) - Constructor for class com.csse3200.game.ui.terminal.Shell
-
Constructs a new Shell with a given console and a new default environment.
- Shell(Shell.Console, Environment) - Constructor for class com.csse3200.game.ui.terminal.Shell
-
Constructs a new Shell with a specified console and a pre-existing environment.
- Shell.Console - Interface in com.csse3200.game.ui.terminal
-
An interface for abstracting read/write operations, allowing the Shell to work with different input/output sources, such as a standard console or a network socket.
- Shell.Range - Class in com.csse3200.game.ui.terminal
-
Represents a numerical range that can be iterated over.
- ShellMapClass - Static variable in class com.csse3200.game.ui.terminal.Shell
-
A reference to the ShellMap class
- showTooltip(String, TooltipSystem.TooltipStyle) - Method in class com.csse3200.game.components.tooltip.TooltipSystem.TooltipDisplay
-
Shows a tooltip with the specified text and style
- showTooltip(String, TooltipSystem.TooltipStyle) - Static method in class com.csse3200.game.components.tooltip.TooltipSystem.TooltipManager
-
Show a tooltip with the specified text and style
- 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
- size() - Method in class com.csse3200.game.utils.SortedIntMap
-
Get number of keys
- skin - Static variable in class com.csse3200.game.ui.UIComponent
- 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
- spawnDoor() - Method in class com.csse3200.game.areas.LevelOneGameArea
- spawnDoor() - Method in class com.csse3200.game.areas.LevelTwoGameArea
- spawnDoor() - Method in class com.csse3200.game.areas.SprintOneGameArea
- 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.
- spawnKey() - Method in class com.csse3200.game.areas.ForestGameArea
- spawnKey() - Method in class com.csse3200.game.areas.LevelOneGameArea
- spawnKey() - Method in class com.csse3200.game.areas.LevelTwoGameArea
- spawnKey() - Method in class com.csse3200.game.areas.SprintOneGameArea
- spawnPlayer() - Method in class com.csse3200.game.areas.CaveGameArea
- spawnPlayer() - Method in class com.csse3200.game.areas.ForestGameArea
- spawnPlayer() - Method in class com.csse3200.game.areas.GameArea
-
Spawns player
- spawnPlayer() - Method in class com.csse3200.game.areas.LevelOneGameArea
- spawnPlayer() - Method in class com.csse3200.game.areas.LevelTwoGameArea
- spawnPlayer() - Method in class com.csse3200.game.areas.SprintOneGameArea
- spawnPlayer() - Method in class com.csse3200.game.areas.TemplateGameArea
- spawnPlayer() - Method in class com.csse3200.game.ui.cutscene.CutsceneArea
-
Create dummy player for cutscene
- spawnPlayer(List<Component>) - Method in class com.csse3200.game.areas.CaveGameArea
- spawnPlayer(List<Component>) - Method in class com.csse3200.game.areas.ForestGameArea
- spawnPlayer(List<Component>) - Method in class com.csse3200.game.areas.GameArea
-
Spawns player with previous components
- spawnPlayer(List<Component>) - Method in class com.csse3200.game.areas.LevelOneGameArea
- spawnPlayer(List<Component>) - Method in class com.csse3200.game.areas.LevelTwoGameArea
- spawnPlayer(List<Component>) - Method in class com.csse3200.game.areas.SprintOneGameArea
- spawnPlayer(List<Component>) - Method in class com.csse3200.game.areas.TemplateGameArea
- spawnPlayer(List<Component>) - Method in class com.csse3200.game.ui.cutscene.CutsceneArea
-
Create dummy player for cutscene
- spawnPlayerUpgrades() - Method in class com.csse3200.game.areas.LevelOneGameArea
- SpawnPositionComponent - Class in com.csse3200.game.components.enemy
-
Simple component that stores an entity's spawn position in world coordinates.
- SpawnPositionComponent(Vector2) - Constructor for class com.csse3200.game.components.enemy.SpawnPositionComponent
-
Create a spawn position component
- spawnPotion(String, int, int) - Method in class com.csse3200.game.areas.LevelOneGameArea
- spawnUpgrade(String, int, int) - Method in class com.csse3200.game.areas.ForestGameArea
- speed - Variable in class com.csse3200.game.entities.configs.ProjectileConfigs
- speed(float) - Method in class com.csse3200.game.entities.factories.BoxFactory.AutonomousBoxBuilder
-
Sets the speed at which the box moves.
- spliterator() - Method in class com.csse3200.game.utils.SortedIntMap
- spookyFactor - Variable in class com.csse3200.game.entities.configs.GhostKingConfig
- SPRINT_ONE_ORTHO - Enum constant in enum class com.csse3200.game.areas.terrain.TerrainFactory.TerrainType
- sprintDrainPerSecond - Variable in class com.csse3200.game.entities.configs.PlayerConfig
- SprintOneGameArea - Class in com.csse3200.game.areas
- SprintOneGameArea(TerrainFactory) - Constructor for class com.csse3200.game.areas.SprintOneGameArea
-
Initialise this ForestGameArea to use the provided TerrainFactory.
- sprite - Variable in class com.csse3200.game.entities.configs.CollectablesConfig
- stage - Variable in class com.csse3200.game.ui.UIComponent
- StaminaComponent - Class in com.csse3200.game.components
-
StaminaComponent - resource manager for player stamina.
- StaminaComponent(float, float, float, int) - Constructor for class com.csse3200.game.components.StaminaComponent
- StaminaComponent(float, float, float, int, float) - Constructor for class com.csse3200.game.components.StaminaComponent
- staminaRegenDelaySeconds - Variable in class com.csse3200.game.entities.configs.PlayerConfig
- staminaRegenPerSecond - Variable in class com.csse3200.game.entities.configs.PlayerConfig
- StandingColliderComponent - Class in com.csse3200.game.physics.components
- StandingColliderComponent() - Constructor for class com.csse3200.game.physics.components.StandingColliderComponent
- 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.BombChaseTask
-
Initialise and starts a movement task toward the chase target then triggers the chaseStart event.
- start() - Method in class com.csse3200.game.components.tasks.BombDropTask
-
Start drone attack and trigger a dropStart event on owner entity
- start() - Method in class com.csse3200.game.components.tasks.ChaseTask
-
Initialise and start movement towards target.
- start() - Method in class com.csse3200.game.components.tasks.CooldownTask
-
Starts the cooldown.
- start() - Method in class com.csse3200.game.components.tasks.MovementTask
- start() - Method in class com.csse3200.game.components.tasks.PatrolTask
-
Set up subtasks (wait, movement) and begin moving toward first waypoint.
- 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
- START_DEG - Static variable in class com.csse3200.game.lighting.LightingDefaults
- startAnimation(String) - Method in class com.csse3200.game.rendering.AnimationRenderComponent
-
Start playback of an animation.
- startDisposal() - Method in class com.csse3200.game.components.DisposalComponent
- startRebinding(String, TextButton) - Method in class com.csse3200.game.input.SettingsInputComponent
-
Start rebinding process for a specific action
- status - Variable in class com.csse3200.game.ai.tasks.DefaultTask
- 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.BombChaseTask
-
Stop the task
- stop() - Method in class com.csse3200.game.components.tasks.BombDropTask
-
Stop attack task
- stop() - Method in class com.csse3200.game.components.tasks.ChaseTask
-
Stop the chase behaviour and movement subtask.
- stop() - Method in class com.csse3200.game.components.tasks.CooldownTask
-
When the cooldown task is stopped, gravity is restored and a 'cooldownEnd' event is triggered.
- stop() - Method in class com.csse3200.game.components.tasks.MovementTask
- stop() - Method in class com.csse3200.game.components.tasks.PatrolTask
-
Stop the patrol task and its current subtask
- stopAnimation() - Method in class com.csse3200.game.rendering.AnimationRenderComponent
-
Stop the currently running animation.
- stopTracking(Entity) - Method in class com.csse3200.game.services.MinimapService
-
Stops tracking an entity on the minimap.
- 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.
- SUCCESS - Enum constant in enum class com.csse3200.game.components.tooltip.TooltipSystem.TooltipStyle
T
- tags - Variable in class com.csse3200.game.entities.configs.CollectablesConfig
- 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
- target - Variable in class com.csse3200.game.entities.configs.EffectConfig
- 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
- TemplateGameArea - Class in com.csse3200.game.areas
- TemplateGameArea(TerrainFactory) - Constructor for class com.csse3200.game.areas.TemplateGameArea
- Terminal - Class in com.csse3200.game.ui.terminal
-
A component that holds the state of the debug terminal.
- Terminal() - Constructor for class com.csse3200.game.ui.terminal.Terminal
- TerminalDisplay - Class in com.csse3200.game.ui.terminal
-
A UI component for displaying the global debug terminal.
- TerminalDisplay() - Constructor for class com.csse3200.game.ui.terminal.TerminalDisplay
- TerminalService - Class in com.csse3200.game.ui.terminal
-
A Static class that manages the game's global debug terminal.
- terrain - Variable in class com.csse3200.game.areas.GameArea
- 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.
- 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
- text() - Method in record class com.csse3200.game.ui.cutscene.CutsceneReaderComponent.TextBox
-
Returns the value of the
text
record component. - TextBox(String, String) - Constructor for record class com.csse3200.game.ui.cutscene.CutsceneReaderComponent.TextBox
-
Creates an instance of a
TextBox
record class. - texture(String) - Method in class com.csse3200.game.entities.factories.BoxFactory.AutonomousBoxBuilder
-
Sets a custom texture for the box.
- 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
- tick(float) - Method in class com.csse3200.game.components.StaminaComponent
- TiledFloorComponent - Class in com.csse3200.game.rendering
-
A render component for dynamically tiling a floor texture with corners, edges, and middle tiles.
- TiledFloorComponent(TextureRegion, TextureRegion, TextureRegion, TextureRegion, TextureRegion, TextureRegion, TextureRegion, TextureRegion, TextureRegion) - Constructor for class com.csse3200.game.rendering.TiledFloorComponent
-
Creates a new TiledFloorComponent.
- TiledGroundFloorComponent - Class in com.csse3200.game.rendering
-
A render component for ground floors that extend to the bottom of the screen.
- TiledGroundFloorComponent(TextureRegion, TextureRegion, TextureRegion, TextureRegion, TextureRegion, TextureRegion) - Constructor for class com.csse3200.game.rendering.TiledGroundFloorComponent
- TiledPlatformComponent - Class in com.csse3200.game.rendering
-
A render component for dynamically tiling a platform texture based on the entity's size.
- TiledPlatformComponent(TextureRegion, TextureRegion, TextureRegion) - Constructor for class com.csse3200.game.rendering.TiledPlatformComponent
-
Creates a new TiledPlatformComponent.
- tileToWorldPosition(int, int) - Method in class com.csse3200.game.areas.terrain.TerrainComponent
- tileToWorldPosition(GridPoint2) - Method in class com.csse3200.game.areas.terrain.TerrainComponent
- tintMarker(Color) - Method in class com.csse3200.game.components.minimap.MinimapComponent
-
Tints the marker on the minimap with a new color.
- toggle() - Static method in class com.csse3200.game.ui.terminal.TerminalService
-
Toggle the terminal display on or off
- toggleIsOpen() - Method in class com.csse3200.game.ui.terminal.Terminal
- togglePaused() - Method in class com.csse3200.game.screens.MainGameScreen
- togglePauseMenu(PauseMenuDisplay.Tab) - Method in class com.csse3200.game.screens.MainGameScreen
- tooltip(String, TooltipSystem.TooltipStyle) - Method in class com.csse3200.game.entities.factories.BoxFactory.AutonomousBoxBuilder
-
Sets a tooltip for the box
- TOOLTIP - Static variable in class com.csse3200.game.physics.PhysicsLayer
- TooltipComponent(String) - Constructor for class com.csse3200.game.components.tooltip.TooltipSystem.TooltipComponent
-
Creates a tooltip with default style and auto-sized trigger area
- TooltipComponent(String, TooltipSystem.TooltipStyle) - Constructor for class com.csse3200.game.components.tooltip.TooltipSystem.TooltipComponent
-
Creates a tooltip with custom style and auto-sized trigger area
- TooltipComponent(String, TooltipSystem.TooltipStyle, float, float) - Constructor for class com.csse3200.game.components.tooltip.TooltipSystem.TooltipComponent
-
Creates a tooltip with custom style and trigger area size
- TooltipDisplay() - Constructor for class com.csse3200.game.components.tooltip.TooltipSystem.TooltipDisplay
- TooltipManager() - Constructor for class com.csse3200.game.components.tooltip.TooltipSystem.TooltipManager
- TooltipSystem - Class in com.csse3200.game.components.tooltip
-
Complete tooltip system for displaying contextual information when players approach entities.
- TooltipSystem() - Constructor for class com.csse3200.game.components.tooltip.TooltipSystem
- TooltipSystem.TooltipComponent - Class in com.csse3200.game.components.tooltip
-
Component that handles tooltip detection and triggering.
- TooltipSystem.TooltipDisplay - Class in com.csse3200.game.components.tooltip
-
UI component for rendering tooltips in the bottom-left corner of the screen.
- TooltipSystem.TooltipManager - Class in com.csse3200.game.components.tooltip
-
Global manager for coordinating between TooltipComponent and TooltipDisplay.
- TooltipSystem.TooltipStyle - Enum Class in com.csse3200.game.components.tooltip
-
Visual styles for tooltips using existing UI skin colors
- TooltipSystem.TriggerZoneComponent - Class in com.csse3200.game.components.tooltip
-
Component for invisible trigger zone entities that handle tooltip detection
- TOP - Enum constant in enum class com.csse3200.game.physics.components.PhysicsComponent.AlignY
- TOP_LEFT - Enum constant in enum class com.csse3200.game.components.minimap.MinimapDisplay.MinimapPosition
- TOP_RIGHT - Enum constant in enum class com.csse3200.game.components.minimap.MinimapDisplay.MinimapPosition
- toString() - Method in class com.csse3200.game.components.Component
- toString() - Method in class com.csse3200.game.entities.Entity
- toString() - Method in record class com.csse3200.game.ui.cutscene.CutsceneReaderComponent.TextBox
-
Returns a string representation of this record class.
- toString() - Method in record class com.csse3200.game.ui.PixelPerfectPlacer.Rect
-
Returns a string representation of this record class.
- toString() - Method in class com.csse3200.game.ui.terminal.Shell
-
Provides a string representation of the Shell instance, including its environment.
- 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
-
When this entity touches a valid enemy's hitbox, deal damage to them and apply a knockback.
- TouchAttackComponent(short) - Constructor for class com.csse3200.game.components.TouchAttackComponent
-
Create a component which attacks entities on collision, without knockback.
- TouchAttackComponent(short, float) - Constructor for class com.csse3200.game.components.TouchAttackComponent
-
Create a component which attacks entities on collision, with knockback.
- touchCancelled(int, int, int, int) - Method in class com.csse3200.game.input.InputComponent
- touchCancelled(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(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.player.TouchPlayerInputComponent
-
Triggers the player attack.
- 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.InputService
-
Iterates over registered input handlers in descending priority and stops as soon as the input is processed
- touchDragged(int, int, int) - Method in class com.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
- 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
- trackEntity(Entity, Image) - Method in class com.csse3200.game.services.MinimapService
-
Adds an entity to be tracked on the minimap.
- TrapComponent - Class in com.csse3200.game.components.obstacles
- TrapComponent(int, int, Vector2, int) - Constructor for class com.csse3200.game.components.obstacles.TrapComponent
- TrapComponent(Vector2, int) - Constructor for class com.csse3200.game.components.obstacles.TrapComponent
- TrapFactory - Class in com.csse3200.game.entities.factories
-
Factory to create trap entities (objects that damage the player (and possibly enemies)).
- TrapFactory() - Constructor for class com.csse3200.game.entities.factories.TrapFactory
- trigger(String) - Method in class com.csse3200.game.events.EventHandler
-
Trigger an event with no arguments
- trigger(String, Entity) - Method in class com.csse3200.game.areas.GameArea
- 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
- triggerEarlyUpdate() - Method in class com.csse3200.game.components.Component
-
Used to trigger the component to early-update itself.
- triggerUpdate() - Method in class com.csse3200.game.components.Component
-
Used to trigger the component to update itself.
- TriggerZoneComponent(String, TooltipSystem.TooltipStyle) - Constructor for class com.csse3200.game.components.tooltip.TooltipSystem.TriggerZoneComponent
- tryCatch(EvaluableFunction, EvaluableFunction) - Method in class com.csse3200.game.ui.terminal.Shell
-
Implements a try-catch construct for error handling.
- tryConsumeForAttack() - Method in class com.csse3200.game.components.StaminaComponent
- tryUnlock(Entity) - Method in class com.csse3200.game.components.obstacles.DoorComponent
-
Attempts to unlock the door using the player's inventory.
- ttl - Variable in class com.csse3200.game.entities.configs.CollectablesConfig
- type - Variable in class com.csse3200.game.entities.configs.EffectConfig
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
- unloadAssets(String[]) - Method in class com.csse3200.game.services.ResourceService
- 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.
- UP - Static variable in class com.csse3200.game.lighting.LightingDefaults
- UP - 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.AutonomousBoxComponent
-
Updates the box's position every frame based on its movement bounds and speed.
- update() - Method in class com.csse3200.game.components.ButtonComponent
-
Updates the button.
- update() - Method in class com.csse3200.game.components.ButtonManagerComponent
-
Updates the puzzle timer and checks button state If all buttons pressed before timer expires, puzzle completed and event triggered If time runs out before buttons all marked as pressed, all buttons are reset by forceUnpress()
- update() - Method in class com.csse3200.game.components.CameraComponent
- 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.DisposalComponent
- update() - Method in class com.csse3200.game.components.enemy.ActivationComponent
-
Retries linking if unsuccessful during create().
- update() - Method in class com.csse3200.game.components.FPSDisplay
-
Resets the text inside the FPS label to be current FPS.
- update() - Method in class com.csse3200.game.components.lighting.ConeDetectorComponent
- update() - Method in class com.csse3200.game.components.lighting.ConeLightComponent
- update() - Method in class com.csse3200.game.components.lighting.ConeLightPanningTaskComponent
- update() - Method in class com.csse3200.game.components.minimap.MinimapDisplay
- update() - Method in class com.csse3200.game.components.MoveableBoxComponent
-
Updates the box every frame.
- update() - Method in class com.csse3200.game.components.npc.ExplosionAnimationController
- update() - Method in class com.csse3200.game.components.platforms.ButtonTriggeredPlatformComponent
- update() - Method in class com.csse3200.game.components.platforms.MovingPlatformComponent
- update() - Method in class com.csse3200.game.components.platforms.VolatilePlatformComponent
- update() - Method in class com.csse3200.game.components.player.PlayerActions
- update() - Method in class com.csse3200.game.components.projectiles.BombComponent
-
Update the bomb each frame.
- update() - Method in class com.csse3200.game.components.settingsmenu.SettingsMenuDisplay
- update() - Method in class com.csse3200.game.components.StaminaComponent
- update() - Method in class com.csse3200.game.components.tasks.BombChaseTask
-
Update the chase target each frame based on current position and hover rules.
- update() - Method in class com.csse3200.game.components.tasks.BombDropTask
-
Advance attack sequence when attack
- update() - Method in class com.csse3200.game.components.tasks.ChaseTask
-
Update the chase behaviour each frame.
- update() - Method in class com.csse3200.game.components.tasks.CooldownTask
-
Advance wait task.
- update() - Method in class com.csse3200.game.components.tasks.MovementTask
- update() - Method in class com.csse3200.game.components.tasks.PatrolTask
-
Advance the patrol state.
- 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.tooltip.TooltipSystem.TooltipComponent
- 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.physics.components.PhysicsMovementComponent
- update() - Method in class com.csse3200.game.physics.PhysicsEngine
- update(float) - Method in class com.csse3200.game.components.StaminaComponent
- updateKeyBindButton(String, int) - Method in class com.csse3200.game.ui.inventoryscreen.SettingsTab
-
Updates the display text of a key bind button after rebinding
- updatePlayerHealthUI(int) - Method in class com.csse3200.game.components.player.PlayerStatsDisplay
-
Updates the player's health on the ui.
- upgradeId - Variable in class com.csse3200.game.components.collectables.UpgradesComponent
- UPGRADES - Enum constant in enum class com.csse3200.game.components.pausemenu.PauseMenuDisplay.Tab
- UpgradesComponent - Class in com.csse3200.game.components.collectables
- UpgradesComponent(String) - Constructor for class com.csse3200.game.components.collectables.UpgradesComponent
- UpgradesTab - Class in com.csse3200.game.ui.inventoryscreen
- UpgradesTab(Entity, MainGameScreen) - Constructor for class com.csse3200.game.ui.inventoryscreen.UpgradesTab
-
Creates an Upgrades tab bound to the given main game screen.
- useItem(String) - Method in class com.csse3200.game.components.player.InventoryComponent
-
Uses one instance of
itemId
. - useItems(String, int) - Method in class com.csse3200.game.components.player.InventoryComponent
-
Consumes a specified number of items from the inventory.
- 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.KeyBindSettings - Class in com.csse3200.game.files
-
Stores custom keybind settings.
- UserSettings.Settings - Class in com.csse3200.game.files
-
Stores game settings, can be serialised/deserialised.
V
- value - Variable in class com.csse3200.game.entities.configs.EffectConfig
- 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.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.minimap.MinimapDisplay.MinimapPosition
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.csse3200.game.components.pausemenu.PauseMenuDisplay.Tab
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.csse3200.game.components.tooltip.TooltipSystem.TooltipStyle
-
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.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.minimap.MinimapDisplay.MinimapPosition
-
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.pausemenu.PauseMenuDisplay.Tab
-
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.tooltip.TooltipSystem.TooltipStyle
-
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.
- VolatilePlatformAnimationController - Class in com.csse3200.game.components.npc
- VolatilePlatformAnimationController() - Constructor for class com.csse3200.game.components.npc.VolatilePlatformAnimationController
- VolatilePlatformComponent - Class in com.csse3200.game.components.platforms
-
A platform that disappears a few seconds after a player stands on it, then respawns after a delay.
- VolatilePlatformComponent(float, float) - Constructor for class com.csse3200.game.components.platforms.VolatilePlatformComponent
- 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
- WallComponent - Class in com.csse3200.game.components
- WallComponent() - Constructor for class com.csse3200.game.components.WallComponent
- WallFactory - Class in com.csse3200.game.entities.factories
-
Factory for creating static vertical wall entities.
- WallFactory() - Constructor for class com.csse3200.game.entities.factories.WallFactory
- WanderTask - Class in com.csse3200.game.components.tasks
-
Wander around by moving a random position within a range of the starting position.
- WanderTask(Vector2, float) - Constructor for class com.csse3200.game.components.tasks.WanderTask
- WARNING - Enum constant in enum class com.csse3200.game.components.tooltip.TooltipSystem.TooltipStyle
- whileLoop(EvaluableFunction, EvaluableFunction) - Method in class com.csse3200.game.ui.terminal.Shell
-
Implements a while loop construct.
- width - Variable in class com.csse3200.game.files.UserSettings.DisplaySettings
- width() - Method in record class com.csse3200.game.ui.PixelPerfectPlacer.Rect
-
Returns the value of the
width
record component. - 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.
X
- x() - Method in record class com.csse3200.game.ui.PixelPerfectPlacer.Rect
-
Returns the value of the
x
record component.
Y
- y() - Method in record class com.csse3200.game.ui.PixelPerfectPlacer.Rect
-
Returns the value of the
y
record component.
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