Index
A B C D E F G H I J K L M N O P R S T U V W Z
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- ABSOLUTE - com.deco2800.game.files.FileLoader.Location
- AchievementConfigs - Class in com.deco2800.game.entities.configs
-
Defines an Arraylist to store a basic set of achievement properties stored in achievement config files (achievements.json) to be loaded by Achievement Factory, as well as the property list with operations that need to be conducted and necessary defaults.
- AchievementConfigs() - Constructor for class com.deco2800.game.entities.configs.AchievementConfigs
- AchievementFactory - Class in com.deco2800.game.entities.factories
-
Factory to create Achievement entities with predefined conditions.
- AchievementFactory() - Constructor for class com.deco2800.game.entities.factories.AchievementFactory
- AchievementRecordsDisplay - Class in com.deco2800.game.components.achievements.screen
-
This class is responsible for displaying the achievement records and the associated locked and unlocked chapters.
- AchievementRecordsDisplay(GdxGame, List<BaseAchievementConfig>) - Constructor for class com.deco2800.game.components.achievements.screen.AchievementRecordsDisplay
-
Only the best achievements are displayed.
- achievements - Variable in class com.deco2800.game.entities.configs.AchievementConfigs
- achievements - Variable in class com.deco2800.game.files.stats.GameRecords.Record
-
List of unlocked achievements
- ACHIEVEMENTS - com.deco2800.game.GdxGame.ScreenType
- AchievementsBonusItems - Class in com.deco2800.game.components.achievements
-
The AchievementsBonusItems class is used to spawn bonus items at the game world when there is a achievement unlocked by the player character
- AchievementsBonusItems(Entity) - Constructor for class com.deco2800.game.components.achievements.AchievementsBonusItems
- AchievementsDisplay - Class in com.deco2800.game.components.achievements
-
A UI component to display achievement cards and labels for corresponding achievements
- AchievementsDisplay() - Constructor for class com.deco2800.game.components.achievements.AchievementsDisplay
- AchievementsHelper - Class in com.deco2800.game.components.achievements
-
An achievement helper class which tracks properties across the game and has a built-in event handler.
- AchievementsScreen - Class in com.deco2800.game.screens
- AchievementsScreen(GdxGame) - Constructor for class com.deco2800.game.screens.AchievementsScreen
- AchievementsStatsComponent - Class in com.deco2800.game.components.achievements
-
The class listens to game statistics given the forest area lifecycle and emits new achievement events
- AchievementsStatsComponent() - Constructor for class com.deco2800.game.components.achievements.AchievementsStatsComponent
- 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 - com.deco2800.game.ai.tasks.Task.Status
- add(Entity) - Method in class com.deco2800.game.components.player.Bag
- add(Entity) - Method in interface com.deco2800.game.components.player.BagInterface
-
添加物品
- add(GameRecords.Record) - Method in class com.deco2800.game.files.stats.GameRecords.Records
-
Add a new record to the mapping
- addAddMaxHealthImage() - Method in class com.deco2800.game.components.player.PlayerStatsDisplay
- 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.
- addDecreaseHealthImage() - Method in class com.deco2800.game.components.player.PlayerStatsDisplay
- addDecreaseSpeedImage() - Method in class com.deco2800.game.components.player.PlayerStatsDisplay
- addfood() - Method in class com.deco2800.game.components.ItemBar.newItembar
-
food number plus one
- addGold(int) - Method in class com.deco2800.game.components.player.InventoryComponent
-
Adds to the player's gold.
- addGold(int) - Static method in class com.deco2800.game.files.PropStoreRecord
-
The func is used to add goldCoin amount got
- addHealth() - Method in class com.deco2800.game.components.buff.Buff
- addHealth(int) - Method in class com.deco2800.game.components.CombatStatsComponent
-
Adds to the player's health.
- addIncreaseHealthImage() - Method in class com.deco2800.game.components.player.PlayerStatsDisplay
- addkit() - Static method in class com.deco2800.game.components.ItemBar.newItembar
-
kit number plus one
- 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
- addorremove(String, int) - Static method in class com.deco2800.game.components.ItemBar.ItemBarDisplay
- addOrRemoveImage(int) - Static method in class com.deco2800.game.components.foodAndwater.FoodDisplay
-
Add/remove a image
- addOrRemoveImage(int) - Static method in class com.deco2800.game.components.foodAndwater.WaterDisplay
-
Add/remove a image
- addPoisoningImage() - Method in class com.deco2800.game.components.player.PlayerStatsDisplay
- addTask(PriorityTask) - Method in class com.deco2800.game.ai.tasks.AITaskComponent
-
Add a priority task to the list of tasks.
- addToGold(int) - Method in class com.deco2800.game.components.player.InventoryComponent
-
Add to the player's existing gold
- addToScore(int) - Method in class com.deco2800.game.components.score.ScoringSystemV1
- addToScore(int) - Method in class com.deco2800.game.services.ScoreService
-
Add bonus points to the score
- addwater() - Method in class com.deco2800.game.components.ItemBar.newItembar
-
water number plus one
- 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.
- ANIMATION - com.deco2800.game.entities.Entity.DisappearType
- 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
- AsyncTaskQueue - Class in com.deco2800.game.concurrency
-
An event pool which runs long-running rendering tasks on a single thread.
- attire - Variable in class com.deco2800.game.entities.configs.PlayerConfig
- attireType - Variable in class com.deco2800.game.components.player.UnlockedAttiresDisplay
B
- BackgroundMusic - Class in com.deco2800.game.files.meta
- BackgroundMusic() - Constructor for class com.deco2800.game.files.meta.BackgroundMusic
- BackgroundMusic.MusicList - Class in com.deco2800.game.files.meta
- BackgroundMusic.SelectedMusicList - Class in com.deco2800.game.files.meta
- BackgroundRenderComponent - Class in com.deco2800.game.rendering
-
Render the background texture.
- BackgroundRenderComponent(String) - Constructor for class com.deco2800.game.rendering.BackgroundRenderComponent
- BackgroundSelectionComponent - Class in com.deco2800.game.components
- BackgroundSelectionComponent(String) - Constructor for class com.deco2800.game.components.BackgroundSelectionComponent
- BackgroundSelectionComponent(String, String) - Constructor for class com.deco2800.game.components.BackgroundSelectionComponent
- BackgroundSoundComponent - Class in com.deco2800.game.components
-
Reusable sound component to create background music Loads, plays and unloads music automatically.
- BackgroundSoundComponent(String) - Constructor for class com.deco2800.game.components.BackgroundSoundComponent
- BackgroundSoundComponent(String, float) - Constructor for class com.deco2800.game.components.BackgroundSoundComponent
- BackgroundSoundComponent(String, float, boolean) - Constructor for class com.deco2800.game.components.BackgroundSoundComponent
- Bag - Class in com.deco2800.game.components.player
- Bag() - Constructor for class com.deco2800.game.components.player.Bag
- Bag.BagIterator - Class in com.deco2800.game.components.player
- BagInterface - Interface in com.deco2800.game.components.player
-
背包接口 背包
- BagIterator() - Constructor for class com.deco2800.game.components.player.Bag.BagIterator
- BaseAchievementConfig - Class in com.deco2800.game.entities.configs.achievements
-
Defines a basic set of achievement properties stored in achievement config file (achievements.json) to be loaded by Achievement Factory
- BaseAchievementConfig() - Constructor for class com.deco2800.game.entities.configs.achievements.BaseAchievementConfig
- 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
- bigMeteorite - Variable in class com.deco2800.game.entities.configs.ObstaclesConfigs
- BigMeteorite - com.deco2800.game.entities.factories.ObstacleFactory.MeteoriteType
- 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
- bonus - Variable in class com.deco2800.game.entities.configs.achievements.BaseAchievementConfig
- BOTTOM - com.deco2800.game.physics.components.PhysicsComponent.AlignY
- bought - Variable in class com.deco2800.game.entities.configs.propStore.PropItemConfig
- BoughtProps() - Constructor for class com.deco2800.game.files.PropStoreRecord.BoughtProps
- Buff - Class in com.deco2800.game.components.buff
- Buff(Entity) - Constructor for class com.deco2800.game.components.buff.Buff
- BUFF_MENU - com.deco2800.game.GdxGame.ScreenType
- BuffDescriptionConfig - Class in com.deco2800.game.entities.configs.buff
-
Defines a basic set of achievement properties stored in achievement config file (achievements.json) to be loaded by Achievement Factory
- BuffDescriptionConfig() - Constructor for class com.deco2800.game.entities.configs.buff.BuffDescriptionConfig
- BuffDescriptionConfig(String, String) - Constructor for class com.deco2800.game.entities.configs.buff.BuffDescriptionConfig
- BuffDescriptionConfigs - Class in com.deco2800.game.entities.configs
-
Defines an Arraylist to store a basic set of achievement properties stored in achievement config files (achievements.json) to be loaded by Achievement Factory
- BuffDescriptionConfigs() - Constructor for class com.deco2800.game.entities.configs.BuffDescriptionConfigs
- BuffDescriptionDisplay - Class in com.deco2800.game.components.buff
-
A UI component to display buff description cards and labels for corresponding descriptions
- BuffDescriptionDisplay() - Constructor for class com.deco2800.game.components.buff.BuffDescriptionDisplay
- BuffDescriptionFactory - Class in com.deco2800.game.entities.factories
- BuffDescriptionFactory() - Constructor for class com.deco2800.game.entities.factories.BuffDescriptionFactory
- BuffDisplay - Class in com.deco2800.game.components.buff
- BuffDisplay(GdxGame) - Constructor for class com.deco2800.game.components.buff.BuffDisplay
- BuffManualMenuScreen - Class in com.deco2800.game.screens
- BuffManualMenuScreen(GdxGame) - Constructor for class com.deco2800.game.screens.BuffManualMenuScreen
- buffs - Variable in class com.deco2800.game.entities.configs.BuffDescriptionConfigs
- buyItem(PropItemConfig) - Static method in class com.deco2800.game.files.PropStoreRecord
-
The func is used to buy some item
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
- cancelFutureTasksNow() - Static method in class com.deco2800.game.concurrency.AsyncTaskQueue
-
Shut down the task queue immediately and cancel all future tasks.
- CAPACITY - Static variable in interface com.deco2800.game.components.player.BagInterface
- CEILING - Static variable in class com.deco2800.game.physics.PhysicsLayer
- CENTER - com.deco2800.game.physics.components.PhysicsComponent.AlignX
- CENTER - com.deco2800.game.physics.components.PhysicsComponent.AlignY
- changeCurrentSpeed(Vector2) - Method in class com.deco2800.game.components.player.PlayerActions
- Chapter() - Constructor for class com.deco2800.game.files.stats.GameChapters.Chapter
- ChapterDisplay - Class in com.deco2800.game.components.achievements.screen
- ChapterDisplay() - Constructor for class com.deco2800.game.components.achievements.screen.ChapterDisplay
- chapters - Variable in class com.deco2800.game.files.stats.GameChapters.Chapters
- Chapters() - Constructor for class com.deco2800.game.files.stats.GameChapters.Chapters
- 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 - 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
- ColliderComponent - Class in com.deco2800.game.physics.components
-
Attaches a physics collider to an entity.
- ColliderComponent() - Constructor for class com.deco2800.game.physics.components.ColliderComponent
- com.deco2800.game - package com.deco2800.game
- com.deco2800.game.ai.movement - package com.deco2800.game.ai.movement
- com.deco2800.game.ai.tasks - package com.deco2800.game.ai.tasks
- com.deco2800.game.areas - package com.deco2800.game.areas
- com.deco2800.game.areas.terrain - package com.deco2800.game.areas.terrain
- com.deco2800.game.components - package com.deco2800.game.components
- com.deco2800.game.components.achievements - package com.deco2800.game.components.achievements
- com.deco2800.game.components.achievements.screen - package com.deco2800.game.components.achievements.screen
- com.deco2800.game.components.buff - package com.deco2800.game.components.buff
- com.deco2800.game.components.foodAndwater - package com.deco2800.game.components.foodAndwater
- com.deco2800.game.components.gamearea - package com.deco2800.game.components.gamearea
- com.deco2800.game.components.gameover - package com.deco2800.game.components.gameover
- com.deco2800.game.components.ItemBar - package com.deco2800.game.components.ItemBar
- com.deco2800.game.components.items - package com.deco2800.game.components.items
- 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.obstacle - package com.deco2800.game.components.obstacle
- com.deco2800.game.components.player - package com.deco2800.game.components.player
- com.deco2800.game.components.score - package com.deco2800.game.components.score
- 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.configs.achievements - package com.deco2800.game.entities.configs.achievements
- com.deco2800.game.entities.configs.buff - package com.deco2800.game.entities.configs.buff
- com.deco2800.game.entities.configs.propStore - package com.deco2800.game.entities.configs.propStore
- 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.files.meta - package com.deco2800.game.files.meta
- com.deco2800.game.files.stats - package com.deco2800.game.files.stats
- 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
- ComponentIterator<T> - Interface in com.deco2800.game.components.player
-
物品迭代器接口 物品迭代器
- ComponentType - Class in com.deco2800.game.components
-
Internal type system for components.
- condition - Variable in class com.deco2800.game.entities.configs.achievements.BaseAchievementConfig
- ConditionConfig - Class in com.deco2800.game.entities.configs.achievements
-
Defines a basic set of a condition properties for each achievement stored in achievement config files (achievements.json) to be loaded by Achievement Factory
- ConditionConfig() - Constructor for class com.deco2800.game.entities.configs.achievements.ConditionConfig
- 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
- containsScreenMusic(String) - Static method in class com.deco2800.game.files.meta.BackgroundMusic
-
Checks if a particular screen has associated background music
- content - Variable in class com.deco2800.game.files.stats.GameChapters.Chapter
- counter - Variable in class com.deco2800.game.components.items.InventorySystem
- CountFoodSystem - Class in com.deco2800.game.components.foodAndwater
-
this class handles the food update
- CountFoodSystem() - Constructor for class com.deco2800.game.components.foodAndwater.CountFoodSystem
- countNumber - Static variable in class com.deco2800.game.components.items.TestBuffForItem
- CountWaterSystem - Class in com.deco2800.game.components.foodAndwater
-
this class handles the water update
- CountWaterSystem() - Constructor for class com.deco2800.game.components.foodAndwater.CountWaterSystem
- create() - Method in class com.deco2800.game.areas.ForestGameArea
-
Create the game area, including terrain, static entities (trees), dynamic entities (player)
- create() - Method in class com.deco2800.game.areas.GameArea
-
Create the game area in the world.
- create() - Method in class com.deco2800.game.components.achievements.AchievementsDisplay
- create() - Method in class com.deco2800.game.components.achievements.AchievementsStatsComponent
- create() - Method in class com.deco2800.game.components.achievements.screen.AchievementRecordsDisplay
- create() - Method in class com.deco2800.game.components.achievements.screen.ChapterDisplay
- create() - Method in class com.deco2800.game.components.BackgroundSelectionComponent
- create() - Method in class com.deco2800.game.components.BackgroundSoundComponent
- create() - Method in class com.deco2800.game.components.buff.BuffDescriptionDisplay
- create() - Method in class com.deco2800.game.components.buff.BuffDisplay
- create() - Method in class com.deco2800.game.components.buff.DeBuff
- create() - Method in class com.deco2800.game.components.buff.InstructionsDisplay
- 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.foodAndwater.FoodDisplay
-
Creates reusable food ui styles and adds actors to the stage.
- create() - Method in class com.deco2800.game.components.foodAndwater.RecycleDisplay
-
Creates reusable recycle ui styles and adds actors to the stage.
- create() - Method in class com.deco2800.game.components.foodAndwater.WaterDisplay
-
Creates reusable water ui styles and adds actors to the stage.
- 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.gameover.GameOverDisplay
- create() - Method in class com.deco2800.game.components.ItemBar.ItemBarDisplay
-
Creates reusable ui styles and adds actors to the stage.
- create() - Method in class com.deco2800.game.components.items.GoldComponent
- create() - Method in class com.deco2800.game.components.items.ItemBar
- create() - Method in class com.deco2800.game.components.items.ItemComponent
- create() - Method in class com.deco2800.game.components.items.PropsShopDisplay
- create() - Method in class com.deco2800.game.components.items.PropStoreDisplay
- create() - Method in class com.deco2800.game.components.items.PropStoreGoldDisplay
- create() - Method in class com.deco2800.game.components.items.PropStoreItemDisplay
- create() - Method in class com.deco2800.game.components.maingame.MainGameActions
- create() - Method in class com.deco2800.game.components.maingame.MainGameDisplay
- 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.EnemyAnimationController
- create() - Method in class com.deco2800.game.components.npc.SpaceshipAttackController
- create() - Method in class com.deco2800.game.components.obstacle.MonsterDetails
- create() - Method in class com.deco2800.game.components.obstacle.MonsterDisplay
- create() - Method in class com.deco2800.game.components.obstacle.ObstacleEventHandler
- create() - Method in class com.deco2800.game.components.player.InventoryComponent
- create() - Method in class com.deco2800.game.components.player.PlayerActions
- create() - Method in class com.deco2800.game.components.player.PlayerAnimationController
-
The function create animation listeners and adds them to the events of the entity, so that they can be triggered
- create() - Method in class com.deco2800.game.components.player.PlayerStatsDisplay
-
Creates reusable ui styles and adds actors to the stage.
- create() - Method in class com.deco2800.game.components.player.UnlockedAttiresDisplay
- create() - Method in class com.deco2800.game.components.score.DistanceDisplay
-
Creates reusable ui styles and adds actors to the stage.
- create() - Method in class com.deco2800.game.components.score.ScoreDetailsDialog
- create() - Method in class com.deco2800.game.components.score.ScoreDisplay
-
Creates reusable ui styles and adds actors to the stage.
- create() - Method in class com.deco2800.game.components.score.ScoreHistoryDisplay
- create() - Method in class com.deco2800.game.components.score.TimerDisplay
-
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.SoundComponent
- 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.BackgroundRenderComponent
- create() - Method in class com.deco2800.game.rendering.ParticleRenderComponent
- 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.
- createAchievementEntity() - Static method in class com.deco2800.game.entities.factories.AchievementFactory
-
Returns a list of achievements from the "achievements.json" file
- createApple(Entity) - Static method in class com.deco2800.game.entities.factories.ItemFactory
-
creates an entity for a apple
- createBandage(Entity) - Static method in class com.deco2800.game.entities.factories.ItemFactory
-
creates an entity for a bandage
- createBody(BodyDef) - Method in class com.deco2800.game.physics.PhysicsEngine
- createBuffDescriptionEntity() - Static method in class com.deco2800.game.entities.factories.BuffDescriptionFactory
-
Returns a list of buff from the "buffDescription.json" file
- createCamera() - Static method in class com.deco2800.game.entities.factories.RenderFactory
- createFaceWorm(Entity) - Static method in class com.deco2800.game.entities.factories.NPCFactory
-
Creates a Face Worm.
- createFirstAid(Entity, InventorySystem) - Static method in class com.deco2800.game.entities.factories.ItemFactory
-
creates an entity for a firstAidKit
- createFlyingMonkey(Entity) - Static method in class com.deco2800.game.entities.factories.NPCFactory
-
Create Flying Monkey
- 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
- createGold(Entity) - Static method in class com.deco2800.game.entities.factories.ItemFactory
-
creates an entity for a gold
- createJoint(JointDef) - Method in class com.deco2800.game.physics.PhysicsEngine
- createMagicPotion(Entity) - Static method in class com.deco2800.game.entities.factories.ItemFactory
-
creates an entity for a magic potion
- createMagma(Entity) - Static method in class com.deco2800.game.entities.factories.ObstacleFactory
-
Creates a firerock.
- createMeteorite(Entity, float, ObstacleFactory.MeteoriteType) - Static method in class com.deco2800.game.entities.factories.ObstacleFactory
-
Creates a Meteorite
- createNail(Entity) - Static method in class com.deco2800.game.entities.factories.ObstacleFactory
-
Creates a nail.
- createPlantsObstacle(Entity) - Static method in class com.deco2800.game.entities.factories.ObstacleFactory
-
Creates a Plants Obstacle.
- createPlayer() - Static method in class com.deco2800.game.entities.factories.PlayerFactory
-
Create a player entity.
- createPortal(Entity, ObstacleEventHandler.ObstacleType) - Static method in class com.deco2800.game.entities.factories.ObstacleFactory
-
Creates a Thorns Obstacle.
- createRenderer() - Static method in class com.deco2800.game.entities.factories.RenderFactory
- createRock() - Static method in class com.deco2800.game.entities.factories.ObstacleFactory
-
Creates a rock.
- createSmallMissile(Entity) - Static method in class com.deco2800.game.entities.factories.NPCFactory
-
Create a missile
- createSpaceShip(Entity) - Static method in class com.deco2800.game.entities.factories.NPCFactory
-
Create Spaceship
- createSyringe(Entity) - Static method in class com.deco2800.game.entities.factories.ItemFactory
-
creates an entity for a syringe
- 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.
- createTerrainRandomly(TerrainFactory.TerrainType, int) - Method in class com.deco2800.game.areas.terrain.TerrainFactory
- createThornsObstacle(Entity) - Static method in class com.deco2800.game.entities.factories.ObstacleFactory
-
Creates a Thorns Obstacle.
- createWall(float, float, short) - Static method in class com.deco2800.game.entities.factories.ObstacleFactory
-
Creates an invisible physics wall.
- createWater(Entity) - Static method in class com.deco2800.game.entities.factories.ItemFactory
-
creates an entity for a water
- createWeapon() - Static method in class com.deco2800.game.entities.factories.ObstacleFactory
-
Creates a Weapon attack effect for player.
- createWood() - Static method in class com.deco2800.game.entities.factories.ObstacleFactory
-
Creates a wood.
D
- dateTime - Variable in class com.deco2800.game.files.stats.GameRecords.Score
-
Time when the game ended, i.e, the player died.
- DateTimeUtils - Class in com.deco2800.game.utils
- DateTimeUtils() - Constructor for class com.deco2800.game.utils.DateTimeUtils
- DeBuff - Class in com.deco2800.game.components.buff
- DeBuff(Entity) - Constructor for class com.deco2800.game.components.buff.DeBuff
- 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
- decreaseHealth() - Method in class com.deco2800.game.components.buff.DeBuff
-
Decreasing HEALTH
- 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
- defaultValue - Variable in class com.deco2800.game.entities.configs.achievements.PropertyListDefaults
- desc - Variable in class com.deco2800.game.entities.configs.propStore.PropItemConfig
- description - Variable in class com.deco2800.game.entities.configs.buff.BuffDescriptionConfig
- 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.achievements.AchievementsDisplay
- dispose() - Method in class com.deco2800.game.components.achievements.screen.AchievementRecordsDisplay
- dispose() - Method in class com.deco2800.game.components.BackgroundSelectionComponent
- dispose() - Method in class com.deco2800.game.components.BackgroundSoundComponent
- dispose() - Method in class com.deco2800.game.components.buff.BuffDescriptionDisplay
- dispose() - Method in class com.deco2800.game.components.buff.BuffDisplay
- dispose() - Method in class com.deco2800.game.components.buff.InstructionsDisplay
- dispose() - Method in class com.deco2800.game.components.Component
-
Called when the component is disposed.
- dispose() - Method in class com.deco2800.game.components.foodAndwater.FoodDisplay
-
remove foodImage by useing a for loop
- dispose() - Method in class com.deco2800.game.components.foodAndwater.RecycleDisplay
-
remove recycleIcon by useing a for loop
- dispose() - Method in class com.deco2800.game.components.foodAndwater.WaterDisplay
-
remove waterImage by using a for loop
- 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.gameover.GameOverDisplay
- dispose() - Method in class com.deco2800.game.components.ItemBar.ItemBarDisplay
- dispose() - Method in class com.deco2800.game.components.items.PropsShopDisplay
- dispose() - Method in class com.deco2800.game.components.maingame.MainGameDisplay
- 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.obstacle.MonsterDisplay
- dispose() - Method in class com.deco2800.game.components.player.PlayerStatsDisplay
- dispose() - Method in class com.deco2800.game.components.player.UnlockedAttiresDisplay
- dispose() - Method in class com.deco2800.game.components.score.DistanceDisplay
- dispose() - Method in class com.deco2800.game.components.score.ScoreDisplay
- dispose() - Method in class com.deco2800.game.components.score.ScoreHistoryDisplay
- dispose() - Method in class com.deco2800.game.components.score.TimerDisplay
- 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.ParticleRenderComponent
- dispose() - Method in class com.deco2800.game.rendering.RenderComponent
- dispose() - Method in class com.deco2800.game.rendering.Renderer
- dispose() - Method in class com.deco2800.game.rendering.RenderService
- dispose() - Method in class com.deco2800.game.screens.AchievementsScreen
- dispose() - Method in class com.deco2800.game.screens.BuffManualMenuScreen
- dispose() - Method in class com.deco2800.game.screens.GameOverScreen
- dispose() - Method in class com.deco2800.game.screens.HistoryScoreScreen
- dispose() - Method in class com.deco2800.game.screens.InstructionsScreen
- 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.MonsterMenuScreen
- dispose() - Method in class com.deco2800.game.screens.PropsShopScreen
- dispose() - Method in class com.deco2800.game.screens.SettingsScreen
- dispose() - Method in class com.deco2800.game.screens.UnlockedAttiresScreen
- dispose() - Method in class com.deco2800.game.services.ResourceService
- dispose() - Method in class com.deco2800.game.ui.terminal.TerminalDisplay
- disposeExceptAnimationComponent() - Method in class com.deco2800.game.entities.Entity
-
Dispose of the entity.
- distance - Variable in class com.deco2800.game.entities.configs.achievements.ConditionConfig
- distance - Variable in class com.deco2800.game.files.stats.GameRecords.Score
-
Distance of that particular game
- DistanceDisplay - Class in com.deco2800.game.components.score
- DistanceDisplay() - Constructor for class com.deco2800.game.components.score.DistanceDisplay
- DistanceService - Class in com.deco2800.game.services
-
DistanceService handles the distance value in the game.
- DistanceService(Entity) - Constructor for class com.deco2800.game.services.DistanceService
-
Constructor of DistanceService
- 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.achievements.AchievementsDisplay
- draw(SpriteBatch) - Method in class com.deco2800.game.components.achievements.screen.AchievementRecordsDisplay
- draw(SpriteBatch) - Method in class com.deco2800.game.components.achievements.screen.ChapterDisplay
- draw(SpriteBatch) - Method in class com.deco2800.game.components.BackgroundSelectionComponent
- draw(SpriteBatch) - Method in class com.deco2800.game.components.buff.BuffDescriptionDisplay
- draw(SpriteBatch) - Method in class com.deco2800.game.components.buff.BuffDisplay
- draw(SpriteBatch) - Method in class com.deco2800.game.components.buff.InstructionsDisplay
- draw(SpriteBatch) - Method in class com.deco2800.game.components.foodAndwater.FoodDisplay
- draw(SpriteBatch) - Method in class com.deco2800.game.components.foodAndwater.RecycleDisplay
- draw(SpriteBatch) - Method in class com.deco2800.game.components.foodAndwater.WaterDisplay
- 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.gameover.GameOverDisplay
- draw(SpriteBatch) - Method in class com.deco2800.game.components.ItemBar.ItemBarDisplay
- draw(SpriteBatch) - Method in class com.deco2800.game.components.items.PropsShopDisplay
- draw(SpriteBatch) - Method in class com.deco2800.game.components.items.PropStoreDisplay
- draw(SpriteBatch) - Method in class com.deco2800.game.components.items.PropStoreGoldDisplay
- draw(SpriteBatch) - Method in class com.deco2800.game.components.items.PropStoreItemDisplay
- draw(SpriteBatch) - Method in class com.deco2800.game.components.maingame.MainGameDisplay
- 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.obstacle.MonsterDetails
- draw(SpriteBatch) - Method in class com.deco2800.game.components.obstacle.MonsterDisplay
- draw(SpriteBatch) - Method in class com.deco2800.game.components.player.PlayerStatsDisplay
- draw(SpriteBatch) - Method in class com.deco2800.game.components.player.UnlockedAttiresDisplay
- draw(SpriteBatch) - Method in class com.deco2800.game.components.score.DistanceDisplay
- draw(SpriteBatch) - Method in class com.deco2800.game.components.score.ScoreDetailsDialog
- draw(SpriteBatch) - Method in class com.deco2800.game.components.score.ScoreDisplay
- draw(SpriteBatch) - Method in class com.deco2800.game.components.score.ScoreHistoryDisplay
- draw(SpriteBatch) - Method in class com.deco2800.game.components.score.TimerDisplay
- 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.BackgroundRenderComponent
- draw(SpriteBatch) - Method in class com.deco2800.game.rendering.ParticleRenderComponent
- 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
- EnemyAnimationController - Class in com.deco2800.game.components.npc
-
This class listens to events relevant to a enemy entity's state and plays the animation when one of the events is triggered.
- EnemyAnimationController() - Constructor for class com.deco2800.game.components.npc.EnemyAnimationController
- enemyCreatePosition() - Method in class com.deco2800.game.components.tasks.ObstacleAttackTask
- enqueueTask(Runnable) - Static method in class com.deco2800.game.concurrency.AsyncTaskQueue
-
Dispatch a long-running task to the queue.
- entity - Variable in class com.deco2800.game.components.Component
- entity - Variable in class com.deco2800.game.physics.BodyUserData
-
The entity to which this body is attached
- Entity - Class in com.deco2800.game.entities
-
Core entity class.
- Entity() - Constructor for class com.deco2800.game.entities.Entity
- Entity(String) - Constructor for class com.deco2800.game.entities.Entity
-
Create an entity with category information.
- Entity.DisappearType - Enum in com.deco2800.game.entities
- 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
- EVENT_ACHIEVEMENT_BONUS_TRIGGERED - Static variable in class com.deco2800.game.components.achievements.AchievementsHelper
- EVENT_ADD_BONUS_GOLD - Static variable in class com.deco2800.game.components.achievements.AchievementsHelper
- EVENT_HEALTH - Static variable in class com.deco2800.game.components.achievements.AchievementsHelper
- EVENT_ITEM_PICKED_UP - Static variable in class com.deco2800.game.components.achievements.AchievementsHelper
- EVENT_SPACESHIP_AVOIDED - Static variable in class com.deco2800.game.components.achievements.AchievementsHelper
- EVENT_UNLOCKED_ACHIEVEMENT_DISPLAYED - Static variable in class com.deco2800.game.components.achievements.AchievementsHelper
- EVENT_UNLOCKED_ACHIEVEMENT_DISPOSE - Static variable in class com.deco2800.game.components.achievements.AchievementsHelper
- 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 - com.deco2800.game.files.FileLoader.Location
F
- FACE_WORM - com.deco2800.game.components.obstacle.ObstacleEventHandler.ObstacleType
- faceWorm - Variable in class com.deco2800.game.entities.configs.NPCConfigs
- FAILED - 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 in com.deco2800.game.files
- findByGame(int) - Method in class com.deco2800.game.files.stats.GameRecords.Records
- FINISH - com.deco2800.game.components.npc.SpaceshipAttackController.SpaceshipAttack
- FINISH - com.deco2800.game.screens.MainGameScreen.NewMap
- FINISHED - com.deco2800.game.ai.tasks.Task.Status
- firstAids - Variable in class com.deco2800.game.entities.configs.achievements.ConditionConfig
- 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
- FLYING_MONKEY - com.deco2800.game.components.obstacle.ObstacleEventHandler.ObstacleType
- food - com.deco2800.game.components.foodAndwater.RecycleDisplay.recycleState
- food - Variable in class com.deco2800.game.entities.configs.propStore.PropPropertyConfig
- FoodDisplay - Class in com.deco2800.game.components.foodAndwater
-
A ui component for displaying food system.
- FoodDisplay() - Constructor for class com.deco2800.game.components.foodAndwater.FoodDisplay
- foodImage - Static variable in class com.deco2800.game.components.foodAndwater.FoodDisplay
- foods - Static variable in class com.deco2800.game.components.ItemBar.newItembar
-
foods stored in item bar
- forEach(Consumer<? super V>) - Method in class com.deco2800.game.utils.SortedIntMap
- 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
- fps - Variable in class com.deco2800.game.files.UserSettings.Settings
-
FPS cap of the game.
- fullscreen - Variable in class com.deco2800.game.files.UserSettings.Settings
G
- game - Variable in class com.deco2800.game.files.meta.GameInfo.GameMetadata
-
Number of games that have been played by the user
- game - Variable in class com.deco2800.game.files.stats.GameRecords.Record
-
The game number (nth game played)
- game - Variable in class com.deco2800.game.files.stats.GameRecords.Score
-
The game number, for ease of access
- GAME_OVER - com.deco2800.game.GdxGame.ScreenType
- 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
- GameChapters - Class in com.deco2800.game.files.stats
- GameChapters() - Constructor for class com.deco2800.game.files.stats.GameChapters
- GameChapters.Chapter - Class in com.deco2800.game.files.stats
- GameChapters.Chapters - Class in com.deco2800.game.files.stats
- GameInfo - Class in com.deco2800.game.files.meta
-
The class is responsible for keeping a tab of the game metadata
- GameInfo() - Constructor for class com.deco2800.game.files.meta.GameInfo
- GameInfo.GameMetadata - Class in com.deco2800.game.files.meta
-
Represents the game metadata
- GameMetadata() - Constructor for class com.deco2800.game.files.meta.GameInfo.GameMetadata
- GameOverDisplay - Class in com.deco2800.game.components.gameover
-
Settings menu display and logic.
- GameOverDisplay(GdxGame) - Constructor for class com.deco2800.game.components.gameover.GameOverDisplay
- GameOverScreen - Class in com.deco2800.game.screens
- GameOverScreen(GdxGame) - Constructor for class com.deco2800.game.screens.GameOverScreen
- GameRecords - Class in com.deco2800.game.files.stats
- GameRecords() - Constructor for class com.deco2800.game.files.stats.GameRecords
- GameRecords.Record - Class in com.deco2800.game.files.stats
-
The Record class keeps a tab of the score, game number and achievements unlocked in that particular game.
- GameRecords.Records - Class in com.deco2800.game.files.stats
-
A mapping of the game number (nth game played) and associated record, i.e, the score and list of unlocked achievements.
- GameRecords.Score - Class in com.deco2800.game.files.stats
- GameRecordUtils - Class in com.deco2800.game.files.stats
- GameRecordUtils() - Constructor for class com.deco2800.game.files.stats.GameRecordUtils
- gameTime - Variable in class com.deco2800.game.components.score.ScoringSystemV1
- 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 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
- getAchievementByNameAndType(String, String) - Static method in class com.deco2800.game.entities.factories.AchievementFactory
- getAchievements() - Static method in class com.deco2800.game.components.achievements.AchievementsStatsComponent
-
Returns a list of all achievements
- getAchievements() - Static method in class com.deco2800.game.entities.factories.AchievementFactory
- getAchievementsByGame(int) - Static method in class com.deco2800.game.files.stats.GameRecords
- getAchievementTrophy(BaseAchievementConfig) - Static method in class com.deco2800.game.entities.factories.AchievementFactory
- getActive() - Method in class com.deco2800.game.rendering.DebugRenderer
- getAllMusicByScreen(String) - Static method in class com.deco2800.game.files.meta.BackgroundMusic
-
Fetch all music paths for a particular screen
- getAllScores() - Static method in class com.deco2800.game.files.stats.GameRecords
-
Returns the list of scores
- getAllTimeBestAchievements() - Static method in class com.deco2800.game.files.stats.GameRecordUtils
-
Loops through all the game records and returns the list of achievements with the highest tier and ignores lower ones.
- getAnimationPlayTime() - Method in class com.deco2800.game.rendering.AnimationRenderComponent
-
Get the playing time of the animation
- getAnimationTime() - Method in class com.deco2800.game.entities.Entity
-
Get method of animationTime.
- 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.
- getBestAchievementsByGame(int) - Static method in class com.deco2800.game.files.stats.GameRecordUtils
-
Returns the achievements of the highest tier of a particular game.
- getBlendMode() - Method in class com.deco2800.game.areas.terrain.TerrainTile
- getBody() - Method in class com.deco2800.game.physics.components.PhysicsComponent
-
Get the physics body.
- getBoughtProps() - Static method in class com.deco2800.game.files.PropStoreRecord
-
The func is used to get the BoughtProps
- 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
- getChapters() - Static method in class com.deco2800.game.files.stats.GameChapters
- getComponent(Class<T>) - Method in class com.deco2800.game.entities.Entity
-
Get a component of type T on the entity.
- getConditionMap() - Method in class com.deco2800.game.entities.configs.achievements.BaseAchievementConfig
-
Returns a mapping of the achievement name and value for easy processing This makes it very easy to iterate through all the properties and fetch the values, and saves a lot of technical debt.
- getcounts() - Method in class com.deco2800.game.components.ItemBar.newItembar
- getCurrentAnimation() - Method in class com.deco2800.game.rendering.AnimationRenderComponent
-
Get the name of the animation currently being played.
- getCurrentDateTime() - Static method in class com.deco2800.game.utils.DateTimeUtils
-
Returns the current date and time in local time zone, based on the one that is set on the operating system
- getDateTime() - Method in class com.deco2800.game.files.stats.GameRecords.Score
-
Returns local date and time object of when the game ended, i.e, the time of player's death.
- getDebug() - Method in class com.deco2800.game.rendering.Renderer
- getDebug() - Method in class com.deco2800.game.rendering.RenderService
- getDeltaTime() - Method in class com.deco2800.game.services.GameTime
- getDescription() - Method in class com.deco2800.game.entities.configs.buff.BuffDescriptionConfig
- getDifference() - Method in class com.deco2800.game.components.foodAndwater.CountFoodSystem
-
return the time difference
- getDifference() - Method in class com.deco2800.game.components.foodAndwater.CountWaterSystem
-
return the time difference
- getDistance() - Method in class com.deco2800.game.services.DistanceService
-
get the player's distance
- getDistanceByGame(int) - Static method in class com.deco2800.game.files.stats.GameRecords
- getDistanceService() - Static method in class com.deco2800.game.services.ServiceLocator
- 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.components.achievements.AchievementsHelper
-
Access to the event handler object
- 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
- getfood() - Static method in class com.deco2800.game.components.ItemBar.newItembar
- getFormattedDate(LocalDateTime) - Static method in class com.deco2800.game.utils.DateTimeUtils
-
Returns the date in a verbose format Example: 31/12/2021
- getFormattedDateTime(LocalDateTime) - Static method in class com.deco2800.game.utils.DateTimeUtils
-
Returns prettified date and time Example: 2021-09-15 11:38 PM
- getFormattedTime(LocalDateTime) - Static method in class com.deco2800.game.utils.DateTimeUtils
-
Prettifies the time and returns it Example: 05:55:23 AM
- getFrom(Class<? extends Component>) - Static method in class com.deco2800.game.components.ComponentType
- getGameCount() - Static method in class com.deco2800.game.files.meta.GameInfo
-
Returns the number of games that the user has played from local storage By default, 0 games have been played.
- getGameMetadata() - Static method in class com.deco2800.game.files.meta.GameInfo
-
Reads the game metadata from local JSON file
- getGold() - Method in class com.deco2800.game.components.player.InventoryComponent
-
Returns the player's gold.
- getGold() - Static method in class com.deco2800.game.files.PropStoreRecord
-
The func is used to get the goldCoin got from the goldRecord.json file
- getGoldAchievementsCount() - Static method in class com.deco2800.game.files.stats.GameRecordUtils
-
Get the number of gold achievements that the user has unlocked
- getHealth() - Method in class com.deco2800.game.components.CombatStatsComponent
-
Returns the entity's health.
- getHealthMax() - Method in class com.deco2800.game.components.CombatStatsComponent
- getHighestScores() - Static method in class com.deco2800.game.files.stats.GameRecordUtils
-
Returns the list of scores (the highest score first)
- getHitsAndClear() - Method in class com.deco2800.game.physics.raycast.AllHitCallback
- getHunger() - Method in class com.deco2800.game.components.foodAndwater.FoodDisplay
-
return the foodImage
- 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.
- getImageButton(Dialog) - Static method in class com.deco2800.game.components.player.UnlockedAttiresDisplay
- getInputFactory() - Method in class com.deco2800.game.input.InputService
-
Get the input factory to create input handlers
- getInputService() - Static method in class com.deco2800.game.services.ServiceLocator
- getInstance() - Static method in class com.deco2800.game.components.achievements.AchievementsHelper
-
The class implements the singleton pattern.
- getkit() - Method in class com.deco2800.game.components.ItemBar.newItembar
- getLatestDistance() - Static method in class com.deco2800.game.files.stats.GameRecords
- getLatestScore() - Static method in class com.deco2800.game.files.stats.GameRecords
- getLayer() - Method in class com.deco2800.game.areas.terrain.TerrainComponent
- getLayer() - Method in class com.deco2800.game.physics.components.ColliderComponent
- getLayer() - Method in class com.deco2800.game.rendering.BackgroundRenderComponent
- 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
- getMapSize() - Method in class com.deco2800.game.areas.terrain.TerrainFactory
- getMinutes() - Method in class com.deco2800.game.components.score.ScoringSystemV1
-
Return the current minutes of the timer.
- getMoving() - Method in interface com.deco2800.game.ai.movement.MovementController
- getMoving() - Method in class com.deco2800.game.physics.components.PhysicsMovementComponent
- getName() - Method in class com.deco2800.game.entities.configs.buff.BuffDescriptionConfig
- getNewMapStatus() - Static method in class com.deco2800.game.screens.MainGameScreen
-
getter method of newMapStatus
- getNextUnlockAchievements() - Static method in class com.deco2800.game.files.stats.GameRecordUtils
-
Returns a list of achievements that can be unlocked next
- getNotSelectedTrack(String) - Static method in class com.deco2800.game.files.meta.BackgroundMusic
-
Get the first non-selected track of a screen
- 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
- getpao() - Static method in class com.deco2800.game.components.ItemBar.newItembar
- getParticlePlayTime() - Method in class com.deco2800.game.rendering.ParticleRenderComponent
-
Get the playing time of the animation
- 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.ObstacleAttackTask
- 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
- getPropertyList() - Static method in class com.deco2800.game.entities.factories.AchievementFactory
-
Dynamically load and return the list of properties and their defaults.
- getPropStoreItems() - Static method in class com.deco2800.game.entities.factories.PropStoreFactory
- getPropTextures() - Static method in class com.deco2800.game.entities.factories.PropStoreFactory
- getRawDeltaTime() - Method in class com.deco2800.game.services.GameTime
- getRecords() - Static method in class com.deco2800.game.files.stats.GameRecords
- 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.
- getScore() - Method in interface com.deco2800.game.components.score.ScoringSystem
- getScore() - Method in class com.deco2800.game.components.score.ScoringSystemV1
-
Return the total score
- getScore() - Method in class com.deco2800.game.files.stats.GameRecords.Score
-
In game score
- getScore() - Method in class com.deco2800.game.services.ScoreService
-
returns base score + bonus
- getScoreByGame(int) - Static method in class com.deco2800.game.files.stats.GameRecords
- getScoreService() - Static method in class com.deco2800.game.services.ServiceLocator
- getSeconds() - Method in class com.deco2800.game.components.score.ScoringSystemV1
-
Return the current seconds of the timer.
- getSelectedMusic(String) - Static method in class com.deco2800.game.files.meta.BackgroundMusic
-
Get selected music track for the supplied screen name
- getSlowPlayerTime() - Static method in class com.deco2800.game.screens.MainGameScreen
-
getter method of slowPlayerTime
- getSpaceshipState() - Static method in class com.deco2800.game.components.npc.SpaceshipAttackController
-
Get spaceshipState, used for test.
- 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.components.achievements.AchievementsBonusItems
- getTarget() - Method in class com.deco2800.game.physics.components.PhysicsMovementComponent
- getTextureRegion() - Method in class com.deco2800.game.areas.terrain.TerrainTile
- getTextures() - Static method in class com.deco2800.game.entities.factories.AchievementFactory
-
Returns a list of paths to corresponding achievement texture images
- getThirst() - Method in class com.deco2800.game.components.foodAndwater.WaterDisplay
-
return the waterImage
- getTileSize() - Method in class com.deco2800.game.areas.terrain.TerrainComponent
- getTime() - Method in class com.deco2800.game.services.GameTime
- getTimer() - Method in class com.deco2800.game.components.foodAndwater.CountFoodSystem
-
return the time
- getTimer() - Method in class com.deco2800.game.components.foodAndwater.CountWaterSystem
-
return the time
- getTimeSince(long) - Method in class com.deco2800.game.services.GameTime
- getTimeSource() - Static method in class com.deco2800.game.services.ServiceLocator
- getTrophyTextures() - Static method in class com.deco2800.game.entities.factories.AchievementFactory
- getType() - Method in class com.deco2800.game.entities.Entity
-
Get entity type.
- getUnlockedAchievements() - Static method in class com.deco2800.game.components.achievements.AchievementsStatsComponent
-
Returns a list of unlocked achievements
- getUnlockedChapters() - Static method in class com.deco2800.game.files.stats.GameChapters
-
Returns the number of chapters
- getValues() - Static method in class com.deco2800.game.files.MPCConfig
-
Retrieve PlayerConfig values if they exist, else create a new PlayerConfig
- getVerboseDate(LocalDateTime) - Static method in class com.deco2800.game.utils.DateTimeUtils
-
Returns the date in a verbose format Example: Tuesday, 31 December, 2021
- getWalkDirection() - Method in class com.deco2800.game.components.player.KeyboardPlayerInputComponent
- getWalkDirection() - Method in class com.deco2800.game.components.player.PlayerActions
- getwater() - Static method in class com.deco2800.game.components.ItemBar.newItembar
- 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.MainGameDisplay
- getZIndex() - Method in class com.deco2800.game.components.maingame.MainGameExitDisplay
- getZIndex() - Method in class com.deco2800.game.components.mainmenu.MainMenuDisplay
- getZIndex() - Method in class com.deco2800.game.entities.Entity
-
Get the entity's zIndex.
- getZIndex() - Method in class com.deco2800.game.rendering.BackgroundRenderComponent
- getZIndex() - Method in class com.deco2800.game.rendering.ParticleRenderComponent
-
Set the zIndex of the entity according to the y coordinate of the entity and the original zIndex.
- 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
-
Set the zIndex of the entity according to the y coordinate of the entity and the original zIndex.
- 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
- 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.achievements.ConditionConfig
- gold - Variable in class com.deco2800.game.entities.configs.PlayerConfig
- Gold() - Constructor for class com.deco2800.game.files.PropStoreRecord.Gold
- GoldComponent - Class in com.deco2800.game.components.items
- GoldComponent(Entity) - Constructor for class com.deco2800.game.components.items.GoldComponent
-
Creates a gold component that detects when the player collides with the entity and when collided the player character will achieve a goldCoin.
- 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.
- handleItemPickup(String) - Method in class com.deco2800.game.components.achievements.AchievementsStatsComponent
- hasAnimation(String) - Method in class com.deco2800.game.rendering.AnimationRenderComponent
-
Whether the animator has added the given animation.
- hasEnoughGold(int) - Static method in class com.deco2800.game.files.PropStoreRecord
-
The func is used to check if there is enough goldCoin amount
- 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
- hasNext() - Method in class com.deco2800.game.components.player.Bag.BagIterator
- hasNext() - Method in interface com.deco2800.game.components.player.ComponentIterator
- health - Variable in class com.deco2800.game.entities.configs.achievements.ConditionConfig
- health - Variable in class com.deco2800.game.entities.configs.BaseEntityConfig
- health - Variable in class com.deco2800.game.entities.configs.propStore.PropPropertyConfig
- height - Variable in class com.deco2800.game.files.UserSettings.DisplaySettings
- HEXAGONAL - com.deco2800.game.areas.terrain.TerrainComponent.TerrainOrientation
- HIGH - com.deco2800.game.components.npc.SpaceshipAttackController.AttackType
- HISTORY_SCORES - com.deco2800.game.GdxGame.ScreenType
- HistoryScoreScreen - Class in com.deco2800.game.screens
- HistoryScoreScreen(GdxGame) - Constructor for class com.deco2800.game.screens.HistoryScoreScreen
- 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
- hp - com.deco2800.game.components.foodAndwater.RecycleDisplay.recycleState
- Hunger() - Method in class com.deco2800.game.components.buff.DeBuff
-
when player is hunger,player will be slow
I
- iconPath - Variable in class com.deco2800.game.entities.configs.achievements.BaseAchievementConfig
- id - Variable in class com.deco2800.game.entities.configs.propStore.PropItemConfig
- id - Variable in class com.deco2800.game.files.PropStoreRecord.BoughtProps
- id - Variable in class com.deco2800.game.files.stats.GameChapters.Chapter
- id - Variable in class com.deco2800.game.files.stats.GameRecords.Record
-
A unique record id
- INACTIVE - com.deco2800.game.ai.tasks.Task.Status
- incFood() - Static method in class com.deco2800.game.components.items.PropShopHelper
- increaseHealth(Entity) - Method in class com.deco2800.game.components.items.TestBuffForItem
-
test buff effect for the first aid kit increases health of the target by 10
- increaseHealthLimit() - Method in class com.deco2800.game.components.buff.Buff
- increment(String) - Method in class com.deco2800.game.components.achievements.AchievementsStatsComponent
-
Fetches the value for that particular property and increments it
- incrementGameCount() - Static method in class com.deco2800.game.files.meta.GameInfo
-
Increment the total number of games that have been played by the user.
- incSpeed(Entity) - Static method in class com.deco2800.game.components.items.PropShopHelper
- incWater() - Static method in class com.deco2800.game.components.items.PropShopHelper
- 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 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
- INSTRUCTIONS - com.deco2800.game.GdxGame.ScreenType
- InstructionsDisplay - Class in com.deco2800.game.components.buff
- InstructionsDisplay(GdxGame) - Constructor for class com.deco2800.game.components.buff.InstructionsDisplay
- InstructionsScreen - Class in com.deco2800.game.screens
- InstructionsScreen(GdxGame) - Constructor for class com.deco2800.game.screens.InstructionsScreen
- INTERNAL - 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
- InventorySystem - Class in com.deco2800.game.components.items
- InventorySystem(Entity) - Constructor for class com.deco2800.game.components.items.InventorySystem
- InvSys() - Method in class com.deco2800.game.areas.ForestGameArea
- isDead() - Method in class com.deco2800.game.components.CombatStatsComponent
-
Returns true if the entity's has 0 health, otherwise false.
- isDisappear() - Method in class com.deco2800.game.entities.Entity
-
Get method of disappear.
- isDispose() - Method in class com.deco2800.game.entities.Entity
-
Get method of dispose.
- isEffectStart() - Method in class com.deco2800.game.rendering.ParticleRenderComponent
-
get if the particle effect is start, for test.
- isFinished() - Method in class com.deco2800.game.rendering.AnimationRenderComponent
-
Has the playing animation finished? This will always be false for looping animations.
- isHunger() - Static method in class com.deco2800.game.components.foodAndwater.FoodDisplay
-
when player have no food, this function will return true
- isItemBought(PropItemConfig) - Static method in class com.deco2800.game.files.PropStoreRecord
-
The func is used to check if the item is bought
- isKey - Static variable in class com.deco2800.game.components.foodAndwater.RecycleDisplay
- isLocked() - Static method in class com.deco2800.game.components.obstacle.ObstacleEventHandler
-
getter method for locked
- isLocked_ufo() - Static method in class com.deco2800.game.components.obstacle.ObstacleEventHandler
-
getter method for locked_ufo
- isLocked2() - Static method in class com.deco2800.game.components.obstacle.ObstacleEventHandler
-
getter method for locked2
- isLocked3() - Static method in class com.deco2800.game.components.obstacle.ObstacleEventHandler
-
getter method for locked3
- ISOMETRIC - com.deco2800.game.areas.terrain.TerrainComponent.TerrainOrientation
- isOpen() - Method in class com.deco2800.game.ui.terminal.Terminal
- isRemoveCollision() - Method in class com.deco2800.game.entities.Entity
-
Getter method of removeCollision
- isRemoveTexture() - Method in class com.deco2800.game.entities.Entity
-
Get method of removeTexture.
- isSelected(String, String) - Static method in class com.deco2800.game.files.meta.BackgroundMusic
-
Check if a particular track is the selected one or not.
- isShutDown() - Static method in class com.deco2800.game.concurrency.AsyncTaskQueue
-
Check if the asynchronous task queue is accepting any tasks
- isSlowPlayer() - Static method in class com.deco2800.game.screens.MainGameScreen
-
getter method of slowPlayer
- isSpaceshipAttack() - Static method in class com.deco2800.game.components.obstacle.ObstacleEventHandler
-
getter method for spaceshipAttack
- isThirst() - Static method in class com.deco2800.game.components.foodAndwater.WaterDisplay
-
when player have no water, this function will return true
- ITEM_FIRST_AID - Static variable in class com.deco2800.game.components.achievements.AchievementsHelper
- ITEM_GOLD_COIN - Static variable in class com.deco2800.game.components.achievements.AchievementsHelper
- ItemBar - Class in com.deco2800.game.components.items
- ItemBar(Entity, InventorySystem) - Constructor for class com.deco2800.game.components.items.ItemBar
- ItemBarDisplay - Class in com.deco2800.game.components.ItemBar
- ItemBarDisplay() - Constructor for class com.deco2800.game.components.ItemBar.ItemBarDisplay
- ItemComponent - Class in com.deco2800.game.components.items
- ItemComponent(Entity, Consumer<Entity>) - Constructor for class com.deco2800.game.components.items.ItemComponent
-
creates a first aid component that detects when the player collides with the entity and when collided it runs a buff function for the Item
- itemCount - Variable in class com.deco2800.game.entities.configs.achievements.ConditionConfig
- ItemFactory - Class in com.deco2800.game.entities.factories
- ItemFactory() - Constructor for class com.deco2800.game.entities.factories.ItemFactory
- items - Variable in class com.deco2800.game.files.PropStoreRecord.BoughtProps
- iterator() - Method in class com.deco2800.game.components.player.Bag
- iterator() - Method in interface com.deco2800.game.components.player.BagInterface
-
背包迭代器
- 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 - 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 - 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 - com.deco2800.game.files.FileLoader.Location
- lock_use - Static variable in class com.deco2800.game.components.tasks.ObstacleAttackTask
- locked - Static variable in class com.deco2800.game.components.obstacle.ObstacleEventHandler
- locked_ufo - Static variable in class com.deco2800.game.components.obstacle.ObstacleEventHandler
- locked2 - Static variable in class com.deco2800.game.components.obstacle.ObstacleEventHandler
- locked3 - Static variable in class com.deco2800.game.components.obstacle.ObstacleEventHandler
- 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
- LOW - com.deco2800.game.components.npc.SpaceshipAttackController.AttackType
M
- MAGMA - com.deco2800.game.components.obstacle.ObstacleEventHandler.ObstacleType
- MAGMA - Static variable in class com.deco2800.game.physics.PhysicsLayer
- MAIN_GAME - com.deco2800.game.GdxGame.ScreenType
- MAIN_MENU - com.deco2800.game.GdxGame.ScreenType
- MAIN_PLAYER_ATTACK - Static variable in class com.deco2800.game.components.player.PlayerAnimationController
- MAIN_PLAYER_BURN - Static variable in class com.deco2800.game.components.player.PlayerAnimationController
- MAIN_PLAYER_CROUCH - Static variable in class com.deco2800.game.components.player.PlayerAnimationController
- MAIN_PLAYER_HURT - Static variable in class com.deco2800.game.components.player.PlayerAnimationController
- MAIN_PLAYER_JUMP - Static variable in class com.deco2800.game.components.player.PlayerAnimationController
- MAIN_PLAYER_PICKUP - Static variable in class com.deco2800.game.components.player.PlayerAnimationController
- MAIN_PLAYER_RIGHT - Static variable in class com.deco2800.game.components.player.PlayerAnimationController
- MAIN_PLAYER_RUN - Static variable in class com.deco2800.game.components.player.PlayerAnimationController
- MAIN_PLAYER_WALK - Static variable in class com.deco2800.game.components.player.PlayerAnimationController
- 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
- MainGameDisplay - Class in com.deco2800.game.components.maingame
-
A ui component for displaying the Main game.
- MainGameDisplay() - Constructor for class com.deco2800.game.components.maingame.MainGameDisplay
- 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
- MainGameScreen.NewMap - Enum in com.deco2800.game.screens
-
all status of new map
- 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
- message - Variable in class com.deco2800.game.entities.configs.achievements.BaseAchievementConfig
- METEORITE - com.deco2800.game.components.obstacle.ObstacleEventHandler.ObstacleType
- METEORITE - Static variable in class com.deco2800.game.physics.PhysicsLayer
- MIDDLE - com.deco2800.game.components.npc.SpaceshipAttackController.AttackType
- middleMeteorite - Variable in class com.deco2800.game.entities.configs.ObstaclesConfigs
- MiddleMeteorite - com.deco2800.game.entities.factories.ObstacleFactory.MeteoriteType
- MIN - Static variable in class com.deco2800.game.utils.math.Vector2Utils
- missileSound() - Method in class com.deco2800.game.components.SoundComponent
-
Play sound for missile
- MONSTER_MENU - com.deco2800.game.GdxGame.ScreenType
- MonsterDetails - Class in com.deco2800.game.components.obstacle
-
To show the details of every monster when click image.
- MonsterDetails() - Constructor for class com.deco2800.game.components.obstacle.MonsterDetails
- MonsterDisplay - Class in com.deco2800.game.components.obstacle
-
Display all monsters, It is locked by default, and will only be unlocked when the character encounters this type of monster.
- MonsterDisplay(GdxGame) - Constructor for class com.deco2800.game.components.obstacle.MonsterDisplay
- MonsterMenuScreen - Class in com.deco2800.game.screens
-
A screen for monster manual.
- MonsterMenuScreen(GdxGame) - Constructor for class com.deco2800.game.screens.MonsterMenuScreen
-
Generate a monster manual UI.
- 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
- move(Entity, Entity) - Method in class com.deco2800.game.components.player.Bag
- move(Entity, Entity) - Method in interface com.deco2800.game.components.player.BagInterface
-
物品交换位置
- 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
- MPCConfig - Class in com.deco2800.game.files
-
Class to record the MPC attire configuration into a JSON file that is locally persisted
- MPCConfig() - Constructor for class com.deco2800.game.files.MPCConfig
- MUD_ROAD - com.deco2800.game.areas.terrain.TerrainFactory.TerrainType
- MusicList() - Constructor for class com.deco2800.game.files.meta.BackgroundMusic.MusicList
N
- name - Variable in class com.deco2800.game.entities.configs.achievements.BaseAchievementConfig
- name - Variable in class com.deco2800.game.entities.configs.buff.BuffDescriptionConfig
- name - Variable in class com.deco2800.game.entities.configs.propStore.PropItemConfig
- newItembar - Class in com.deco2800.game.components.ItemBar
-
the finalized item bar system
- newItembar() - Constructor for class com.deco2800.game.components.ItemBar.newItembar
- newMapStatus - Static variable in class com.deco2800.game.screens.MainGameScreen
- newQueue() - Static method in class com.deco2800.game.concurrency.AsyncTaskQueue
- next() - Method in class com.deco2800.game.components.player.Bag.BagIterator
- next() - Method in interface com.deco2800.game.components.player.ComponentIterator
- 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
- ObstacleAttackTask - Class in com.deco2800.game.components.tasks
- ObstacleAttackTask(Entity, Entity, int, float) - Constructor for class com.deco2800.game.components.tasks.ObstacleAttackTask
- ObstacleEventHandler - Class in com.deco2800.game.components.obstacle
-
Used to handle events of obstacles and enemies
- ObstacleEventHandler(ObstacleEventHandler.ObstacleType) - Constructor for class com.deco2800.game.components.obstacle.ObstacleEventHandler
-
Construct an ObstacleEventHandler and register the corresponding event according to the obstacleType.
- ObstacleEventHandler.ObstacleType - Enum in com.deco2800.game.components.obstacle
-
The types of obstacles and enemies are used to determine the type of entity that triggers the event.
- ObstacleFactory - Class in com.deco2800.game.entities.factories
-
Factory to create obstacle entities.
- ObstacleFactory.MeteoriteType - Enum in com.deco2800.game.entities.factories
-
Type of Meteorite, different type means different size.
- ObstaclesConfigs - Class in com.deco2800.game.entities.configs
- ObstaclesConfigs() - Constructor for class com.deco2800.game.entities.configs.ObstaclesConfigs
- OFF - com.deco2800.game.components.npc.SpaceshipAttackController.SpaceshipAttack
- OFF - com.deco2800.game.screens.MainGameScreen.NewMap
- ON - com.deco2800.game.components.npc.SpaceshipAttackController.SpaceshipAttack
- ON - com.deco2800.game.screens.MainGameScreen.NewMap
- ONE - Static variable in class com.deco2800.game.utils.math.Vector2Utils
- operation - Variable in class com.deco2800.game.entities.configs.achievements.PropertyListDefaults
- ORTHOGONAL - 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
- PARTICLE - com.deco2800.game.entities.Entity.DisappearType
- ParticleRenderComponent - Class in com.deco2800.game.rendering
-
Render particle effect for entities.
- ParticleRenderComponent(String) - Constructor for class com.deco2800.game.rendering.ParticleRenderComponent
-
Constructor of particle effect
- path - Variable in class com.deco2800.game.entities.configs.propStore.PropItemConfig
- 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 in com.deco2800.game.physics.components
- PhysicsComponent.AlignY - Enum 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.
- plant - Variable in class com.deco2800.game.entities.configs.ObstaclesConfigs
- PLANTS_OBSTACLE - com.deco2800.game.components.obstacle.ObstacleEventHandler.ObstacleType
- player - Variable in class com.deco2800.game.areas.ForestGameArea
- PLAYER - com.deco2800.game.components.npc.SpaceshipAttackController.AttackType
- 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
- PlayerAnimationController - Class in com.deco2800.game.components.player
-
This class listens to events relevant to a Player entity's state and plays animations when player action events are triggered
- PlayerAnimationController() - Constructor for class com.deco2800.game.components.player.PlayerAnimationController
- PLAYERCOLLIDER - Static variable in class com.deco2800.game.physics.PhysicsLayer
- 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.
- players - Static variable in class com.deco2800.game.screens.MainGameScreen
- 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
- playitemMusic() - Static method in class com.deco2800.game.areas.ForestGameArea
- playMusic() - Method in class com.deco2800.game.areas.ForestGameArea
-
Play the regular map bgm
- playNewMapMusic() - Method in class com.deco2800.game.areas.ForestGameArea
-
Play the new map bgm
- playpickupMusic() - Static method in class com.deco2800.game.areas.ForestGameArea
- playSound() - Method in class com.deco2800.game.components.BackgroundSoundComponent
-
Play the background music
- point - Variable in class com.deco2800.game.physics.raycast.RaycastHit
-
Point at which the raycast hit the fixture.
- poisoning() - Method in class com.deco2800.game.components.buff.DeBuff
-
A poisoning status of Player
- PORTAL_ENTRANCE - com.deco2800.game.components.obstacle.ObstacleEventHandler.ObstacleType
- PORTAL_EXPORT - com.deco2800.game.components.obstacle.ObstacleEventHandler.ObstacleType
- positionHitSpaceship - Static variable in class com.deco2800.game.components.npc.SpaceshipAttackController
- postSolve(Contact, ContactImpulse) - Method in class com.deco2800.game.physics.PhysicsContactListener
- preSolve(Contact, Manifold) - Method in class com.deco2800.game.physics.PhysicsContactListener
- pressbutton() - Method in class com.deco2800.game.components.items.InventorySystem
- price - Variable in class com.deco2800.game.entities.configs.propStore.PropItemConfig
- 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.
- property - Variable in class com.deco2800.game.entities.configs.propStore.PropItemConfig
- propertyList - Variable in class com.deco2800.game.entities.configs.AchievementConfigs
- PropertyListDefaults - Class in com.deco2800.game.entities.configs.achievements
- PropertyListDefaults() - Constructor for class com.deco2800.game.entities.configs.achievements.PropertyListDefaults
- PropItemConfig - Class in com.deco2800.game.entities.configs.propStore
- PropItemConfig() - Constructor for class com.deco2800.game.entities.configs.propStore.PropItemConfig
- PropPropertyConfig - Class in com.deco2800.game.entities.configs.propStore
- PropPropertyConfig() - Constructor for class com.deco2800.game.entities.configs.propStore.PropPropertyConfig
- props - Variable in class com.deco2800.game.entities.configs.PropStoreConfig
- PROPS_SHOP - com.deco2800.game.GdxGame.ScreenType
- PropShopHelper - Class in com.deco2800.game.components.items
- PropShopHelper() - Constructor for class com.deco2800.game.components.items.PropShopHelper
- PropsShopDisplay - Class in com.deco2800.game.components.items
-
A ui component for displaying the props shop.
- PropsShopDisplay(GdxGame) - Constructor for class com.deco2800.game.components.items.PropsShopDisplay
- PropsShopScreen - Class in com.deco2800.game.screens
-
The game screen containing the props shop.
- PropsShopScreen(GdxGame) - Constructor for class com.deco2800.game.screens.PropsShopScreen
- PropStoreConfig - Class in com.deco2800.game.entities.configs
- PropStoreConfig() - Constructor for class com.deco2800.game.entities.configs.PropStoreConfig
- PropStoreDisplay - Class in com.deco2800.game.components.items
-
A ui component for displaying the props shop.
- PropStoreDisplay(GdxGame) - Constructor for class com.deco2800.game.components.items.PropStoreDisplay
- PropStoreFactory - Class in com.deco2800.game.entities.factories
- PropStoreFactory() - Constructor for class com.deco2800.game.entities.factories.PropStoreFactory
- PropStoreGoldDisplay - Class in com.deco2800.game.components.items
-
A ui component for displaying the props shop gold .
- PropStoreGoldDisplay() - Constructor for class com.deco2800.game.components.items.PropStoreGoldDisplay
- PropStoreItemDisplay - Class in com.deco2800.game.components.items
-
A ui component for displaying the props shop items.
- PropStoreItemDisplay() - Constructor for class com.deco2800.game.components.items.PropStoreItemDisplay
- PropStoreRecord - Class in com.deco2800.game.files
-
This class is used to record the goldCoin that will be used from the prop store
- PropStoreRecord() - Constructor for class com.deco2800.game.files.PropStoreRecord
- PropStoreRecord.BoughtProps - Class in com.deco2800.game.files
- PropStoreRecord.Gold - Class in com.deco2800.game.files
- 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
- randomType() - Static method in enum com.deco2800.game.components.npc.SpaceshipAttackController.AttackType
- RandomUtils - Class in com.deco2800.game.utils.math
- randomX(int, GridPoint2, GridPoint2) - Static method in class com.deco2800.game.utils.math.RandomUtils
-
Used to randomly generate entities at a specific height.
- 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.
- readValues() - Method in class com.deco2800.game.files.MPCConfig
-
Store the current values into a JSON file
- Record() - Constructor for class com.deco2800.game.files.stats.GameRecords.Record
- records - Variable in class com.deco2800.game.files.stats.GameRecords.Records
-
An ordered mapping of the game number and associated achievements
- Records() - Constructor for class com.deco2800.game.files.stats.GameRecords.Records
- RecycleDisplay - Class in com.deco2800.game.components.foodAndwater
-
A ui component for displaying recycle system.
- RecycleDisplay() - Constructor for class com.deco2800.game.components.foodAndwater.RecycleDisplay
- RecycleDisplay.recycleState - Enum in com.deco2800.game.components.foodAndwater
- recycleIcon - Static variable in class com.deco2800.game.components.foodAndwater.RecycleDisplay
- recycleNumber - Static variable in class com.deco2800.game.components.foodAndwater.RecycleDisplay
- recycleState - Static variable in class com.deco2800.game.components.foodAndwater.RecycleDisplay
- 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.
- registerDistanceService(DistanceService) - Static method in class com.deco2800.game.services.ServiceLocator
- registerEntityService(EntityService) - Static method in class com.deco2800.game.services.ServiceLocator
- registerInputService(InputService) - Static method in class com.deco2800.game.services.ServiceLocator
- registerPhysicsService(PhysicsService) - Static method in class com.deco2800.game.services.ServiceLocator
- registerRenderService(RenderService) - Static method in class com.deco2800.game.services.ServiceLocator
- registerResourceService(ResourceService) - Static method in class com.deco2800.game.services.ServiceLocator
- registerScoreService(ScoreService) - Static method in class com.deco2800.game.services.ServiceLocator
- registerTimeSource(GameTime) - Static method in class com.deco2800.game.services.ServiceLocator
- remove(Entity) - Method in class com.deco2800.game.components.player.Bag
- remove(Entity) - Method in interface com.deco2800.game.components.player.BagInterface
-
移除装备
- removeAddMaxHealthImage() - Method in class com.deco2800.game.components.player.PlayerStatsDisplay
- removeAfterAnimation() - Method in class com.deco2800.game.entities.Entity
-
Let the obstacles disappear after playing the animation for animationTime second.
- removeAfterParticle() - Method in class com.deco2800.game.entities.Entity
-
Let the obstacles disappear after playing the particle for particleTime second.
- removeAllBuff() - Method in class com.deco2800.game.components.player.PlayerStatsDisplay
- removeAnimation(String) - Method in class com.deco2800.game.rendering.AnimationRenderComponent
-
Remove an animation from this animator.
- removeBuff_Debuff() - Method in class com.deco2800.game.components.buff.Buff
- removeBuff_Debuff() - Method in class com.deco2800.game.components.buff.DeBuff
- removeBuff_Debuff() - Method in class com.deco2800.game.components.player.KeyboardPlayerInputComponent
- removeDecreaseHealthImage() - Method in class com.deco2800.game.components.player.PlayerStatsDisplay
- removeDecreaseSpeedImage() - Method in class com.deco2800.game.components.player.PlayerStatsDisplay
- removeIncreaseHealthImage() - Method in class com.deco2800.game.components.player.PlayerStatsDisplay
- removeItem(PropItemConfig) - Static method in class com.deco2800.game.files.PropStoreRecord
-
The func is used to remove the Item
- removePoisoningImage() - Method in class com.deco2800.game.components.player.PlayerStatsDisplay
- removeSlowSpeed() - Method in class com.deco2800.game.components.buff.DeBuff
- render() - Method in class com.deco2800.game.rendering.Renderer
-
Render everything to the render service.
- render(float) - Method in class com.deco2800.game.screens.AchievementsScreen
- render(float) - Method in class com.deco2800.game.screens.BuffManualMenuScreen
- render(float) - Method in class com.deco2800.game.screens.GameOverScreen
- render(float) - Method in class com.deco2800.game.screens.HistoryScoreScreen
- render(float) - Method in class com.deco2800.game.screens.InstructionsScreen
- 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.MonsterMenuScreen
- render(float) - Method in class com.deco2800.game.screens.PropsShopScreen
- render(float) - Method in class com.deco2800.game.screens.SettingsScreen
- render(float) - Method in class com.deco2800.game.screens.UnlockedAttiresScreen
- 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
- resetAchievements() - Static method in class com.deco2800.game.components.achievements.AchievementsStatsComponent
-
Lock all the achievements again
- resize(int, int) - Method in class com.deco2800.game.rendering.Renderer
-
Resize the renderer to a new screen size.
- resize(int, int) - Method in class com.deco2800.game.screens.AchievementsScreen
- resize(int, int) - Method in class com.deco2800.game.screens.BuffManualMenuScreen
- resize(int, int) - Method in class com.deco2800.game.screens.GameOverScreen
- resize(int, int) - Method in class com.deco2800.game.screens.HistoryScoreScreen
- resize(int, int) - Method in class com.deco2800.game.screens.InstructionsScreen
- 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.MonsterMenuScreen
- resize(int, int) - Method in class com.deco2800.game.screens.PropsShopScreen
- resize(int, int) - Method in class com.deco2800.game.screens.SettingsScreen
- resize(int, int) - Method in class com.deco2800.game.screens.UnlockedAttiresScreen
- 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
- resume() - Method in class com.deco2800.game.screens.MainGameScreen
- resume() - Method in class com.deco2800.game.screens.MainMenuScreen
- RIGHT - com.deco2800.game.physics.components.PhysicsComponent.AlignX
- RIGHT - Static variable in class com.deco2800.game.utils.math.Vector2Utils
- roarSound() - Method in class com.deco2800.game.components.SoundComponent
-
play sound for flying monkey
- ROCK_ROAD - com.deco2800.game.areas.terrain.TerrainFactory.TerrainType
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.
- score - Variable in class com.deco2800.game.entities.configs.achievements.ConditionConfig
- score - Variable in class com.deco2800.game.files.stats.GameRecords.Score
-
Score of that particular game
- Score() - Constructor for class com.deco2800.game.files.stats.GameRecords.Score
- scoreData - Variable in class com.deco2800.game.files.stats.GameRecords.Record
-
Score details of that particular game
- ScoreDetailsDialog - Class in com.deco2800.game.components.score
- ScoreDetailsDialog() - Constructor for class com.deco2800.game.components.score.ScoreDetailsDialog
- ScoreDisplay - Class in com.deco2800.game.components.score
-
A ui component for displaying player score
- ScoreDisplay() - Constructor for class com.deco2800.game.components.score.ScoreDisplay
- ScoreHistoryDisplay - Class in com.deco2800.game.components.score
- ScoreHistoryDisplay(GdxGame) - Constructor for class com.deco2800.game.components.score.ScoreHistoryDisplay
- ScoreService - Class in com.deco2800.game.services
-
controls the game score
- ScoreService() - Constructor for class com.deco2800.game.services.ScoreService
-
Constructor of score service gametime is the basic score calculation parameter.
- ScoringSystem - Interface in com.deco2800.game.components.score
- ScoringSystemV1 - Class in com.deco2800.game.components.score
-
This class is written by team 9.
- ScoringSystemV1() - Constructor for class com.deco2800.game.components.score.ScoringSystemV1
- 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.
- SelectedMusicList() - Constructor for class com.deco2800.game.files.meta.BackgroundMusic.SelectedMusicList
- selectMusic(String, String) - Static method in class com.deco2800.game.files.meta.BackgroundMusic
-
Selects a new background music and persists the choice
- 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
- setBonusItem() - Method in class com.deco2800.game.components.achievements.AchievementsBonusItems
-
adding a "spawnBonusItem" event for the AchievementsHelper and it could triggered when the player character unlocked one achievement
- setBoughtProps(PropStoreRecord.BoughtProps) - Static method in class com.deco2800.game.files.PropStoreRecord
-
The func is used to set the BoughtProps
- 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
- setDescription(String) - Method in class com.deco2800.game.entities.configs.buff.BuffDescriptionConfig
- setDifference(int) - Method in class com.deco2800.game.components.foodAndwater.CountFoodSystem
-
set the time difference
- setDifference(int) - Method in class com.deco2800.game.components.foodAndwater.CountWaterSystem
-
set the time difference
- setDisappearAfterAnimation(float, Entity.DisappearType) - Method in class com.deco2800.game.entities.Entity
-
Set disappear to true.
- setDisappearAfterParticle(float, Entity.DisappearType) - Method in class com.deco2800.game.entities.Entity
-
Set disappear to true.
- setDispose() - Method in class com.deco2800.game.entities.Entity
-
Set dispose to true.
- setDistance(double) - Method in class com.deco2800.game.components.achievements.AchievementsStatsComponent
-
Maintains the distance traveled by the main player character in meters
- setDistance(double) - Method in class com.deco2800.game.components.gameover.GameOverDisplay
- 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.
- setFirstAidByVal(int) - Method in class com.deco2800.game.components.achievements.AchievementsStatsComponent
- setFriction(float) - Method in class com.deco2800.game.physics.components.ColliderComponent
-
Set friction.
- setGameMetadata(GameInfo.GameMetadata) - Static method in class com.deco2800.game.files.meta.GameInfo
-
Persist the game metadata
- setGold(int) - Method in class com.deco2800.game.components.player.InventoryComponent
-
Sets the player's gold.
- setGold(int) - Static method in class com.deco2800.game.files.PropStoreRecord
-
The func is used to set the goldCoin amount
- setGoldByVal(int) - Method in class com.deco2800.game.components.achievements.AchievementsStatsComponent
- setHealth(int) - Method in class com.deco2800.game.components.achievements.AchievementsStatsComponent
-
Maintains the current health of player
- setHealth(int) - Method in class com.deco2800.game.components.CombatStatsComponent
-
Sets the entity's health.
- setHealthMax(int) - Method in class com.deco2800.game.components.CombatStatsComponent
- setHorizontal(float) - Method in class com.deco2800.game.rendering.BackgroundRenderComponent
-
Set the horizontal start point for the background texture
- setId(int) - Method in class com.deco2800.game.areas.terrain.TerrainTile
- setItemCount() - Method in class com.deco2800.game.components.achievements.AchievementsStatsComponent
-
Maintains the count of the number of items picked up
- setItemCountByVal(int) - Method in class com.deco2800.game.components.achievements.AchievementsStatsComponent
- setLayer(short) - Method in class com.deco2800.game.physics.components.ColliderComponent
-
Set the collider layer, used in collision logic
- setMaskBits(short) - Method in class com.deco2800.game.physics.components.ColliderComponent
-
Set the collider maskBits, 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.
- setName(String) - Method in class com.deco2800.game.entities.configs.buff.BuffDescriptionConfig
- setNewMapStatus(MainGameScreen.NewMap) - Static method in class com.deco2800.game.screens.MainGameScreen
-
setter method of newMapStatus
- 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.
- setParticleTime(float) - Method in class com.deco2800.game.entities.Entity
- setPlayer(Entity) - Method in class com.deco2800.game.components.npc.SpaceshipAttackController
-
Set player entity, used with addComponent.
- setPoints(double) - Method in class com.deco2800.game.components.gameover.GameOverDisplay
- 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.
- setPreDistance(double) - Static method in class com.deco2800.game.services.DistanceService
-
Set the pre distance, which is the distance between the tunnel and the left hand side screen.
- setPriority(int) - Method in class com.deco2800.game.input.InputComponent
- setRecords(GameRecords.Records) - Static method in class com.deco2800.game.files.stats.GameRecords
-
Store the new records in JSON file
- setRemoveCollision() - Method in class com.deco2800.game.entities.Entity
-
Set removeCollision to true.
- setRemoveTexture() - Method in class com.deco2800.game.entities.Entity
-
Set removeTexture to true.
- 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
- setScore(int) - Method in class com.deco2800.game.components.achievements.AchievementsStatsComponent
-
Maintains the current score
- 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
- setSlowPlayer(boolean) - Static method in class com.deco2800.game.screens.MainGameScreen
-
setter method of slowPlayer
- setSlowPlayer(float) - Static method in class com.deco2800.game.screens.MainGameScreen
-
Set the player deceleration time, the value set in the function is used by slowPlayer(), and the function is implemented in render().
- setSlowPlayerTime(float) - Static method in class com.deco2800.game.screens.MainGameScreen
-
setter method of slowPlayerTime
- setSpaceshipAttack() - Static method in class com.deco2800.game.components.npc.SpaceshipAttackController
-
Generate monsters based on the position of the enemy monkey, which is called by render().
- setSpaceshipAttack(boolean) - Static method in class com.deco2800.game.components.obstacle.ObstacleEventHandler
-
Setter for spaceshipAttack, used for test.
- setSpaceshipAvoidSuccess() - Method in class com.deco2800.game.components.achievements.AchievementsStatsComponent
-
Maintains the spaceshipAvoidSuccess status of the player
- setSpaceshipState(SpaceshipAttackController.SpaceshipAttack) - Static method in class com.deco2800.game.components.npc.SpaceshipAttackController
-
Set the state of the spacecraft, use it when testing
- 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.
- setTexturePresent(boolean) - Method in class com.deco2800.game.components.player.PlayerAnimationController
- setTextureRegion(TextureRegion) - Method in class com.deco2800.game.areas.terrain.TerrainTile
- setTime(long) - Method in class com.deco2800.game.components.achievements.AchievementsStatsComponent
-
Maintains the in game time
- setTimer(int) - Method in class com.deco2800.game.components.foodAndwater.CountFoodSystem
-
set a time
- setTimer(int) - Method in class com.deco2800.game.components.foodAndwater.CountWaterSystem
-
set a time
- 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 - 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
- setVertical(float) - Method in class com.deco2800.game.rendering.BackgroundRenderComponent
-
Set the vertical start point for the background texture
- setZIndex(int) - Method in class com.deco2800.game.entities.Entity
-
Set the entity's zIndex.
- showFlag - Static variable in class com.deco2800.game.components.buff.BuffDescriptionDisplay
- showNewMapScrollingBackground(int, float) - Method in class com.deco2800.game.areas.ForestGameArea
-
Show background in the new map according to the given horizontal and vertical start point
- showScrollingBackground(int) - Method in class com.deco2800.game.areas.ForestGameArea
-
Show background in the regular map according to the given counter
- 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
- slowSpeed() - Method in class com.deco2800.game.components.buff.DeBuff
-
Player's movement will be slow
- SMALL_MISSILE - com.deco2800.game.components.obstacle.ObstacleEventHandler.ObstacleType
- smallMeteorite - Variable in class com.deco2800.game.entities.configs.ObstaclesConfigs
- SmallMeteorite - com.deco2800.game.entities.factories.ObstacleFactory.MeteoriteType
- smallMissile - Variable in class com.deco2800.game.entities.configs.NPCConfigs
- 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
- SoundComponent - Class in com.deco2800.game.components
-
sound component for entity, play sound by triggering event
- SoundComponent(ObstacleEventHandler.ObstacleType, Sound) - Constructor for class com.deco2800.game.components.SoundComponent
-
for test to mock Sound
- SoundComponent(ObstacleEventHandler.ObstacleType, String) - Constructor for class com.deco2800.game.components.SoundComponent
-
Create a component for sound play
- SPACESHIP - com.deco2800.game.components.obstacle.ObstacleEventHandler.ObstacleType
- SpaceshipAttackController - Class in com.deco2800.game.components.npc
-
This class deals with the scene of the spaceship attack.
- SpaceshipAttackController() - Constructor for class com.deco2800.game.components.npc.SpaceshipAttackController
- SpaceshipAttackController.AttackType - Enum in com.deco2800.game.components.npc
-
Spaceship attack type
- SpaceshipAttackController.SpaceshipAttack - Enum in com.deco2800.game.components.npc
-
Spaceship attack state
- spaceshipAvoidSuccess - Variable in class com.deco2800.game.entities.configs.achievements.ConditionConfig
- spaceshipSound() - Method in class com.deco2800.game.components.SoundComponent
-
Play sound for spaceship
- spaceshipState - Static variable in class com.deco2800.game.components.npc.SpaceshipAttackController
- spawnBonusItem() - Method in class com.deco2800.game.components.achievements.AchievementsBonusItems
-
This func is used to spawn bonus items at the game world when an achievement is triggered.
- 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.
- spawnEntityAt(Entity, Vector2, boolean, boolean) - Method in class com.deco2800.game.areas.GameArea
-
Spawn entity on a given tile.
- spawnFaceWorm(Vector2) - Method in class com.deco2800.game.areas.ForestGameArea
-
Generate Face Worm at current Flying Monkeys location.
- spawnFireRocksone(int) - Method in class com.deco2800.game.areas.ForestGameArea
-
Generate line 5 rocks in the new map
- spawnFireRocksthree(int) - Method in class com.deco2800.game.areas.ForestGameArea
- spawnFireRockstwo(int) - Method in class com.deco2800.game.areas.ForestGameArea
-
Genrate large rock pyramid N NN NNN NNNN
- spawnFirstAid() - Method in class com.deco2800.game.areas.ForestGameArea
- spawnFlyingMonkey() - Method in class com.deco2800.game.areas.ForestGameArea
-
Generate Flying Monkeys at random locations.
- spawnGoldNewMapRandomly(int) - Method in class com.deco2800.game.areas.ForestGameArea
-
Generate another set of gold from the given horizontal start point in the new map
- spawnInvisibleCeiling(Vector2, GridPoint2) - Method in class com.deco2800.game.areas.ForestGameArea
-
Generate invisible ceiling on top to avoid the character jump out of the map
- spawnMeteorites(int, int, int, int, int, int) - Method in class com.deco2800.game.areas.ForestGameArea
-
Generate a certain number of meteorites, called by render() in MainGameScreen.java.
- spawnNailsfour(int) - Method in class com.deco2800.game.areas.ForestGameArea
- spawnNailsone(int) - Method in class com.deco2800.game.areas.ForestGameArea
- spawnNailsthree(int) - Method in class com.deco2800.game.areas.ForestGameArea
- spawnNailstwo(int) - Method in class com.deco2800.game.areas.ForestGameArea
- spawnObstacles() - Method in class com.deco2800.game.areas.ForestGameArea
-
Obstacles are randomly generated according to the position of the character.
- spawnPortal(Vector2, ObstacleEventHandler.ObstacleType) - Method in class com.deco2800.game.areas.ForestGameArea
-
Generate Small Missile at Spaceship location.
- spawnRockstwo(int) - Method in class com.deco2800.game.areas.ForestGameArea
-
Generate rocks pyramid N NN NNN
- spawnSmallMissile(Vector2) - Method in class com.deco2800.game.areas.ForestGameArea
-
Generate Small Missile at Spaceship location.
- spawnSpaceship() - Method in class com.deco2800.game.areas.ForestGameArea
-
Generate Spaceship at fixed location.
- spawnTerrain(TerrainFactory.TerrainType) - Method in class com.deco2800.game.areas.ForestGameArea
-
Generate the first set of terrain
- spawnTerrainRandomly(int, TerrainFactory.TerrainType) - Method in class com.deco2800.game.areas.ForestGameArea
-
Generate the continuous terrain after the first set of terrain
- spawnWoodsfive(int) - Method in class com.deco2800.game.areas.ForestGameArea
- spawnWoodsfour(int) - Method in class com.deco2800.game.areas.ForestGameArea
- spawnWoodsone(int) - Method in class com.deco2800.game.areas.ForestGameArea
- spawnWoodsRandomly(int) - Method in class com.deco2800.game.areas.ForestGameArea
-
Generate 5 wood randomly in the 52f and 54f height and given horizontal start point
- spawnWoodsthree(int) - Method in class com.deco2800.game.areas.ForestGameArea
- spawnWoodstwo(int) - Method in class com.deco2800.game.areas.ForestGameArea
- speed - Variable in class com.deco2800.game.entities.configs.propStore.PropPropertyConfig
- 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.ObstacleAttackTask
- start() - Method in class com.deco2800.game.components.tasks.WaitTask
-
Start waiting from now until duration has passed.
- start() - Method in class com.deco2800.game.components.tasks.WanderTask
- START - com.deco2800.game.components.npc.SpaceshipAttackController.SpaceshipAttack
- START - com.deco2800.game.screens.MainGameScreen.NewMap
- startAnimation(String) - Method in class com.deco2800.game.rendering.AnimationRenderComponent
-
Start playback of an animation.
- startEffect() - Method in class com.deco2800.game.rendering.ParticleRenderComponent
-
Start the particle effect on this entity
- startGameClock() - Method in class com.deco2800.game.components.score.ScoringSystemV1
-
Record the gaming time in seconds.
- 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.
- stopMusic() - Method in class com.deco2800.game.areas.ForestGameArea
-
Stop the regular map bgm
- stopNewMapMusic() - Method in class com.deco2800.game.areas.ForestGameArea
-
Stop the new map bgm
- stopSound() - Method in class com.deco2800.game.components.BackgroundSoundComponent
-
Stop playing the music
- stopTimer() - Static method in class com.deco2800.game.components.score.ScoringSystemV1
-
Stop the timer in the scoringSystem class.
- stopTimerTask() - Static method in class com.deco2800.game.components.score.ScoringSystemV1
-
Instead of stop the timer, just stop the task
- storeGameRecord() - Static method in class com.deco2800.game.files.stats.GameRecords
-
Stores the records of the most recent game played into a JSON file Note: Run this method only after the in game count has updated
- 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.
- subtractGold(int) - Static method in class com.deco2800.game.files.PropStoreRecord
-
The func is used to subtract goldCoin amount got
T
- table - Static variable in class com.deco2800.game.components.foodAndwater.RecycleDisplay
- 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 - Static variable in class com.deco2800.game.components.score.ScoringSystemV1
- Task - Interface in com.deco2800.game.ai.tasks
-
An AI task can be started and stopped at any time.
- Task.Status - Enum 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 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 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
- TestBuffForItem - Class in com.deco2800.game.components.items
- TestBuffForItem() - Constructor for class com.deco2800.game.components.items.TestBuffForItem
- 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
- Thirsty() - Method in class com.deco2800.game.components.buff.DeBuff
-
when player is thirst ,player will be lose hp
- thorn - Variable in class com.deco2800.game.entities.configs.ObstaclesConfigs
- THORNS_OBSTACLE - com.deco2800.game.components.obstacle.ObstacleEventHandler.ObstacleType
- tileToWorldPosition(int, int) - Method in class com.deco2800.game.areas.terrain.TerrainComponent
- tileToWorldPosition(GridPoint2) - Method in class com.deco2800.game.areas.terrain.TerrainComponent
- time - Variable in class com.deco2800.game.entities.configs.achievements.ConditionConfig
- TimerDisplay - Class in com.deco2800.game.components.score
-
A ui component for displaying player time.
- TimerDisplay() - Constructor for class com.deco2800.game.components.score.TimerDisplay
- toggleIsOpen() - Method in class com.deco2800.game.ui.terminal.Terminal
-
Toggles between the terminal being open and closed.
- TOP - 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 - 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
- trackAchievementDisplayed(BaseAchievementConfig) - Method in class com.deco2800.game.components.achievements.AchievementsHelper
-
Triggers an event when an achievement popup is being showed mid game
- trackAddBonusGold(int) - Method in class com.deco2800.game.components.achievements.AchievementsHelper
-
Triggers an event when the bonus gold needs to be added
- trackAddBonusGold(BaseAchievementConfig) - Method in class com.deco2800.game.components.achievements.AchievementsHelper
-
Triggers an event when the bonus gold needs to be added
- trackBonusPoints(int) - Method in class com.deco2800.game.components.achievements.AchievementsHelper
-
Triggers an event when a new bonus point event is encountered
- trackHealthEvent(int) - Method in class com.deco2800.game.components.achievements.AchievementsHelper
-
Tracks changes in the health property of the player and triggers an event for the achievements system
- trackItemPickedUpEvent() - Method in class com.deco2800.game.components.achievements.AchievementsHelper
-
Triggers an event when an item is picked up for the achievements system
- trackItemPickedUpEvent(String) - Method in class com.deco2800.game.components.achievements.AchievementsHelper
-
Triggers an event when a first aid item is picked up by the player
- trackSpaceshipAvoidSuccess() - Method in class com.deco2800.game.components.achievements.AchievementsHelper
-
Triggers an event when the spaceship boss was avoided with success
- trackUnlockedAchievementDisposed() - Method in class com.deco2800.game.components.achievements.AchievementsHelper
-
Triggers an event when an achievement being displayed mid game is being disposed
- 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.
- TutorialScreen - Class in com.deco2800.game.screens
- TutorialScreen() - Constructor for class com.deco2800.game.screens.TutorialScreen
- type - Variable in class com.deco2800.game.entities.configs.achievements.BaseAchievementConfig
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
- unlocked - Variable in class com.deco2800.game.entities.configs.achievements.BaseAchievementConfig
- unlocked - Variable in class com.deco2800.game.files.stats.GameChapters.Chapter
- UNLOCKED_ATTIRES - com.deco2800.game.GdxGame.ScreenType
- UnlockedAttiresDisplay - Class in com.deco2800.game.components.player
-
A UI component to display unlocked attires and the achievements needed to unlock attires
- UnlockedAttiresDisplay(GdxGame, int) - Constructor for class com.deco2800.game.components.player.UnlockedAttiresDisplay
- UnlockedAttiresScreen - Class in com.deco2800.game.screens
-
Screen displaying unlocked attires
- UnlockedAttiresScreen(GdxGame) - Constructor for class com.deco2800.game.screens.UnlockedAttiresScreen
- 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.achievements.AchievementsStatsComponent
- 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.foodAndwater.FoodDisplay
-
Reduce food when time increase
- update() - Method in class com.deco2800.game.components.foodAndwater.RecycleDisplay
- update() - Method in class com.deco2800.game.components.foodAndwater.WaterDisplay
-
Reduce water when time increase
- update() - Method in class com.deco2800.game.components.ItemBar.ItemBarDisplay
- update() - Method in class com.deco2800.game.components.items.GoldComponent
- update() - Method in class com.deco2800.game.components.items.PropsShopDisplay
- update() - Method in class com.deco2800.game.components.npc.SpaceshipAttackController
- update() - Method in class com.deco2800.game.components.player.PlayerActions
- update() - Method in class com.deco2800.game.components.score.DistanceDisplay
- update() - Method in class com.deco2800.game.components.score.ScoreDisplay
- update() - Method in class com.deco2800.game.components.score.TimerDisplay
- 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
- updateAttire(String) - Static method in class com.deco2800.game.files.MPCConfig
-
Retrieve the current attire value and update PlayerConfig
- updateConditionsAndRevalidate(String, double) - Method in class com.deco2800.game.components.achievements.AchievementsStatsComponent
-
Updates the game variables in concern and checks if an achievement has been unlocked
- updateinventory() - Method in class com.deco2800.game.components.items.InventorySystem
- updateItemBarUI() - Method in class com.deco2800.game.components.ItemBar.ItemBarDisplay
- updatePlayerDistanceUI(double) - Method in class com.deco2800.game.components.score.DistanceDisplay
-
Updates the player's distance on the ui.
- updatePlayerGold(int) - Method in class com.deco2800.game.components.player.PlayerStatsDisplay
- updatePlayerHealth(int) - Method in class com.deco2800.game.components.foodAndwater.FoodDisplay
- updatePlayerHealth(int) - Method in class com.deco2800.game.components.foodAndwater.WaterDisplay
- updatePlayerHealthUI(int) - Method in class com.deco2800.game.components.player.PlayerStatsDisplay
-
Updates the player's health on the ui.
- updatePlayerScoreUI(int) - Method in class com.deco2800.game.components.score.ScoreDisplay
-
Updates the player's score on the ui.
- updatePlayerTimerUI(int) - Method in class com.deco2800.game.components.foodAndwater.FoodDisplay
-
Updates the Chicken ui time by time increase.
- updatePlayerTimerUI(int) - Method in class com.deco2800.game.components.foodAndwater.WaterDisplay
-
Updates the water ui time by time increase.
- updatePlayerTimerUI(int, int) - Method in class com.deco2800.game.components.score.TimerDisplay
-
Updates the player's gaming time on the ui.
- updateRecyleIconUI(int) - Method in class com.deco2800.game.components.foodAndwater.RecycleDisplay
-
Updates the recycle ui time by time conditions, pick up an item.
- updateSpeed(Vector2) - Method in class com.deco2800.game.entities.Entity
- updateValues() - Static method in class com.deco2800.game.files.MPCConfig
-
Update the current attire value to OG in the JSON file when no attire has been selected
- updateValues(PlayerConfig) - Static method in class com.deco2800.game.files.MPCConfig
-
Write the current attire value into the JSON file
- used - Variable in class com.deco2800.game.entities.configs.propStore.PropItemConfig
- usefood() - Static method in class com.deco2800.game.components.ItemBar.newItembar
-
if the food number is greater than one, food number minus one
- usekit() - Static method in class com.deco2800.game.components.ItemBar.newItembar
-
if the kit number is greater than one, kit number minus one
- usepao() - Static method in class com.deco2800.game.components.ItemBar.newItembar
- usePropHealth(Entity, int) - Static method in class com.deco2800.game.components.items.PropShopHelper
- useProps(Entity) - Static method in class com.deco2800.game.components.items.PropShopHelper
- 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.
- usewater() - Static method in class com.deco2800.game.components.ItemBar.newItembar
-
if the water number is greater than one, water number minus one
V
- valueOf(String) - Static method in enum com.deco2800.game.ai.tasks.Task.Status
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.deco2800.game.areas.terrain.TerrainComponent.TerrainOrientation
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.deco2800.game.areas.terrain.TerrainFactory.TerrainType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.deco2800.game.components.foodAndwater.RecycleDisplay.recycleState
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.deco2800.game.components.npc.SpaceshipAttackController.AttackType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.deco2800.game.components.npc.SpaceshipAttackController.SpaceshipAttack
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.deco2800.game.components.obstacle.ObstacleEventHandler.ObstacleType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.deco2800.game.entities.Entity.DisappearType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.deco2800.game.entities.factories.ObstacleFactory.MeteoriteType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.deco2800.game.files.FileLoader.Location
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.deco2800.game.GdxGame.ScreenType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.deco2800.game.input.InputFactory.InputType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.deco2800.game.physics.components.PhysicsComponent.AlignX
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.deco2800.game.physics.components.PhysicsComponent.AlignY
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.deco2800.game.screens.MainGameScreen.NewMap
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.deco2800.game.ai.tasks.Task.Status
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.deco2800.game.areas.terrain.TerrainComponent.TerrainOrientation
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.deco2800.game.areas.terrain.TerrainFactory.TerrainType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.deco2800.game.components.foodAndwater.RecycleDisplay.recycleState
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.deco2800.game.components.npc.SpaceshipAttackController.AttackType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.deco2800.game.components.npc.SpaceshipAttackController.SpaceshipAttack
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.deco2800.game.components.obstacle.ObstacleEventHandler.ObstacleType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.deco2800.game.entities.Entity.DisappearType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.deco2800.game.entities.factories.ObstacleFactory.MeteoriteType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.deco2800.game.files.FileLoader.Location
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.deco2800.game.GdxGame.ScreenType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.deco2800.game.input.InputFactory.InputType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.deco2800.game.physics.components.PhysicsComponent.AlignX
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.deco2800.game.physics.components.PhysicsComponent.AlignY
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.deco2800.game.screens.MainGameScreen.NewMap
-
Returns an array containing the constants of this enum type, 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
- WALL - Static variable in class com.deco2800.game.physics.PhysicsLayer
- 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
- water - com.deco2800.game.components.foodAndwater.RecycleDisplay.recycleState
- water - Variable in class com.deco2800.game.entities.configs.propStore.PropPropertyConfig
- WaterDisplay - Class in com.deco2800.game.components.foodAndwater
-
A ui component for displaying water system.
- WaterDisplay() - Constructor for class com.deco2800.game.components.foodAndwater.WaterDisplay
- waterImage - Static variable in class com.deco2800.game.components.foodAndwater.WaterDisplay
- waters - Static variable in class com.deco2800.game.components.ItemBar.newItembar
-
waters stored in item bar
- WEAPON - com.deco2800.game.components.obstacle.ObstacleEventHandler.ObstacleType
- WEAPON - Static variable in class com.deco2800.game.physics.PhysicsLayer
- 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 All Packages