Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- ABSOLUTE - Enum constant in enum class com.deco2800.game.files.FileLoader.Location
- action(ArrayList<String>) - Method in interface com.deco2800.game.ui.terminal.commands.Command
-
Action a command.
- action(ArrayList<String>) - Method in class com.deco2800.game.ui.terminal.commands.DebugCommand
-
Toggles debug mode on or off if the corresponding argument is received.
- ACTIVE - Enum constant in enum class com.deco2800.game.ai.tasks.Task.Status
- addAnimation(String, float) - Method in class com.deco2800.game.rendering.AnimationRenderComponent
-
Register an animation from the texture atlas.
- addAnimation(String, float, Animation.PlayMode) - Method in class com.deco2800.game.rendering.AnimationRenderComponent
-
Register an animation from the texture atlas.
- addCommand(String, Command) - Method in class com.deco2800.game.ui.terminal.Terminal
-
Adds a command to the list of valid terminal commands.
- addComponent(Component) - Method in class com.deco2800.game.entities.Entity
-
Add a component to the entity.
- addGold(int) - Method in class com.deco2800.game.components.player.InventoryComponent
-
Adds to the player's gold.
- addHealth(int) - Method in class com.deco2800.game.components.CombatStatsComponent
-
Adds to the player's health.
- addListener(String, EventListener0) - Method in class com.deco2800.game.events.EventHandler
-
Add a listener to an event with zero arguments
- addListener(String, EventListener1<T>) - Method in class com.deco2800.game.events.EventHandler
-
Add a listener to an event with one argument
- addListener(String, EventListener2<T0, T1>) - Method in class com.deco2800.game.events.EventHandler
-
Add a listener to an event with two arguments
- addListener(String, EventListener3<T0, T1, T2>) - Method in class com.deco2800.game.events.EventHandler
-
Add a listener to an event with three arguments
- addTask(PriorityTask) - Method in class com.deco2800.game.ai.tasks.AITaskComponent
-
Add a priority task to the list of tasks.
- AITaskComponent - Class in com.deco2800.game.ai.tasks
-
Task-based AI component.
- AITaskComponent() - Constructor for class com.deco2800.game.ai.tasks.AITaskComponent
- ALL - Static variable in class com.deco2800.game.physics.PhysicsLayer
- AllHitCallback - Class in com.deco2800.game.physics.raycast
-
Cast a ray against all colliders that match the layer mask.
- AllHitCallback() - Constructor for class com.deco2800.game.physics.raycast.AllHitCallback
- angleFromTo(Vector2, Vector2) - Static method in class com.deco2800.game.utils.math.Vector2Utils
-
Calculate the angle in degrees between two vectors
- angleTo(Vector2) - Static method in class com.deco2800.game.utils.math.Vector2Utils
-
Calculate the angle in degrees of a vector.
- AnimationRenderComponent - Class in com.deco2800.game.rendering
-
Renders animations from a texture atlas on an entity.
- AnimationRenderComponent(TextureAtlas) - Constructor for class com.deco2800.game.rendering.AnimationRenderComponent
-
Create the component for a given texture atlas.
- appendToMessage(char) - Method in class com.deco2800.game.ui.terminal.Terminal
-
Appends the character to the end of the entered message.
- applySettings(UserSettings.Settings) - Static method in class com.deco2800.game.files.UserSettings
-
Apply the given settings without storing them.
- areaEntities - Variable in class com.deco2800.game.areas.GameArea
B
- baseAttack - Variable in class com.deco2800.game.entities.configs.BaseEntityConfig
- BaseEntityConfig - Class in com.deco2800.game.entities.configs
-
Defines a basic set of properties stored in entities config files to be loaded by Entity Factories.
- BaseEntityConfig() - Constructor for class com.deco2800.game.entities.configs.BaseEntityConfig
- beginContact(Contact) - Method in class com.deco2800.game.physics.PhysicsContactListener
- BodyUserData - Class in com.deco2800.game.physics
-
POJO which contains the custom data attached to each box2D entity.
- BodyUserData() - Constructor for class com.deco2800.game.physics.BodyUserData
- BOTTOM - Enum constant in enum class com.deco2800.game.physics.components.PhysicsComponent.AlignY
C
- CameraComponent - Class in com.deco2800.game.components
- CameraComponent() - Constructor for class com.deco2800.game.components.CameraComponent
- CameraComponent(Camera) - Constructor for class com.deco2800.game.components.CameraComponent
- CENTER - Enum constant in enum class com.deco2800.game.physics.components.PhysicsComponent.AlignX
- CENTER - Enum constant in enum class com.deco2800.game.physics.components.PhysicsComponent.AlignY
- ChaseTask - Class in com.deco2800.game.components.tasks
-
Chases a target entity until they get too far away or line of sight is lost
- ChaseTask(Entity, int, float, float) - Constructor for class com.deco2800.game.components.tasks.ChaseTask
- CLASSPATH - Enum constant in enum class com.deco2800.game.files.FileLoader.Location
- clear() - Static method in class com.deco2800.game.services.ServiceLocator
- clear() - Method in class com.deco2800.game.utils.SortedIntMap
-
Clear the map
- clearAllAssets() - Method in class com.deco2800.game.services.ResourceService
-
Clears all loaded assets and assets in the preloading queue.
- ColliderComponent - Class in com.deco2800.game.physics.components
-
Attaches a physics collider to an entity.
- ColliderComponent() - Constructor for class com.deco2800.game.physics.components.ColliderComponent
- com.deco2800.game - package com.deco2800.game
- com.deco2800.game.ai.movement - package com.deco2800.game.ai.movement
- com.deco2800.game.ai.tasks - package com.deco2800.game.ai.tasks
- com.deco2800.game.areas - package com.deco2800.game.areas
- com.deco2800.game.areas.terrain - package com.deco2800.game.areas.terrain
- com.deco2800.game.components - package com.deco2800.game.components
- com.deco2800.game.components.gamearea - package com.deco2800.game.components.gamearea
- com.deco2800.game.components.maingame - package com.deco2800.game.components.maingame
- com.deco2800.game.components.mainmenu - package com.deco2800.game.components.mainmenu
- com.deco2800.game.components.npc - package com.deco2800.game.components.npc
- com.deco2800.game.components.player - package com.deco2800.game.components.player
- com.deco2800.game.components.settingsmenu - package com.deco2800.game.components.settingsmenu
- com.deco2800.game.components.tasks - package com.deco2800.game.components.tasks
- com.deco2800.game.concurrency - package com.deco2800.game.concurrency
- com.deco2800.game.entities - package com.deco2800.game.entities
- com.deco2800.game.entities.configs - package com.deco2800.game.entities.configs
- com.deco2800.game.entities.factories - package com.deco2800.game.entities.factories
- com.deco2800.game.events - package com.deco2800.game.events
- com.deco2800.game.events.listeners - package com.deco2800.game.events.listeners
- com.deco2800.game.files - package com.deco2800.game.files
- com.deco2800.game.input - package com.deco2800.game.input
- com.deco2800.game.physics - package com.deco2800.game.physics
- com.deco2800.game.physics.components - package com.deco2800.game.physics.components
- com.deco2800.game.physics.raycast - package com.deco2800.game.physics.raycast
- com.deco2800.game.rendering - package com.deco2800.game.rendering
- com.deco2800.game.screens - package com.deco2800.game.screens
- com.deco2800.game.services - package com.deco2800.game.services
- com.deco2800.game.ui - package com.deco2800.game.ui
- com.deco2800.game.ui.terminal - package com.deco2800.game.ui.terminal
- com.deco2800.game.ui.terminal.commands - package com.deco2800.game.ui.terminal.commands
- com.deco2800.game.utils - package com.deco2800.game.utils
- com.deco2800.game.utils.math - package com.deco2800.game.utils.math
- CombatStatsComponent - Class in com.deco2800.game.components
-
Component used to store information related to combat such as health, attack, etc.
- CombatStatsComponent(int, int) - Constructor for class com.deco2800.game.components.CombatStatsComponent
- Command - Interface in com.deco2800.game.ui.terminal.commands
-
A generic command class.
- compareTo(Renderable) - Method in class com.deco2800.game.rendering.RenderComponent
- Component - Class in com.deco2800.game.components
-
Core component class from which all components inherit.
- Component() - Constructor for class com.deco2800.game.components.Component
- ComponentType - Class in com.deco2800.game.components
-
Internal type system for components.
- contains(short, short) - Static method in class com.deco2800.game.physics.PhysicsLayer
- contains(V) - Method in class com.deco2800.game.utils.SortedIntMap
- containsAsset(String, Class<T>) - Method in class com.deco2800.game.services.ResourceService
-
Check if an asset has been loaded already
- containsKey(int) - Method in class com.deco2800.game.utils.SortedIntMap
- create() - Method in class com.deco2800.game.areas.ForestGameArea
-
Create the game area, including terrain, static entities (trees), dynamic entities (player)
- create() - Method in class com.deco2800.game.areas.GameArea
-
Create the game area in the world.
- create() - Method in class com.deco2800.game.components.Component
-
Called when the entity is created and registered.
- create() - Method in class com.deco2800.game.components.gamearea.GameAreaDisplay
- create() - Method in class com.deco2800.game.components.gamearea.PerformanceDisplay
- create() - Method in class com.deco2800.game.components.maingame.MainGameActions
- create() - Method in class com.deco2800.game.components.maingame.MainGameExitDisplay
- create() - Method in class com.deco2800.game.components.mainmenu.MainMenuActions
- create() - Method in class com.deco2800.game.components.mainmenu.MainMenuDisplay
- create() - Method in class com.deco2800.game.components.npc.GhostAnimationController
- create() - Method in class com.deco2800.game.components.player.PlayerActions
- create() - Method in class com.deco2800.game.components.player.PlayerStatsDisplay
-
Creates reusable ui styles and adds actors to the stage.
- create() - Method in class com.deco2800.game.components.settingsmenu.SettingsMenuDisplay
- create() - Method in class com.deco2800.game.components.TouchAttackComponent
- create() - Method in class com.deco2800.game.entities.Entity
-
Create the entity and start running.
- create() - Method in class com.deco2800.game.GdxGame
- create() - Method in class com.deco2800.game.input.InputComponent
- create() - Method in class com.deco2800.game.physics.components.ColliderComponent
- create() - Method in class com.deco2800.game.physics.components.HitboxComponent
- create() - Method in class com.deco2800.game.physics.components.PhysicsComponent
- create() - Method in class com.deco2800.game.physics.components.PhysicsMovementComponent
- create() - Method in class com.deco2800.game.rendering.RenderComponent
- create() - Method in class com.deco2800.game.ui.terminal.KeyboardTerminalInputComponent
- create() - Method in class com.deco2800.game.ui.terminal.TerminalDisplay
- create() - Method in class com.deco2800.game.ui.terminal.TouchTerminalInputComponent
- create() - Method in class com.deco2800.game.ui.UIComponent
- create(TaskRunner) - Method in class com.deco2800.game.ai.tasks.DefaultTask
- create(TaskRunner) - Method in interface com.deco2800.game.ai.tasks.Task
-
Create the task and attach it to the task runner.
- createBody(BodyDef) - Method in class com.deco2800.game.physics.PhysicsEngine
- createCamera() - Static method in class com.deco2800.game.entities.factories.RenderFactory
- createForPlayer() - Method in class com.deco2800.game.input.InputFactory
-
Creates an input handler for the player
- createForPlayer() - Method in class com.deco2800.game.input.KeyboardInputFactory
-
Creates an input handler for the player.
- createForPlayer() - Method in class com.deco2800.game.input.TouchInputFactory
-
Creates an input handler for the player
- createForTerminal() - Method in class com.deco2800.game.input.InputFactory
-
Creates an input handler for the terminal
- createForTerminal() - Method in class com.deco2800.game.input.KeyboardInputFactory
-
Creates an input handler for the terminal.
- createForTerminal() - Method in class com.deco2800.game.input.TouchInputFactory
-
Creates an input handler for the terminal
- createFromInputType(InputFactory.InputType) - Static method in class com.deco2800.game.input.InputFactory
- createGhost(Entity) - Static method in class com.deco2800.game.entities.factories.NPCFactory
-
Creates a ghost entity.
- createGhostKing(Entity) - Static method in class com.deco2800.game.entities.factories.NPCFactory
-
Creates a ghost king entity.
- createJoint(JointDef) - Method in class com.deco2800.game.physics.PhysicsEngine
- createPlayer() - Static method in class com.deco2800.game.entities.factories.PlayerFactory
-
Create a player entity.
- createRenderer() - Static method in class com.deco2800.game.entities.factories.RenderFactory
- createTerrain(TerrainFactory.TerrainType) - Method in class com.deco2800.game.areas.terrain.TerrainFactory
-
Create a terrain of the given type, using the orientation of the factory.
- createTree() - Static method in class com.deco2800.game.entities.factories.ObstacleFactory
-
Creates a tree entity.
- createWall(float, float) - Static method in class com.deco2800.game.entities.factories.ObstacleFactory
-
Creates an invisible physics wall.
D
- DebugCommand - Class in com.deco2800.game.ui.terminal.commands
-
A command for toggling debug mode on and off.
- DebugCommand() - Constructor for class com.deco2800.game.ui.terminal.commands.DebugCommand
- DebugRenderer - Class in com.deco2800.game.rendering
-
Provides functionality to draw lines/shapes to the screen for debug purposes.
- DebugRenderer() - Constructor for class com.deco2800.game.rendering.DebugRenderer
- DebugRenderer(Box2DDebugRenderer, ShapeRenderer) - Constructor for class com.deco2800.game.rendering.DebugRenderer
- DEFAULT - Static variable in class com.deco2800.game.physics.PhysicsLayer
- DefaultTask - Class in com.deco2800.game.ai.tasks
-
A default task implementation that stores the associated entity and updates status when starting/stopping a task.
- DefaultTask() - Constructor for class com.deco2800.game.ai.tasks.DefaultTask
- destroyBody(Body) - Method in class com.deco2800.game.physics.PhysicsEngine
- destroyJoint(Joint) - Method in class com.deco2800.game.physics.PhysicsEngine
- didHit - Variable in class com.deco2800.game.physics.raycast.SingleHitCallback
- displayMode - Variable in class com.deco2800.game.files.UserSettings.Settings
- DisplaySettings() - Constructor for class com.deco2800.game.files.UserSettings.DisplaySettings
- DisplaySettings(Graphics.DisplayMode) - Constructor for class com.deco2800.game.files.UserSettings.DisplaySettings
- dispose() - Method in class com.deco2800.game.ai.tasks.AITaskComponent
- dispose() - Method in class com.deco2800.game.areas.ForestGameArea
- dispose() - Method in class com.deco2800.game.areas.GameArea
-
Dispose of all internal entities in the area
- dispose() - Method in class com.deco2800.game.areas.terrain.TerrainComponent
- dispose() - Method in class com.deco2800.game.components.Component
-
Called when the component is disposed.
- dispose() - Method in class com.deco2800.game.components.gamearea.GameAreaDisplay
- dispose() - Method in class com.deco2800.game.components.gamearea.PerformanceDisplay
- dispose() - Method in class com.deco2800.game.components.maingame.MainGameExitDisplay
- dispose() - Method in class com.deco2800.game.components.mainmenu.MainMenuDisplay
- dispose() - Method in class com.deco2800.game.components.player.PlayerStatsDisplay
- dispose() - Method in class com.deco2800.game.components.settingsmenu.SettingsMenuDisplay
- dispose() - Method in class com.deco2800.game.entities.Entity
-
Dispose of the entity.
- dispose() - Method in class com.deco2800.game.entities.EntityService
-
Dispose all entities.
- dispose() - Method in class com.deco2800.game.GdxGame
- dispose() - Method in class com.deco2800.game.input.InputComponent
- dispose() - Method in class com.deco2800.game.physics.components.ColliderComponent
- dispose() - Method in class com.deco2800.game.physics.components.PhysicsComponent
- dispose() - Method in class com.deco2800.game.physics.PhysicsEngine
- dispose() - Method in class com.deco2800.game.rendering.AnimationRenderComponent
- dispose() - Method in class com.deco2800.game.rendering.RenderComponent
- dispose() - Method in class com.deco2800.game.rendering.Renderer
- dispose() - Method in class com.deco2800.game.rendering.RenderService
- dispose() - Method in class com.deco2800.game.screens.MainGameScreen
- dispose() - Method in class com.deco2800.game.screens.MainMenuScreen
- dispose() - Method in class com.deco2800.game.screens.SettingsScreen
- dispose() - Method in class com.deco2800.game.services.ResourceService
- dispose() - Method in class com.deco2800.game.ui.terminal.TerminalDisplay
- DOWN - Static variable in class com.deco2800.game.utils.math.Vector2Utils
- draw(SpriteBatch) - Method in class com.deco2800.game.areas.terrain.TerrainComponent
- draw(SpriteBatch) - Method in class com.deco2800.game.components.gamearea.GameAreaDisplay
- draw(SpriteBatch) - Method in class com.deco2800.game.components.gamearea.PerformanceDisplay
- draw(SpriteBatch) - Method in class com.deco2800.game.components.maingame.MainGameExitDisplay
- draw(SpriteBatch) - Method in class com.deco2800.game.components.mainmenu.MainMenuDisplay
- draw(SpriteBatch) - Method in class com.deco2800.game.components.player.PlayerStatsDisplay
- draw(SpriteBatch) - Method in class com.deco2800.game.components.settingsmenu.SettingsMenuDisplay
- draw(SpriteBatch) - Method in class com.deco2800.game.rendering.AnimationRenderComponent
- draw(SpriteBatch) - Method in class com.deco2800.game.rendering.RenderComponent
-
Draw the renderable.
- draw(SpriteBatch) - Method in class com.deco2800.game.rendering.TextureRenderComponent
- draw(SpriteBatch) - Method in class com.deco2800.game.ui.terminal.TerminalDisplay
- drawLine(Vector2, Vector2) - Method in class com.deco2800.game.rendering.DebugRenderer
-
Draw a line between two positions
- drawLine(Vector2, Vector2, Color, float) - Method in class com.deco2800.game.rendering.DebugRenderer
-
Draw a line between two positions
- drawRectangle(Vector2, Vector2) - Method in class com.deco2800.game.rendering.DebugRenderer
-
Draw a rectangle
- drawRectangle(Vector2, Vector2, Color, float) - Method in class com.deco2800.game.rendering.DebugRenderer
-
Draw a rectangle
E
- earlyUpdate() - Method in class com.deco2800.game.components.Component
-
Early update called once per frame of the game, before update().
- earlyUpdate() - Method in class com.deco2800.game.entities.Entity
-
Perform an early update on all components.
- earlyUpdate() - Method in class com.deco2800.game.physics.components.PhysicsComponent
-
Entity position needs to be updated to match the new physics position.
- enabled - Variable in class com.deco2800.game.components.Component
- endContact(Contact) - Method in class com.deco2800.game.physics.PhysicsContactListener
- entity - Variable in class com.deco2800.game.components.Component
- entity - Variable in class com.deco2800.game.physics.BodyUserData
-
The entity to which this body is attached
- Entity - Class in com.deco2800.game.entities
-
Core entity class.
- Entity() - Constructor for class com.deco2800.game.entities.Entity
- EntityService - Class in com.deco2800.game.entities
-
Provides a global access point for entities to register themselves.
- EntityService() - Constructor for class com.deco2800.game.entities.EntityService
- equals(Object) - Method in class com.deco2800.game.entities.Entity
- EventHandler - Class in com.deco2800.game.events
-
Send and receive events between objects.
- EventHandler() - Constructor for class com.deco2800.game.events.EventHandler
- EventListener - Interface in com.deco2800.game.events.listeners
-
An event listener which is notified when events occur.
- EventListener0 - Interface in com.deco2800.game.events.listeners
-
An event listener with 0 arguments
- EventListener1<T> - Interface in com.deco2800.game.events.listeners
-
An event listener with 1 argument
- EventListener2<T0,
T1> - Interface in com.deco2800.game.events.listeners -
An event listener with 2 arguments
- EventListener3<T0,
T1, T2> - Interface in com.deco2800.game.events.listeners -
An event listener with 3 arguments
- exit() - Method in class com.deco2800.game.GdxGame
-
Exit the game.
- EXTERNAL - Enum constant in enum class com.deco2800.game.files.FileLoader.Location
F
- FAILED - Enum constant in enum class com.deco2800.game.ai.tasks.Task.Status
- favouriteColour - Variable in class com.deco2800.game.entities.configs.PlayerConfig
- FileLoader - Class in com.deco2800.game.files
-
Wrapper for reading Java objects from JSON files.
- FileLoader() - Constructor for class com.deco2800.game.files.FileLoader
- FileLoader.Location - Enum Class in com.deco2800.game.files
- FINISHED - Enum constant in enum class com.deco2800.game.ai.tasks.Task.Status
- fixture - Variable in class com.deco2800.game.physics.raycast.RaycastHit
-
Fixture which was hit.
- fling(float, float, int) - Method in class com.deco2800.game.input.InputComponent
- fling(float, float, int) - Method in class com.deco2800.game.input.InputService
-
Iterates over registered input handlers in descending priority and stops as soon as the input is processed
- forEach(Consumer<? super V>) - Method in class com.deco2800.game.utils.SortedIntMap
- FOREST_DEMO - Enum constant in enum class com.deco2800.game.areas.terrain.TerrainFactory.TerrainType
- FOREST_DEMO_HEX - Enum constant in enum class com.deco2800.game.areas.terrain.TerrainFactory.TerrainType
- FOREST_DEMO_ISO - Enum constant in enum class com.deco2800.game.areas.terrain.TerrainFactory.TerrainType
- ForestGameArea - Class in com.deco2800.game.areas
-
Forest area for the demo game with trees, a player, and some enemies.
- ForestGameArea(TerrainFactory) - Constructor for class com.deco2800.game.areas.ForestGameArea
-
Initialise this ForestGameArea to use the provided TerrainFactory.
- fps - Variable in class com.deco2800.game.files.UserSettings.Settings
-
FPS cap of the game.
- fullscreen - Variable in class com.deco2800.game.files.UserSettings.Settings
G
- GameArea - Class in com.deco2800.game.areas
-
Represents an area in the game, such as a level, indoor area, etc.
- GameArea() - Constructor for class com.deco2800.game.areas.GameArea
- GameAreaDisplay - Class in com.deco2800.game.components.gamearea
-
Displays the name of the current game area.
- GameAreaDisplay(String) - Constructor for class com.deco2800.game.components.gamearea.GameAreaDisplay
- GameTime - Class in com.deco2800.game.services
-
Controls the game time
- GameTime() - Constructor for class com.deco2800.game.services.GameTime
- GdxGame - Class in com.deco2800.game
-
Entry point of the non-platform-specific game logic.
- GdxGame() - Constructor for class com.deco2800.game.GdxGame
- GdxGame.ScreenType - Enum Class in com.deco2800.game
- get() - Static method in class com.deco2800.game.files.UserSettings
-
Get the stored user settings
- get(int) - Method in class com.deco2800.game.utils.SortedIntMap
-
Get value from map
- getActive() - Method in class com.deco2800.game.rendering.DebugRenderer
- getAsset(String, Class<T>) - Method in class com.deco2800.game.services.ResourceService
-
Load an asset from a file.
- getBaseAttack() - Method in class com.deco2800.game.components.CombatStatsComponent
-
Returns the entity's base attack damage.
- getBlendMode() - Method in class com.deco2800.game.areas.terrain.TerrainTile
- getBody() - Method in class com.deco2800.game.physics.components.PhysicsComponent
-
Get the physics body.
- getCamera() - Method in class com.deco2800.game.components.CameraComponent
- getCamera() - Method in class com.deco2800.game.rendering.Renderer
- getCenterPosition() - Method in class com.deco2800.game.entities.Entity
-
Get the entity's center position
- getComponent(Class<T>) - Method in class com.deco2800.game.entities.Entity
-
Get a component of type T on the entity.
- getCurrentAnimation() - Method in class com.deco2800.game.rendering.AnimationRenderComponent
-
Get the name of the animation currently being played.
- getDebug() - Method in class com.deco2800.game.rendering.Renderer
- getDebug() - Method in class com.deco2800.game.rendering.RenderService
- getDeltaTime() - Method in class com.deco2800.game.services.GameTime
- getEnteredMessage() - Method in class com.deco2800.game.ui.terminal.Terminal
- getEntity() - Method in interface com.deco2800.game.ai.tasks.TaskRunner
- getEntity() - Method in class com.deco2800.game.components.Component
-
Get the entity to which this component belongs.
- getEntityService() - Static method in class com.deco2800.game.services.ServiceLocator
- getEvents() - Method in class com.deco2800.game.entities.Entity
-
Get the event handler attached to this entity.
- getFixture() - Method in class com.deco2800.game.physics.components.ColliderComponent
- getFrom(Class<? extends Component>) - Static method in class com.deco2800.game.components.ComponentType
- getGold() - Method in class com.deco2800.game.components.player.InventoryComponent
-
Returns the player's gold.
- getHealth() - Method in class com.deco2800.game.components.CombatStatsComponent
-
Returns the entity's health.
- getHitsAndClear() - Method in class com.deco2800.game.physics.raycast.AllHitCallback
- getId() - Method in class com.deco2800.game.areas.terrain.TerrainTile
- getId() - Method in class com.deco2800.game.components.ComponentType
- getId() - Method in class com.deco2800.game.entities.Entity
-
This entity's unique ID.
- getInputFactory() - Method in class com.deco2800.game.input.InputService
-
Get the input factory to create input handlers
- getInputService() - Static method in class com.deco2800.game.services.ServiceLocator
- getLayer() - Method in class com.deco2800.game.areas.terrain.TerrainComponent
- getLayer() - Method in class com.deco2800.game.physics.components.ColliderComponent
- getLayer() - Method in interface com.deco2800.game.rendering.Renderable
-
Layer to be rendered in.
- getLayer() - Method in class com.deco2800.game.rendering.RenderComponent
- getLayer() - Method in class com.deco2800.game.ui.UIComponent
- getMap() - Method in class com.deco2800.game.areas.terrain.TerrainComponent
- getMapBounds(int) - Method in class com.deco2800.game.areas.terrain.TerrainComponent
- getMoving() - Method in interface com.deco2800.game.ai.movement.MovementController
- getMoving() - Method in class com.deco2800.game.physics.components.PhysicsMovementComponent
- getObjects() - Method in class com.deco2800.game.areas.terrain.TerrainTile
-
Not required for game, unimplemented
- getOffsetX() - Method in class com.deco2800.game.areas.terrain.TerrainTile
- getOffsetY() - Method in class com.deco2800.game.areas.terrain.TerrainTile
- getPhysics() - Method in class com.deco2800.game.physics.PhysicsService
- getPhysicsService() - Static method in class com.deco2800.game.services.ServiceLocator
- getPosition() - Method in class com.deco2800.game.entities.Entity
-
Get the entity's game position.
- getPriority() - Method in interface com.deco2800.game.ai.tasks.PriorityTask
- getPriority() - Method in class com.deco2800.game.components.tasks.ChaseTask
- getPriority() - Method in class com.deco2800.game.components.tasks.WanderTask
- getPriority() - Method in class com.deco2800.game.input.InputComponent
- getProgress() - Method in class com.deco2800.game.services.ResourceService
-
Returns the loading completion progress as a percentage.
- getProjectionMatrix() - Method in class com.deco2800.game.components.CameraComponent
- getProperties() - Method in class com.deco2800.game.areas.terrain.TerrainTile
-
Not required for game, unimplemented
- getRawDeltaTime() - Method in class com.deco2800.game.services.GameTime
- getRenderService() - Static method in class com.deco2800.game.services.ServiceLocator
- getResourceService() - Static method in class com.deco2800.game.services.ServiceLocator
- getScale() - Method in class com.deco2800.game.entities.Entity
-
Get the entity's scale.
- getStage() - Method in class com.deco2800.game.rendering.Renderer
- getStage() - Method in class com.deco2800.game.rendering.RenderService
- getStatus() - Method in class com.deco2800.game.ai.tasks.DefaultTask
- getStatus() - Method in interface com.deco2800.game.ai.tasks.Task
-
Get the current status of the task.
- getTarget() - Method in interface com.deco2800.game.ai.movement.MovementController
- getTarget() - Method in class com.deco2800.game.physics.components.PhysicsMovementComponent
- getTextureRegion() - Method in class com.deco2800.game.areas.terrain.TerrainTile
- getTileSize() - Method in class com.deco2800.game.areas.terrain.TerrainComponent
- getTime() - Method in class com.deco2800.game.services.GameTime
- getTimeSince(long) - Method in class com.deco2800.game.services.GameTime
- getTimeSource() - Static method in class com.deco2800.game.services.ServiceLocator
- getWorld() - Method in class com.deco2800.game.physics.PhysicsEngine
- getZIndex() - Method in class com.deco2800.game.areas.terrain.TerrainComponent
- getZIndex() - Method in class com.deco2800.game.components.gamearea.PerformanceDisplay
- getZIndex() - Method in class com.deco2800.game.components.maingame.MainGameExitDisplay
- getZIndex() - Method in class com.deco2800.game.components.mainmenu.MainMenuDisplay
- getZIndex() - Method in interface com.deco2800.game.rendering.Renderable
-
Z index controls rendering order within a layer.
- getZIndex() - Method in class com.deco2800.game.rendering.RenderComponent
- getZIndex() - Method in class com.deco2800.game.ui.terminal.TerminalDisplay
- getZIndex() - Method in class com.deco2800.game.ui.UIComponent
- ghost - Variable in class com.deco2800.game.entities.configs.NPCConfigs
- GhostAnimationController - Class in com.deco2800.game.components.npc
-
This class listens to events relevant to a ghost entity's state and plays the animation when one of the events is triggered.
- GhostAnimationController() - Constructor for class com.deco2800.game.components.npc.GhostAnimationController
- ghostKing - Variable in class com.deco2800.game.entities.configs.NPCConfigs
- GhostKingConfig - Class in com.deco2800.game.entities.configs
-
Defines the properties stored in ghost king config files to be loaded by the NPC Factory.
- GhostKingConfig() - Constructor for class com.deco2800.game.entities.configs.GhostKingConfig
- gold - Variable in class com.deco2800.game.entities.configs.PlayerConfig
- GridPoint2Utils - Class in com.deco2800.game.utils.math
-
Contains additional utility constants and functions for common GridPoint2 operations.
H
- handle() - Method in interface com.deco2800.game.events.listeners.EventListener0
- handle(T) - Method in interface com.deco2800.game.events.listeners.EventListener1
- handle(T0, T1) - Method in interface com.deco2800.game.events.listeners.EventListener2
- handle(T0, T1, T2) - Method in interface com.deco2800.game.events.listeners.EventListener3
- handleBackspace() - Method in class com.deco2800.game.ui.terminal.Terminal
-
Removes the last character of the entered message.
- hasAnimation(String) - Method in class com.deco2800.game.rendering.AnimationRenderComponent
-
Whether the animator has added the given animation.
- hasGold(int) - Method in class com.deco2800.game.components.player.InventoryComponent
-
Returns if the player has a certain amount of gold.
- hashCode() - Method in class com.deco2800.game.entities.Entity
- health - Variable in class com.deco2800.game.entities.configs.BaseEntityConfig
- height - Variable in class com.deco2800.game.files.UserSettings.DisplaySettings
- HEXAGONAL - Enum constant in enum class com.deco2800.game.areas.terrain.TerrainComponent.TerrainOrientation
- hit - Variable in class com.deco2800.game.physics.raycast.SingleHitCallback
- hit(CombatStatsComponent) - Method in class com.deco2800.game.components.CombatStatsComponent
- HitboxComponent - Class in com.deco2800.game.physics.components
-
Physics comp
- HitboxComponent() - Constructor for class com.deco2800.game.physics.components.HitboxComponent
I
- INACTIVE - Enum constant in enum class com.deco2800.game.ai.tasks.Task.Status
- InputComponent - Class in com.deco2800.game.input
-
An InputComponent that supports keyboard and touch input and touch gestures.
- InputComponent() - Constructor for class com.deco2800.game.input.InputComponent
-
Sets priority to the default value;
- InputComponent(int) - Constructor for class com.deco2800.game.input.InputComponent
-
Sets input handler priority to a given value.
- InputDecorator - Class in com.deco2800.game.input
-
Generic class to wrap an InputProcessor so that it acts like an InputComponent.
- InputDecorator(InputProcessor, int) - Constructor for class com.deco2800.game.input.InputDecorator
- InputFactory - Class in com.deco2800.game.input
-
InputFactory creates inputType-specific inputFactories which can handle various types of input.
- InputFactory() - Constructor for class com.deco2800.game.input.InputFactory
- InputFactory.InputType - Enum Class in com.deco2800.game.input
-
Input device types
- InputService - Class in com.deco2800.game.input
-
Provides a global access point for handling user input and creating input handlers.
- InputService() - Constructor for class com.deco2800.game.input.InputService
- InputService(InputFactory) - Constructor for class com.deco2800.game.input.InputService
- INTERNAL - Enum constant in enum class com.deco2800.game.files.FileLoader.Location
- InventoryComponent - Class in com.deco2800.game.components.player
-
A component intended to be used by the player to track their inventory.
- InventoryComponent(int) - Constructor for class com.deco2800.game.components.player.InventoryComponent
- isDead() - Method in class com.deco2800.game.components.CombatStatsComponent
-
Returns true if the entity's has 0 health, otherwise false.
- isFinished() - Method in class com.deco2800.game.rendering.AnimationRenderComponent
-
Has the playing animation finished? This will always be false for looping animations.
- ISOMETRIC - Enum constant in enum class com.deco2800.game.areas.terrain.TerrainComponent.TerrainOrientation
- isOpen() - Method in class com.deco2800.game.ui.terminal.Terminal
- iterator() - Method in class com.deco2800.game.utils.SortedIntMap
J
- JobSystem - Class in com.deco2800.game.concurrency
-
A job system provides a general-purpose way to run multi-threaded code.
K
- KEYBOARD - Enum constant in enum class com.deco2800.game.input.InputFactory.InputType
- KeyboardInputFactory - Class in com.deco2800.game.input
-
KeyboardInputFactory creates input handlers that process keyboard and touch support.
- KeyboardInputFactory() - Constructor for class com.deco2800.game.input.KeyboardInputFactory
- KeyboardPlayerInputComponent - Class in com.deco2800.game.components.player
-
Input handler for the player for keyboard and touch (mouse) input.
- KeyboardPlayerInputComponent() - Constructor for class com.deco2800.game.components.player.KeyboardPlayerInputComponent
- KeyboardTerminalInputComponent - Class in com.deco2800.game.ui.terminal
-
Input handler for the debug terminal for keyboard and touch (mouse) input.
- KeyboardTerminalInputComponent() - Constructor for class com.deco2800.game.ui.terminal.KeyboardTerminalInputComponent
- KeyboardTerminalInputComponent(Terminal) - Constructor for class com.deco2800.game.ui.terminal.KeyboardTerminalInputComponent
- keyDown(int) - Method in class com.deco2800.game.components.player.KeyboardPlayerInputComponent
-
Triggers player events on specific keycodes.
- keyDown(int) - Method in class com.deco2800.game.components.player.TouchPlayerInputComponent
-
Triggers player events on specific keycodes.
- keyDown(int) - Method in class com.deco2800.game.input.InputComponent
- keyDown(int) - Method in class com.deco2800.game.input.InputDecorator
- keyDown(int) - Method in class com.deco2800.game.input.InputService
-
Iterates over registered input handlers in descending priority and stops as soon as the input is processed.
- keyDown(int) - Method in class com.deco2800.game.ui.terminal.KeyboardTerminalInputComponent
-
If the toggle key is pressed, the terminal will open / close.
- keyDown(int) - Method in class com.deco2800.game.ui.terminal.TouchTerminalInputComponent
-
Handles input if the terminal is open.
- keyTyped(char) - Method in class com.deco2800.game.input.InputComponent
- keyTyped(char) - Method in class com.deco2800.game.input.InputDecorator
- keyTyped(char) - Method in class com.deco2800.game.input.InputService
-
Iterates over registered input handlers in descending priority and stops as soon as the input is processed
- keyTyped(char) - Method in class com.deco2800.game.ui.terminal.KeyboardTerminalInputComponent
-
Handles input if the terminal is open.
- keyTyped(char) - Method in class com.deco2800.game.ui.terminal.TouchTerminalInputComponent
-
Handles input if the terminal is open.
- keyUp(int) - Method in class com.deco2800.game.components.player.KeyboardPlayerInputComponent
-
Triggers player events on specific keycodes.
- keyUp(int) - Method in class com.deco2800.game.components.player.TouchPlayerInputComponent
-
Triggers player events on specific keycodes.
- keyUp(int) - Method in class com.deco2800.game.input.InputComponent
- keyUp(int) - Method in class com.deco2800.game.input.InputDecorator
- keyUp(int) - Method in class com.deco2800.game.input.InputService
-
Iterates over registered input handlers in descending priority and stops as soon as the input is processed
- keyUp(int) - Method in class com.deco2800.game.ui.terminal.KeyboardTerminalInputComponent
-
Handles input if the terminal is open.
- keyUp(int) - Method in class com.deco2800.game.ui.terminal.TouchTerminalInputComponent
-
Handles input if the terminal is open.
L
- launch(Supplier<T>) - Static method in class com.deco2800.game.concurrency.JobSystem
-
Launch an asynchronous job which may be run on a separate thread.
- launchBlocking(Supplier<T>) - Static method in class com.deco2800.game.concurrency.JobSystem
-
Launch an asynchronous job which may be run on a separate thread.
- layerMask - Variable in class com.deco2800.game.physics.raycast.AllHitCallback
- layerMask - Variable in class com.deco2800.game.physics.raycast.SingleHitCallback
- LEFT - Enum constant in enum class com.deco2800.game.physics.components.PhysicsComponent.AlignX
- LEFT - Static variable in class com.deco2800.game.utils.math.Vector2Utils
- loadAll() - Method in class com.deco2800.game.services.ResourceService
-
Blocking call to load all assets.
- loadForMillis(int) - Method in class com.deco2800.game.services.ResourceService
-
Loads assets for the specified duration in milliseconds.
- loadMusic(String[]) - Method in class com.deco2800.game.services.ResourceService
-
Loads a list of music assets into the asset manager.
- loadSounds(String[]) - Method in class com.deco2800.game.services.ResourceService
-
Loads a list of sounds into the asset manager.
- loadTextureAtlases(String[]) - Method in class com.deco2800.game.services.ResourceService
-
Loads a list of texture atlas assets into the asset manager.
- loadTextures(String[]) - Method in class com.deco2800.game.services.ResourceService
-
Loads a list of texture assets into the asset manager.
- LOCAL - Enum constant in enum class com.deco2800.game.files.FileLoader.Location
- longPress(float, float) - Method in class com.deco2800.game.input.InputComponent
- longPress(float, float) - Method in class com.deco2800.game.input.InputService
-
Iterates over registered input handlers in descending priority and stops as soon as the input is processed
M
- MAIN_GAME - Enum constant in enum class com.deco2800.game.GdxGame.ScreenType
- MAIN_MENU - Enum constant in enum class com.deco2800.game.GdxGame.ScreenType
- MainGameActions - Class in com.deco2800.game.components.maingame
-
This class listens to events relevant to the Main Game Screen and does something when one of the events is triggered.
- MainGameActions(GdxGame) - Constructor for class com.deco2800.game.components.maingame.MainGameActions
- MainGameExitDisplay - Class in com.deco2800.game.components.maingame
-
Displays a button to exit the Main Game screen to the Main Menu screen.
- MainGameExitDisplay() - Constructor for class com.deco2800.game.components.maingame.MainGameExitDisplay
- MainGameScreen - Class in com.deco2800.game.screens
-
The game screen containing the main game.
- MainGameScreen(GdxGame) - Constructor for class com.deco2800.game.screens.MainGameScreen
- MainMenuActions - Class in com.deco2800.game.components.mainmenu
-
This class listens to events relevant to the Main Menu Screen and does something when one of the events is triggered.
- MainMenuActions(GdxGame) - Constructor for class com.deco2800.game.components.mainmenu.MainMenuActions
- MainMenuDisplay - Class in com.deco2800.game.components.mainmenu
-
A ui component for displaying the Main menu.
- MainMenuDisplay() - Constructor for class com.deco2800.game.components.mainmenu.MainMenuDisplay
- MainMenuScreen - Class in com.deco2800.game.screens
-
The game screen containing the main menu.
- MainMenuScreen(GdxGame) - Constructor for class com.deco2800.game.screens.MainMenuScreen
- MAX - Static variable in class com.deco2800.game.utils.math.Vector2Utils
- MIN - Static variable in class com.deco2800.game.utils.math.Vector2Utils
- mouseMoved(int, int) - Method in class com.deco2800.game.input.InputComponent
- mouseMoved(int, int) - Method in class com.deco2800.game.input.InputDecorator
- mouseMoved(int, int) - Method in class com.deco2800.game.input.InputService
-
Iterates over registered input handlers in descending priority and stops as soon as the input is processed
- MovementController - Interface in com.deco2800.game.ai.movement
-
A movement controller moves something to a given a target.
- MovementTask - Class in com.deco2800.game.components.tasks
-
Move to a given position, finishing when you get close enough.
- MovementTask(Vector2) - Constructor for class com.deco2800.game.components.tasks.MovementTask
- MovementTask(Vector2, float) - Constructor for class com.deco2800.game.components.tasks.MovementTask
N
- NONE - Static variable in class com.deco2800.game.physics.PhysicsLayer
- normal - Variable in class com.deco2800.game.physics.raycast.RaycastHit
-
the normal vector of the collider surface at the hit point.
- NPC - Static variable in class com.deco2800.game.physics.PhysicsLayer
- NPCConfigs - Class in com.deco2800.game.entities.configs
-
Defines all NPC configs to be loaded by the NPC Factory.
- NPCConfigs() - Constructor for class com.deco2800.game.entities.configs.NPCConfigs
- NPCFactory - Class in com.deco2800.game.entities.factories
-
Factory to create non-playable character (NPC) entities with predefined components.
O
- object - Variable in class com.deco2800.game.utils.StringDecorator
- OBSTACLE - Static variable in class com.deco2800.game.physics.PhysicsLayer
- ObstacleFactory - Class in com.deco2800.game.entities.factories
-
Factory to create obstacle entities.
- ONE - Static variable in class com.deco2800.game.utils.math.Vector2Utils
- ORTHOGONAL - Enum constant in enum class com.deco2800.game.areas.terrain.TerrainComponent.TerrainOrientation
- owner - Variable in class com.deco2800.game.ai.tasks.DefaultTask
P
- pan(float, float, float, float) - Method in class com.deco2800.game.input.InputComponent
- pan(float, float, float, float) - Method in class com.deco2800.game.input.InputService
-
Iterates over registered input handlers in descending priority and stops as soon as the input is processed
- panStop(float, float, int, int) - Method in class com.deco2800.game.input.InputComponent
- panStop(float, float, int, int) - Method in class com.deco2800.game.input.InputService
-
Iterates over registered input handlers in descending priority and stops as soon as the input is processed
- pause() - Method in class com.deco2800.game.screens.MainGameScreen
- pause() - Method in class com.deco2800.game.screens.MainMenuScreen
- PerformanceDisplay - Class in com.deco2800.game.components.gamearea
-
Displays performance stats about the game for debugging purposes.
- PerformanceDisplay() - Constructor for class com.deco2800.game.components.gamearea.PerformanceDisplay
- PhysicsComponent - Class in com.deco2800.game.physics.components
-
Lets an entity be controlled by physics.
- PhysicsComponent() - Constructor for class com.deco2800.game.physics.components.PhysicsComponent
-
Create a physics component with default settings.
- PhysicsComponent(PhysicsEngine) - Constructor for class com.deco2800.game.physics.components.PhysicsComponent
-
Create a physics component
- PhysicsComponent.AlignX - Enum Class in com.deco2800.game.physics.components
- PhysicsComponent.AlignY - Enum Class in com.deco2800.game.physics.components
- PhysicsContactListener - Class in com.deco2800.game.physics
-
Box2D collision events fire globally on the physics world, not per-object.
- PhysicsContactListener() - Constructor for class com.deco2800.game.physics.PhysicsContactListener
- PhysicsEngine - Class in com.deco2800.game.physics
-
Process game physics using the Box2D library.
- PhysicsEngine() - Constructor for class com.deco2800.game.physics.PhysicsEngine
- PhysicsEngine(World, GameTime) - Constructor for class com.deco2800.game.physics.PhysicsEngine
- PhysicsLayer - Class in com.deco2800.game.physics
- PhysicsMovementComponent - Class in com.deco2800.game.physics.components
-
Movement controller for a physics-based entity.
- PhysicsMovementComponent() - Constructor for class com.deco2800.game.physics.components.PhysicsMovementComponent
- PhysicsService - Class in com.deco2800.game.physics
-
Provides a global access point to the physics engine.
- PhysicsService() - Constructor for class com.deco2800.game.physics.PhysicsService
- PhysicsService(PhysicsEngine) - Constructor for class com.deco2800.game.physics.PhysicsService
- PhysicsUtils - Class in com.deco2800.game.physics
- pinch(Vector2, Vector2, Vector2, Vector2) - Method in class com.deco2800.game.input.InputComponent
- pinch(Vector2, Vector2, Vector2, Vector2) - Method in class com.deco2800.game.input.InputService
-
Iterates over registered input handlers in descending priority and stops as soon as the input is processed
- pinchStop() - Method in class com.deco2800.game.input.InputComponent
- pinchStop() - Method in class com.deco2800.game.input.InputService
-
Iterates over registered input handlers in descending priority and stops as soon as the input is processed
- pinchStopHandled() - Method in class com.deco2800.game.input.InputComponent
-
Wrapper for pinch stop that can be overridden.
- PLAYER - Static variable in class com.deco2800.game.physics.PhysicsLayer
- PlayerActions - Class in com.deco2800.game.components.player
-
Action component for interacting with the player.
- PlayerActions() - Constructor for class com.deco2800.game.components.player.PlayerActions
- PlayerConfig - Class in com.deco2800.game.entities.configs
-
Defines the properties stored in player config files to be loaded by the Player Factory.
- PlayerConfig() - Constructor for class com.deco2800.game.entities.configs.PlayerConfig
- PlayerFactory - Class in com.deco2800.game.entities.factories
-
Factory to create a player entity.
- PlayerStatsDisplay - Class in com.deco2800.game.components.player
-
A ui component for displaying player stats, e.g.
- PlayerStatsDisplay() - Constructor for class com.deco2800.game.components.player.PlayerStatsDisplay
- point - Variable in class com.deco2800.game.physics.raycast.RaycastHit
-
Point at which the raycast hit the fixture.
- postSolve(Contact, ContactImpulse) - Method in class com.deco2800.game.physics.PhysicsContactListener
- preSolve(Contact, Manifold) - Method in class com.deco2800.game.physics.PhysicsContactListener
- printFn - Variable in class com.deco2800.game.utils.StringDecorator
- priority - Variable in class com.deco2800.game.input.InputComponent
-
The priority that the input handler is visited in by InputService.
- PriorityTask - Interface in com.deco2800.game.ai.tasks
-
A priority task is a task that also has a priority.
- processMessage() - Method in class com.deco2800.game.ui.terminal.Terminal
-
Processes the completed message entered by the user.
- put(int, V) - Method in class com.deco2800.game.utils.SortedIntMap
-
Put key, value pair in map
R
- random(GridPoint2, GridPoint2) - Static method in class com.deco2800.game.utils.math.RandomUtils
- random(Vector2, Vector2) - Static method in class com.deco2800.game.utils.math.RandomUtils
- RandomUtils - Class in com.deco2800.game.utils.math
- raycast(Vector2, Vector2, short, RaycastHit) - Method in class com.deco2800.game.physics.PhysicsEngine
-
Cast a ray in a straight line from one point to another, checking for a collision against colliders in the specified layers.
- raycast(Vector2, Vector2, RaycastHit) - Method in class com.deco2800.game.physics.PhysicsEngine
-
Cast a ray in a straight line from one point to another, checking for a collision against any colliders.
- raycastAll(Vector2, Vector2) - Method in class com.deco2800.game.physics.PhysicsEngine
-
Cast a ray in a straight line from one point to another, checking for all collision against colliders in the specified layers.
- raycastAll(Vector2, Vector2, short) - Method in class com.deco2800.game.physics.PhysicsEngine
-
Cast a ray in a straight line from one point to another, checking for all collision against colliders in the specified layers.
- RaycastHit - Class in com.deco2800.game.physics.raycast
-
Stores information about a raycast hit.
- RaycastHit() - Constructor for class com.deco2800.game.physics.raycast.RaycastHit
- readClass(Class<T>, String) - Static method in class com.deco2800.game.files.FileLoader
-
Read generic Java classes from a JSON file.
- readClass(Class<T>, String, FileLoader.Location) - Static method in class com.deco2800.game.files.FileLoader
-
Read generic Java classes from a JSON file.
- refreshRate - Variable in class com.deco2800.game.files.UserSettings.DisplaySettings
- register(Entity) - Method in class com.deco2800.game.entities.EntityService
-
Register a new entity with the entity service.
- register(InputComponent) - Method in class com.deco2800.game.input.InputService
-
Register an input handler based on its priority and reorder inputHandlers.
- register(Renderable) - Method in class com.deco2800.game.rendering.RenderService
-
Register a new renderable.
- registerEntityService(EntityService) - Static method in class com.deco2800.game.services.ServiceLocator
- registerInputService(InputService) - Static method in class com.deco2800.game.services.ServiceLocator
- registerPhysicsService(PhysicsService) - Static method in class com.deco2800.game.services.ServiceLocator
- registerRenderService(RenderService) - Static method in class com.deco2800.game.services.ServiceLocator
- registerResourceService(ResourceService) - Static method in class com.deco2800.game.services.ServiceLocator
- registerTimeSource(GameTime) - Static method in class com.deco2800.game.services.ServiceLocator
- removeAnimation(String) - Method in class com.deco2800.game.rendering.AnimationRenderComponent
-
Remove an animation from this animator.
- render() - Method in class com.deco2800.game.rendering.Renderer
-
Render everything to the render service.
- render(float) - Method in class com.deco2800.game.screens.MainGameScreen
- render(float) - Method in class com.deco2800.game.screens.MainMenuScreen
- render(float) - Method in class com.deco2800.game.screens.SettingsScreen
- render(SpriteBatch) - Method in interface com.deco2800.game.rendering.Renderable
-
Render the renderable.
- render(SpriteBatch) - Method in class com.deco2800.game.rendering.RenderComponent
- render(SpriteBatch) - Method in class com.deco2800.game.rendering.RenderService
-
Trigger rendering on the given batch.
- render(Matrix4) - Method in class com.deco2800.game.rendering.DebugRenderer
- Renderable - Interface in com.deco2800.game.rendering
-
Can be rendered onto the screen given a Sprite batch.
- RenderComponent - Class in com.deco2800.game.rendering
-
A generic component for rendering an entity.
- RenderComponent() - Constructor for class com.deco2800.game.rendering.RenderComponent
- Renderer - Class in com.deco2800.game.rendering
-
Core rendering system for the game.
- Renderer(CameraComponent) - Constructor for class com.deco2800.game.rendering.Renderer
-
Create a new renderer with default settings
- Renderer(CameraComponent, float, SpriteBatch, Stage, RenderService, DebugRenderer) - Constructor for class com.deco2800.game.rendering.Renderer
-
Create a renderer
- RenderFactory - Class in com.deco2800.game.entities.factories
- renderPhysicsWorld(World) - Method in class com.deco2800.game.rendering.DebugRenderer
- RenderService - Class in com.deco2800.game.rendering
-
Globally accessible service for registering renderable components.
- RenderService() - Constructor for class com.deco2800.game.rendering.RenderService
- reportRayFixture(Fixture, Vector2, Vector2, float) - Method in class com.deco2800.game.physics.raycast.AllHitCallback
- reportRayFixture(Fixture, Vector2, Vector2, float) - Method in class com.deco2800.game.physics.raycast.SingleHitCallback
- resize(int, int) - Method in class com.deco2800.game.rendering.Renderer
-
Resize the renderer to a new screen size.
- resize(int, int) - Method in class com.deco2800.game.screens.MainGameScreen
- resize(int, int) - Method in class com.deco2800.game.screens.MainMenuScreen
- resize(int, int) - Method in class com.deco2800.game.screens.SettingsScreen
- resize(int, int, float) - Method in class com.deco2800.game.components.CameraComponent
- ResourceService - Class in com.deco2800.game.services
-
Service for loading resources, e.g.
- ResourceService() - Constructor for class com.deco2800.game.services.ResourceService
- ResourceService(AssetManager) - Constructor for class com.deco2800.game.services.ResourceService
-
Initialise this ResourceService to use the provided AssetManager.
- resume() - Method in class com.deco2800.game.screens.MainGameScreen
- resume() - Method in class com.deco2800.game.screens.MainMenuScreen
- RIGHT - Enum constant in enum class com.deco2800.game.physics.components.PhysicsComponent.AlignX
- RIGHT - Static variable in class com.deco2800.game.utils.math.Vector2Utils
S
- scaleEntity() - Method in class com.deco2800.game.rendering.AnimationRenderComponent
-
Scale the entity to a width of 1 and a height matching the texture's ratio
- scaleEntity() - Method in class com.deco2800.game.rendering.TextureRenderComponent
-
Scale the entity to a width of 1 and a height matching the texture's ratio
- scaleHeight(float) - Method in class com.deco2800.game.entities.Entity
-
Set the entity's height and scale the width to maintain aspect ratio.
- scaleWidth(float) - Method in class com.deco2800.game.entities.Entity
-
Set the entity's width and scale the height to maintain aspect ratio.
- scrolled(float, float) - Method in class com.deco2800.game.input.InputComponent
- scrolled(float, float) - Method in class com.deco2800.game.input.InputDecorator
- scrolled(float, float) - Method in class com.deco2800.game.input.InputService
-
Iterates over registered input handlers in descending priority and stops as soon as the input is processed
- scrolled(float, float) - Method in class com.deco2800.game.ui.terminal.TouchTerminalInputComponent
-
Scrolling up will open the terminal and scrolling down will close the terminal.
- ServiceLocator - Class in com.deco2800.game.services
-
A simplified implementation of the Service Locator pattern: https://martinfowler.com/articles/injection.html#UsingAServiceLocator
- set(UserSettings.Settings, boolean) - Static method in class com.deco2800.game.files.UserSettings
-
Set the stored user settings
- setActive(boolean) - Method in class com.deco2800.game.rendering.DebugRenderer
- setAsBox(Vector2) - Method in class com.deco2800.game.physics.components.ColliderComponent
-
Set physics as a box with a given size.
- setAsBox(Vector2, Vector2) - Method in class com.deco2800.game.physics.components.ColliderComponent
-
Set physics as a box with a given size and local position.
- setAsBoxAligned(Vector2, PhysicsComponent.AlignX, PhysicsComponent.AlignY) - Method in class com.deco2800.game.physics.components.ColliderComponent
-
Set physics as a box with a given size.
- setBaseAttack(int) - Method in class com.deco2800.game.components.CombatStatsComponent
-
Sets the entity's attack damage.
- setBlendMode(TiledMapTile.BlendMode) - Method in class com.deco2800.game.areas.terrain.TerrainTile
- setBodyType(BodyDef.BodyType) - Method in class com.deco2800.game.physics.components.PhysicsComponent
-
Set body type
- setClosed() - Method in class com.deco2800.game.ui.terminal.Terminal
-
Closes the terminal and clears the stored message.
- setDebug(DebugRenderer) - Method in class com.deco2800.game.rendering.RenderService
- setDensity(float) - Method in class com.deco2800.game.physics.components.ColliderComponent
-
Set density
- setEnabled(boolean) - Method in class com.deco2800.game.components.Component
-
Enable or disable the component.
- setEnabled(boolean) - Method in class com.deco2800.game.entities.Entity
-
Enable or disable an entity.
- setEnabled(boolean) - Method in class com.deco2800.game.physics.components.PhysicsComponent
- setEnteredMessage(String) - Method in class com.deco2800.game.ui.terminal.Terminal
-
Sets the text shown on the terminal
- setEntity(Entity) - Method in class com.deco2800.game.components.Component
-
Set the entity to which this component belongs.
- setFriction(float) - Method in class com.deco2800.game.physics.components.ColliderComponent
-
Set friction.
- setGold(int) - Method in class com.deco2800.game.components.player.InventoryComponent
-
Sets the player's gold.
- setHealth(int) - Method in class com.deco2800.game.components.CombatStatsComponent
-
Sets the entity's health.
- setId(int) - Method in class com.deco2800.game.areas.terrain.TerrainTile
- setLayer(short) - Method in class com.deco2800.game.physics.components.ColliderComponent
-
Set the collider layer, used in collision logic
- setMoving(boolean) - Method in interface com.deco2800.game.ai.movement.MovementController
- setMoving(boolean) - Method in class com.deco2800.game.physics.components.PhysicsMovementComponent
-
Enable/disable movement for the controller.
- setOffsetX(float) - Method in class com.deco2800.game.areas.terrain.TerrainTile
- setOffsetY(float) - Method in class com.deco2800.game.areas.terrain.TerrainTile
- setOpen() - Method in class com.deco2800.game.ui.terminal.Terminal
-
Opens the terminal.
- setPosition(float, float) - Method in class com.deco2800.game.entities.Entity
-
Set the entity's game position.
- setPosition(Vector2) - Method in class com.deco2800.game.entities.Entity
-
Set the entity's game position.
- setPosition(Vector2, boolean) - Method in class com.deco2800.game.entities.Entity
-
Set the entity's game position and optionally notifies listeners.
- setPriority(int) - Method in class com.deco2800.game.input.InputComponent
- setRestitution(float) - Method in class com.deco2800.game.physics.components.ColliderComponent
-
Set restitution
- setScale(float, float) - Method in class com.deco2800.game.entities.Entity
-
Set the entity's scale.
- setScale(Vector2) - Method in class com.deco2800.game.entities.Entity
-
Set the entity's scale.
- setScaledCollider(Entity, float, float) - Static method in class com.deco2800.game.physics.PhysicsUtils
- setScreen(GdxGame.ScreenType) - Method in class com.deco2800.game.GdxGame
-
Sets the game's screen to a new screen of the provided type.
- setSensor(boolean) - Method in class com.deco2800.game.physics.components.ColliderComponent
-
Set whether this physics component is a sensor.
- setShape(Shape) - Method in class com.deco2800.game.physics.components.ColliderComponent
-
Set shape
- setStage(Stage) - Method in class com.deco2800.game.rendering.RenderService
- setTarget(Vector2) - Method in interface com.deco2800.game.ai.movement.MovementController
- setTarget(Vector2) - Method in class com.deco2800.game.components.tasks.MovementTask
- setTarget(Vector2) - Method in class com.deco2800.game.physics.components.PhysicsMovementComponent
-
Set a target to move towards.
- setTextureRegion(TextureRegion) - Method in class com.deco2800.game.areas.terrain.TerrainTile
- setTimeScale(float) - Method in class com.deco2800.game.services.GameTime
-
Set the speed of time passing.
- Settings() - Constructor for class com.deco2800.game.files.UserSettings.Settings
- SETTINGS - Enum constant in enum class com.deco2800.game.GdxGame.ScreenType
- SettingsMenuDisplay - Class in com.deco2800.game.components.settingsmenu
-
Settings menu display and logic.
- SettingsMenuDisplay(GdxGame) - Constructor for class com.deco2800.game.components.settingsmenu.SettingsMenuDisplay
- SettingsScreen - Class in com.deco2800.game.screens
-
The game screen containing the settings.
- SettingsScreen(GdxGame) - Constructor for class com.deco2800.game.screens.SettingsScreen
- SingleHitCallback - Class in com.deco2800.game.physics.raycast
-
Cast a ray against all colliders that match the layermask.
- SingleHitCallback() - Constructor for class com.deco2800.game.physics.raycast.SingleHitCallback
- skin - Static variable in class com.deco2800.game.ui.UIComponent
- SortedIntMap<V> - Class in com.deco2800.game.utils
-
A map sorted by the value of key with O(1) iteration.
- SortedIntMap(int) - Constructor for class com.deco2800.game.utils.SortedIntMap
-
Create a sorted intmap with the specified capacity
- spawnEntity(Entity) - Method in class com.deco2800.game.areas.GameArea
-
Spawn entity at its current position
- spawnEntityAt(Entity, GridPoint2, boolean, boolean) - Method in class com.deco2800.game.areas.GameArea
-
Spawn entity on a given tile.
- spliterator() - Method in class com.deco2800.game.utils.SortedIntMap
- spookyFactor - Variable in class com.deco2800.game.entities.configs.GhostKingConfig
- stage - Variable in class com.deco2800.game.ui.UIComponent
- start() - Method in class com.deco2800.game.ai.tasks.DefaultTask
- start() - Method in interface com.deco2800.game.ai.tasks.Task
-
Start running this task.
- start() - Method in class com.deco2800.game.components.tasks.ChaseTask
- start() - Method in class com.deco2800.game.components.tasks.MovementTask
- start() - Method in class com.deco2800.game.components.tasks.WaitTask
-
Start waiting from now until duration has passed.
- start() - Method in class com.deco2800.game.components.tasks.WanderTask
- startAnimation(String) - Method in class com.deco2800.game.rendering.AnimationRenderComponent
-
Start playback of an animation.
- status - Variable in class com.deco2800.game.ai.tasks.DefaultTask
- stop() - Method in class com.deco2800.game.ai.tasks.DefaultTask
- stop() - Method in interface com.deco2800.game.ai.tasks.Task
-
Stop the task immediately.
- stop() - Method in class com.deco2800.game.components.tasks.ChaseTask
- stop() - Method in class com.deco2800.game.components.tasks.MovementTask
- stopAnimation() - Method in class com.deco2800.game.rendering.AnimationRenderComponent
-
Stop the currently running animation.
- StringDecorator<T> - Class in com.deco2800.game.utils
-
Apply a custom toString() for a class without overriding the class, using a decorator.
- StringDecorator(T, Function<T, String>) - Constructor for class com.deco2800.game.utils.StringDecorator
-
Create a string-decorated object.
T
- tap(float, float, int, int) - Method in class com.deco2800.game.input.InputComponent
- tap(float, float, int, int) - Method in class com.deco2800.game.input.InputService
-
Iterates over registered input handlers in descending priority and stops as soon as the input is processed
- Task - Interface in com.deco2800.game.ai.tasks
-
An AI task can be started and stopped at any time.
- Task.Status - Enum Class in com.deco2800.game.ai.tasks
- TaskRunner - Interface in com.deco2800.game.ai.tasks
- Terminal - Class in com.deco2800.game.ui.terminal
-
State tracker for a debug terminal.
- Terminal() - Constructor for class com.deco2800.game.ui.terminal.Terminal
- Terminal(Map<String, Command>) - Constructor for class com.deco2800.game.ui.terminal.Terminal
- TerminalDisplay - Class in com.deco2800.game.ui.terminal
-
A ui component for displaying the debug terminal.
- TerminalDisplay() - Constructor for class com.deco2800.game.ui.terminal.TerminalDisplay
- terrain - Variable in class com.deco2800.game.areas.GameArea
- TerrainComponent - Class in com.deco2800.game.areas.terrain
-
Render a tiled terrain for a given tiled map and orientation.
- TerrainComponent(OrthographicCamera, TiledMap, TiledMapRenderer, TerrainComponent.TerrainOrientation, float) - Constructor for class com.deco2800.game.areas.terrain.TerrainComponent
- TerrainComponent.TerrainOrientation - Enum Class in com.deco2800.game.areas.terrain
- TerrainFactory - Class in com.deco2800.game.areas.terrain
-
Factory for creating game terrains.
- TerrainFactory(CameraComponent) - Constructor for class com.deco2800.game.areas.terrain.TerrainFactory
-
Create a terrain factory with Orthogonal orientation
- TerrainFactory(CameraComponent, TerrainComponent.TerrainOrientation) - Constructor for class com.deco2800.game.areas.terrain.TerrainFactory
-
Create a terrain factory
- TerrainFactory.TerrainType - Enum Class in com.deco2800.game.areas.terrain
-
This enum should contain the different terrains in your game, e.g.
- TerrainTile - Class in com.deco2800.game.areas.terrain
-
Custom terrain tile implementation for tiled map terrain that stores additional properties we may want to have in the game, such as audio, walking speed, traversability by AI, etc.
- TerrainTile(TextureRegion) - Constructor for class com.deco2800.game.areas.terrain.TerrainTile
- TextureRenderComponent - Class in com.deco2800.game.rendering
-
Render a static texture.
- TextureRenderComponent(Texture) - Constructor for class com.deco2800.game.rendering.TextureRenderComponent
- TextureRenderComponent(String) - Constructor for class com.deco2800.game.rendering.TextureRenderComponent
- tileToWorldPosition(int, int) - Method in class com.deco2800.game.areas.terrain.TerrainComponent
- tileToWorldPosition(GridPoint2) - Method in class com.deco2800.game.areas.terrain.TerrainComponent
- toggleIsOpen() - Method in class com.deco2800.game.ui.terminal.Terminal
-
Toggles between the terminal being open and closed.
- TOP - Enum constant in enum class com.deco2800.game.physics.components.PhysicsComponent.AlignY
- toString() - Method in class com.deco2800.game.components.Component
- toString() - Method in class com.deco2800.game.entities.Entity
- toString() - Method in class com.deco2800.game.utils.StringDecorator
- TOUCH - Enum constant in enum class com.deco2800.game.input.InputFactory.InputType
- TouchAttackComponent - Class in com.deco2800.game.components
-
When this entity touches a valid enemy's hitbox, deal damage to them and apply a knockback.
- TouchAttackComponent(short) - Constructor for class com.deco2800.game.components.TouchAttackComponent
-
Create a component which attacks entities on collision, without knockback.
- TouchAttackComponent(short, float) - Constructor for class com.deco2800.game.components.TouchAttackComponent
-
Create a component which attacks entities on collision, with knockback.
- touchDown(float, float, int, int) - Method in class com.deco2800.game.input.InputComponent
- touchDown(float, float, int, int) - Method in class com.deco2800.game.input.InputService
-
Iterates over registered input handlers in descending priority and stops as soon as the input is processed
- touchDown(int, int, int, int) - Method in class com.deco2800.game.components.player.TouchPlayerInputComponent
-
Triggers the player attack.
- touchDown(int, int, int, int) - Method in class com.deco2800.game.input.InputComponent
- touchDown(int, int, int, int) - Method in class com.deco2800.game.input.InputDecorator
- touchDown(int, int, int, int) - Method in class com.deco2800.game.input.InputService
-
Iterates over registered input handlers in descending priority and stops as soon as the input is processed
- touchDragged(int, int, int) - Method in class com.deco2800.game.input.InputComponent
- touchDragged(int, int, int) - Method in class com.deco2800.game.input.InputDecorator
- touchDragged(int, int, int) - Method in class com.deco2800.game.input.InputService
-
Iterates over registered input handlers in descending priority and stops as soon as the input is processed
- TouchInputFactory - Class in com.deco2800.game.input
- TouchInputFactory() - Constructor for class com.deco2800.game.input.TouchInputFactory
- TouchPlayerInputComponent - Class in com.deco2800.game.components.player
-
Input handler for the player for keyboard and touch (mouse) input.
- TouchPlayerInputComponent() - Constructor for class com.deco2800.game.components.player.TouchPlayerInputComponent
- TouchTerminalInputComponent - Class in com.deco2800.game.ui.terminal
-
Input handler for the debug terminal for keyboard and touch (mouse) input.
- TouchTerminalInputComponent() - Constructor for class com.deco2800.game.ui.terminal.TouchTerminalInputComponent
- TouchTerminalInputComponent(Terminal) - Constructor for class com.deco2800.game.ui.terminal.TouchTerminalInputComponent
- touchUp(int, int, int, int) - Method in class com.deco2800.game.input.InputComponent
- touchUp(int, int, int, int) - Method in class com.deco2800.game.input.InputDecorator
- touchUp(int, int, int, int) - Method in class com.deco2800.game.input.InputService
-
Iterates over registered input handlers in descending priority and stops as soon as the input is processed
- trigger(String) - Method in class com.deco2800.game.events.EventHandler
-
Trigger an event with no arguments
- trigger(String, T) - Method in class com.deco2800.game.events.EventHandler
-
Trigger an event with one argument
- trigger(String, T0, T1) - Method in class com.deco2800.game.events.EventHandler
-
Trigger an event with one argument
- trigger(String, T0, T1, T2) - Method in class com.deco2800.game.events.EventHandler
-
Trigger an event with one argument
- triggerEarlyUpdate() - Method in class com.deco2800.game.components.Component
-
Used to trigger the component to early-update itself.
- triggerUpdate() - Method in class com.deco2800.game.components.Component
-
Used to trigger the component to update itself.
U
- UIComponent - Class in com.deco2800.game.ui
-
A generic component for rendering onto the ui.
- UIComponent() - Constructor for class com.deco2800.game.ui.UIComponent
- uiScale - Variable in class com.deco2800.game.files.UserSettings.Settings
-
ui Scale.
- unloadAssets(String[]) - Method in class com.deco2800.game.services.ResourceService
- unregister(Entity) - Method in class com.deco2800.game.entities.EntityService
-
Unregister an entity with the entity service.
- unregister(InputComponent) - Method in class com.deco2800.game.input.InputService
-
Unregister an input handler
- unregister(Renderable) - Method in class com.deco2800.game.rendering.RenderService
-
Unregister a renderable.
- UP - Static variable in class com.deco2800.game.utils.math.Vector2Utils
- update() - Method in class com.deco2800.game.ai.tasks.AITaskComponent
-
On update, run the current highest priority task.
- update() - Method in class com.deco2800.game.ai.tasks.DefaultTask
- update() - Method in interface com.deco2800.game.ai.tasks.Task
-
Run one frame of the task.
- update() - Method in class com.deco2800.game.components.CameraComponent
- update() - Method in class com.deco2800.game.components.Component
-
Called once per frame of the game, and should be used for most component logic.
- update() - Method in class com.deco2800.game.components.player.PlayerActions
- update() - Method in class com.deco2800.game.components.settingsmenu.SettingsMenuDisplay
- update() - Method in class com.deco2800.game.components.tasks.ChaseTask
- update() - Method in class com.deco2800.game.components.tasks.MovementTask
- update() - Method in class com.deco2800.game.components.tasks.WaitTask
- update() - Method in class com.deco2800.game.components.tasks.WanderTask
- update() - Method in class com.deco2800.game.entities.Entity
-
Perform an update on all components.
- update() - Method in class com.deco2800.game.entities.EntityService
-
Update all registered entities.
- update() - Method in class com.deco2800.game.physics.components.PhysicsMovementComponent
- update() - Method in class com.deco2800.game.physics.PhysicsEngine
- updatePlayerHealthUI(int) - Method in class com.deco2800.game.components.player.PlayerStatsDisplay
-
Updates the player's health on the ui.
- UserSettings - Class in com.deco2800.game.files
-
Reading, Writing, and applying user settings in the game.
- UserSettings.DisplaySettings - Class in com.deco2800.game.files
-
Stores chosen display settings.
- UserSettings.Settings - Class in com.deco2800.game.files
-
Stores game settings, can be serialised/deserialised.
V
- valueOf(String) - Static method in enum class com.deco2800.game.ai.tasks.Task.Status
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.deco2800.game.areas.terrain.TerrainComponent.TerrainOrientation
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.deco2800.game.areas.terrain.TerrainFactory.TerrainType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.deco2800.game.files.FileLoader.Location
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.deco2800.game.GdxGame.ScreenType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.deco2800.game.input.InputFactory.InputType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.deco2800.game.physics.components.PhysicsComponent.AlignX
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.deco2800.game.physics.components.PhysicsComponent.AlignY
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.deco2800.game.ai.tasks.Task.Status
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.deco2800.game.areas.terrain.TerrainComponent.TerrainOrientation
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.deco2800.game.areas.terrain.TerrainFactory.TerrainType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.deco2800.game.files.FileLoader.Location
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.deco2800.game.GdxGame.ScreenType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.deco2800.game.input.InputFactory.InputType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.deco2800.game.physics.components.PhysicsComponent.AlignX
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.deco2800.game.physics.components.PhysicsComponent.AlignY
-
Returns an array containing the constants of this enum class, in the order they are declared.
- Vector2Utils - Class in com.deco2800.game.utils.math
-
Contains additional utility constants and functions for common Vector2 operations.
- vsync - Variable in class com.deco2800.game.files.UserSettings.Settings
W
- WaitTask - Class in com.deco2800.game.components.tasks
-
Task that does nothing other than waiting for a given time.
- WaitTask(float) - Constructor for class com.deco2800.game.components.tasks.WaitTask
- WanderTask - Class in com.deco2800.game.components.tasks
-
Wander around by moving a random position within a range of the starting position.
- WanderTask(Vector2, float) - Constructor for class com.deco2800.game.components.tasks.WanderTask
- width - Variable in class com.deco2800.game.files.UserSettings.DisplaySettings
- writeClass(Object, String) - Static method in class com.deco2800.game.files.FileLoader
-
Write generic Java classes to a JSON file.
- writeClass(Object, String, FileLoader.Location) - Static method in class com.deco2800.game.files.FileLoader
-
Write generic Java classes to a JSON file.
Z
- ZERO - Static variable in class com.deco2800.game.utils.math.GridPoint2Utils
- zoom(float, float) - Method in class com.deco2800.game.input.InputComponent
- zoom(float, float) - Method in class com.deco2800.game.input.InputService
-
Iterates over registered input handlers in descending priority and stops as soon as the input is processed
All Classes and Interfaces|All Packages|Constant Field Values