Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- ABSOLUTE - Enum constant in enum class com.csse3200.game.files.FileLoader.Location
- acceptQuest(Quest) - Method in class com.csse3200.game.missions.MissionManager
-
Accepts a quest by adding it to the list of active quests in the game.
- Achievement - Class in com.csse3200.game.missions.achievements
-
Adding test achievement to fix broken build
- Achievement(String) - Constructor for class com.csse3200.game.missions.achievements.Achievement
-
Creates an
Achievement
with the givenString
name. - ACID_BURN - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- ACID_RAIN_QUEST_NAME - Static variable in class com.csse3200.game.missions.quests.QuestFactory
- AcidShowerEvent - Class in com.csse3200.game.areas.weather
-
An acid rain event to occur in game affecting both the temperature and the climate and other surrounding entities.
- AcidShowerEvent(int, int, int, float) - Constructor for class com.csse3200.game.areas.weather.AcidShowerEvent
-
Constructs a AcidShowerEvent with a given countdown, duration, priority and severity.
- ACT_I_MAIN_QUEST_NAME - Static variable in class com.csse3200.game.missions.quests.QuestFactory
- ACT_II_MAIN_QUEST_NAME - Static variable in class com.csse3200.game.missions.quests.QuestFactory
- ACT_III_MAIN_QUEST_NAME - Static variable in class com.csse3200.game.missions.quests.QuestFactory
- action(ArrayList<String>) - Method in class com.csse3200.game.ui.terminal.commands.AddItemCommand
-
Action a command to add an item to a player's inventory
- action(ArrayList<String>) - Method in class com.csse3200.game.ui.terminal.commands.AddWeatherCommand
-
Action a command to add a weather event to the game
- action(ArrayList<String>) - Method in interface com.csse3200.game.ui.terminal.commands.Command
-
Action a command.
- action(ArrayList<String>) - Method in class com.csse3200.game.ui.terminal.commands.DebugCommand
-
Toggles debug mode on or off if the corresponding argument is received.
- action(ArrayList<String>) - Method in class com.csse3200.game.ui.terminal.commands.DialogueScreenCommand
- action(ArrayList<String>) - Method in class com.csse3200.game.ui.terminal.commands.GODDIDCommand
-
loads game through the SaveLoad service (imagine copying t1's code right)
- action(ArrayList<String>) - Method in class com.csse3200.game.ui.terminal.commands.GODDIDNTCommand
-
kills the player
- action(ArrayList<String>) - Method in class com.csse3200.game.ui.terminal.commands.LoadCommand
-
loads game through the SaveLoad service
- action(ArrayList<String>) - Method in class com.csse3200.game.ui.terminal.commands.PlantCommand
-
Action a command.
- action(ArrayList<String>) - Method in class com.csse3200.game.ui.terminal.commands.RemoveItemCommand
-
Action a command to add an item to a player's inventory
- action(ArrayList<String>) - Method in class com.csse3200.game.ui.terminal.commands.SaveCommand
-
saves game through the SaveLoad service
- action(ArrayList<String>) - Method in class com.csse3200.game.ui.terminal.commands.SetDayCommand
-
Adjusts the current game time to the specified value
- action(ArrayList<String>) - Method in class com.csse3200.game.ui.terminal.commands.SetTimeCommand
-
Adjusts the current game time to the specified value
- action(ArrayList<String>) - Method in class com.csse3200.game.ui.terminal.commands.SetTimeScaleCommand
-
Adjusts the current game time to the specified value
- action(ArrayList<String>) - Method in class com.csse3200.game.ui.terminal.commands.SpawnCommand
-
Spawns an entity in the game world.
- ACTIVE - Enum constant in enum class com.csse3200.game.ai.tasks.Task.Status
- ADD_PART - Enum constant in enum class com.csse3200.game.entities.factories.ShipFactory.events
- addAnimation(String, float) - Method in class com.csse3200.game.rendering.AnimationRenderComponent
-
Register an animation from the texture atlas.
- addAnimation(String, float, Animation.PlayMode) - Method in class com.csse3200.game.rendering.AnimationRenderComponent
-
Register an animation from the texture atlas.
- addAoeAnimatorEntity(Entity) - Method in class com.csse3200.game.components.plants.PlantComponent
-
add animations for area of effect
- addClueItem(Entity) - Method in class com.csse3200.game.areas.terrain.ShipPartTileComponent
-
Set the ship clue item associated with this tile.
- addCommand(String, Command) - Method in class com.csse3200.game.ui.terminal.Terminal
-
Adds a command to the list of valid terminal commands.
- addComponent(Component) - Method in class com.csse3200.game.entities.Entity
-
Add a component to the entity.
- addComponent(ParticleEffectComponent) - Method in class com.csse3200.game.services.ParticleService
-
Adds a
ParticleEffectComponent
to theList
ofParticleEffectComponent
s tracked by theParticleService
so that it can render each individual effect. - addCutsceneAnimation(Entity) - Method in class com.csse3200.game.components.placeables.DialogueComponent
- addFishingRodAnimatorEntity(Entity) - Method in class com.csse3200.game.components.player.PlayerAnimationController
- addHealth(int) - Method in class com.csse3200.game.components.combat.CombatStatsComponent
-
Adds to the player's health.
- addInventoryDisplay(InventoryDisplay) - Method in class com.csse3200.game.components.inventory.InventoryDisplayManager
-
Add an inventoryDisplay to the manager
- addItem(ItemComponent) - Method in class com.csse3200.game.components.player.InventoryComponent
-
Adds an item to the Player's inventory
- addItem(Entity) - Method in class com.csse3200.game.components.player.InventoryComponent
-
Adds an item to the Player's inventory
- AddItemCommand - Class in com.csse3200.game.ui.terminal.commands
- AddItemCommand() - Constructor for class com.csse3200.game.ui.terminal.commands.AddItemCommand
- addListener(String, EventListener0) - Method in class com.csse3200.game.events.EventHandler
-
Add a listener to an event with zero arguments
- addListener(String, EventListener1<T>) - Method in class com.csse3200.game.events.EventHandler
-
Add a listener to an event with one argument
- addListener(String, EventListener2<T0, T1>) - Method in class com.csse3200.game.events.EventHandler
-
Add a listener to an event with two arguments
- addListener(String, EventListener3<T0, T1, T2>) - Method in class com.csse3200.game.events.EventHandler
-
Add a listener to an event with three arguments
- addMultipleItem(int, Entity, int) - Method in class com.csse3200.game.components.player.InventoryComponent
-
Adds an item to the Player's inventory
- addOxygen(float) - Method in interface com.csse3200.game.services.OxygenLevel
-
Add x kilograms of oxygen to the object in question.
- addOxygen(float) - Method in class com.csse3200.game.services.PlanetOxygenService
- addQuest(Quest) - Method in class com.csse3200.game.missions.MissionManager
- addShipDebris(Entity) - Method in class com.csse3200.game.areas.terrain.ShipPartTileComponent
-
Set the ship debris associated with this tile.
- addTarget(InventoryDisplay, InventoryDisplay) - Method in class com.csse3200.game.components.inventory.InventoryDisplayManager
- addTargets() - Method in class com.csse3200.game.components.inventory.InventoryDisplayManager
- addTask(PriorityTask) - Method in class com.csse3200.game.ai.tasks.AITaskComponent
-
Add a priority task to the list of tasks.
- addTooltips() - Method in class com.csse3200.game.components.inventory.InventoryDisplay
- addTooltips() - Method in class com.csse3200.game.components.inventory.ToolbarDisplay
- addWaterAnimator(Entity) - Method in class com.csse3200.game.components.placeables.SprinklerComponent
- AddWeatherCommand - Class in com.csse3200.game.ui.terminal.commands
- AddWeatherCommand() - Constructor for class com.csse3200.game.ui.terminal.commands.AddWeatherCommand
- addWeatherEvent(WeatherEvent) - Method in class com.csse3200.game.areas.weather.ClimateController
-
Adds a weather event to the list of weather events stored in the climate controller class
- adjustVolume() - Method in class com.csse3200.game.services.sound.BackgroundMusicService
- ADULT - Enum constant in enum class com.csse3200.game.components.plants.PlantComponent.GrowthStage
- adultLifeSpan - Variable in class com.csse3200.game.entities.configs.plants.BasePlantConfig
- adultLifeSpanCheck() - Method in class com.csse3200.game.components.plants.PlantComponent
-
Check if the plant has exceeded its adult lifespan.
- adultThreshold - Variable in class com.csse3200.game.entities.configs.plants.BasePlantConfig
- AIR_AND_ALGAE_QUEST_NAME - Static variable in class com.csse3200.game.missions.quests.QuestFactory
- AITaskComponent - Class in com.csse3200.game.ai.tasks
-
Task-based AI component.
- AITaskComponent() - Constructor for class com.csse3200.game.ai.tasks.AITaskComponent
- ALIEN - Enum constant in enum class com.csse3200.game.missions.cutscenes.Cutscene.CutsceneType
- ALIENS_ATTACK_QUEST_NAME - Static variable in class com.csse3200.game.missions.quests.QuestFactory
- ALL - Static variable in class com.csse3200.game.physics.PhysicsLayer
- AllHitCallback - Class in com.csse3200.game.physics.raycast
-
Cast a ray against all colliders that match the layer mask.
- AllHitCallback() - Constructor for class com.csse3200.game.physics.raycast.AllHitCallback
- ALOE_VERA_CLICK_LORE - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- ALOE_VERA_DECAY_LORE - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- ALOE_VERA_DESTROY_LORE - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- ALOE_VERA_NEARBY_LORE - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- aloeVera - Variable in class com.csse3200.game.entities.configs.plants.PlantConfigs
- AN_IMMINENT_THREAT_QUEST_NAME - Static variable in class com.csse3200.game.missions.quests.QuestFactory
- angleFromTo(Vector2, Vector2) - Static method in class com.csse3200.game.utils.math.Vector2Utils
-
Calculate the angle in degrees between two vectors
- angleTo(Vector2) - Static method in class com.csse3200.game.utils.math.Vector2Utils
-
Calculate the angle in degrees of a vector.
- angleToDirection(float) - Static method in class com.csse3200.game.utils.DirectionUtils
- ANIMAL_EATEN - Enum constant in enum class com.csse3200.game.missions.MissionManager.MissionEvent
- ANIMAL_FOOD - Enum constant in enum class com.csse3200.game.components.items.ItemType
- ANIMAL_REPEAT_QUEST - Static variable in class com.csse3200.game.missions.quests.QuestFactory
- ANIMAL_TAMED - Enum constant in enum class com.csse3200.game.missions.MissionManager.MissionEvent
- AnimalAnimationController - Class in com.csse3200.game.components.npc
-
This class listens to events relevant to a chicken entity's state and plays the animation when one of the events is triggered.
- AnimalAnimationController() - Constructor for class com.csse3200.game.components.npc.AnimalAnimationController
- AnimalEffectsController - Class in com.csse3200.game.components.npc
-
A component responsible for managing animation effects for animal entities in the game.
- AnimalEffectsController() - Constructor for class com.csse3200.game.components.npc.AnimalEffectsController
- animateIdle() - Method in class com.csse3200.game.components.npc.AnimalAnimationController
-
Play idle animation with current direction
- animateIdle() - Method in class com.csse3200.game.components.npc.HostileAnimationController
-
Play idle animation when no action animation is currently playing
- animateRun() - Method in class com.csse3200.game.components.npc.AnimalAnimationController
-
Play run animation with current direction
- animateRun() - Method in class com.csse3200.game.components.npc.HostileAnimationController
-
Play run animation when no action animation is currently playing
- animateWalk() - Method in class com.csse3200.game.components.npc.AnimalAnimationController
-
Play walk animation with current direction
- animateWalk() - Method in class com.csse3200.game.components.npc.HostileAnimationController
-
Play walk animation when no action animation is currently playing
- ANIMATION_INTERACT - Enum constant in enum class com.csse3200.game.components.player.PlayerAnimationController.events
- ANIMATION_RUN_START - Enum constant in enum class com.csse3200.game.components.player.PlayerAnimationController.events
- ANIMATION_WALK_START - Enum constant in enum class com.csse3200.game.components.player.PlayerAnimationController.events
- ANIMATION_WALK_STOP - Enum constant in enum class com.csse3200.game.components.player.PlayerAnimationController.events
- AnimationEffectsComponent - Class in com.csse3200.game.rendering
-
A component responsible for rendering animation effects using a TextureAtlas.
- AnimationEffectsComponent(TextureAtlas) - Constructor for class com.csse3200.game.rendering.AnimationEffectsComponent
-
Initializes the AnimationEffectsComponent with the given TextureAtlas.
- animationPlayTime - Variable in class com.csse3200.game.rendering.AnimationRenderComponent
- AnimationRenderComponent - Class in com.csse3200.game.rendering
-
Renders animations from a texture atlas on an entity.
- AnimationRenderComponent(TextureAtlas) - Constructor for class com.csse3200.game.rendering.AnimationRenderComponent
-
Create the component for a given texture atlas.
- AnimationRenderComponent(TextureAtlas, float) - Constructor for class com.csse3200.game.rendering.AnimationRenderComponent
-
Create the component for a given texture atlas.
- AnimationRenderComponent(TextureAtlas, float, int) - Constructor for class com.csse3200.game.rendering.AnimationRenderComponent
- animations - Variable in class com.csse3200.game.components.inventory.InstantTooltipManager
- animator - Variable in class com.csse3200.game.components.combat.ProjectileAnimationController
- animator - Variable in class com.csse3200.game.components.npc.AnimalAnimationController
-
Render component used to render animals.
- aoe - Variable in class com.csse3200.game.components.placeables.SprinklerComponent
-
A sprinklers area of effect to water, aoe is circular with radius of 2.
- appendToMessage(char) - Method in class com.csse3200.game.ui.terminal.Terminal
-
Appends the character to the end of the entered message.
- applySettings(UserSettings.Settings) - Static method in class com.csse3200.game.files.UserSettings
-
Apply the given settings without storing them.
- areaEntities - Variable in class com.csse3200.game.areas.GameArea
- args() - Method in record class com.csse3200.game.events.ScheduledEvent
-
Returns the value of the
args
record component. - astrolotl - Variable in class com.csse3200.game.entities.configs.NPCConfigs
- ASTROLOTL - Enum constant in enum class com.csse3200.game.entities.EntityType
- ASTROLOTL - Enum constant in enum class com.csse3200.game.entities.HungerEntityType
- ASTROLOTL_FEED - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- atlasPath - Variable in class com.csse3200.game.entities.configs.plants.BasePlantConfig
- ATOMIC_ALGAE_CLICK_LORE - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- ATOMIC_ALGAE_DECAY_LORE - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- ATOMIC_ALGAE_DESTROY_LORE - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- ATOMIC_ALGAE_NEARBY_LORE - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- atomicAlgae - Variable in class com.csse3200.game.entities.configs.plants.PlantConfigs
- attack() - Method in class com.csse3200.game.components.combat.attackpatterns.AttackPatternComponent
-
Attacks and schedules next attack.
- attack() - Method in class com.csse3200.game.components.combat.attackpatterns.BatAttackPattern
-
Performs the attack action, which involves determining the nearest entity, changing direction, triggering attack events, and scheduling the next attack.
- attack() - Method in class com.csse3200.game.components.combat.attackpatterns.DragonflyAttackPattern
-
Performs the attack action, which involves determining the nearest entity, changing direction, triggering attack events, and scheduling the next attack.
- attack() - Method in class com.csse3200.game.components.combat.attackpatterns.OxygenEaterAttackPattern
-
Performs the attack action which involves detecting the player entity if one exists and shooting projectiles at them.
- attack() - Method in class com.csse3200.game.components.combat.attackpatterns.ShipEaterAttackPattern
-
Performs the attack action, which involves determining the nearest entity, changing direction, triggering attack events, and scheduling the next attack.
- ATTACK - Enum constant in enum class com.csse3200.game.components.player.PlayerActions.events
- ATTACK_EFFECT - Enum constant in enum class com.csse3200.game.services.ParticleService.ParticleEffectType
- ATTACK_HIT - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- ATTACK_MISS - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- attackFrequency - Variable in class com.csse3200.game.components.combat.attackpatterns.AttackPatternComponent
-
Frequency of attacks in seconds
- AttackPatternComponent - Class in com.csse3200.game.components.combat.attackpatterns
-
The AttackPatternComponent is responsible for managing the attack patterns of entities within the game.
- AttackPatternComponent(float) - Constructor for class com.csse3200.game.components.combat.attackpatterns.AttackPatternComponent
- AuraLightComponent - Class in com.csse3200.game.components
- AuraLightComponent() - Constructor for class com.csse3200.game.components.AuraLightComponent
-
Creates a AuraLightComponent which can be attached to an entity to enable it to produce light.
- AuraLightComponent(float) - Constructor for class com.csse3200.game.components.AuraLightComponent
-
Creates an AuraLightComponent which can be attached to an entity to enable it to produce light.
- AuraLightComponent(float, Color) - Constructor for class com.csse3200.game.components.AuraLightComponent
-
Creates an AuraLightComponent which can be attached to an entity to enable it to produce light.
- AuraLightComponent(Color) - Constructor for class com.csse3200.game.components.AuraLightComponent
-
Creates an AuraLightComponent which can be attached to an entity to enable it to produce light.
- AutoQuest - Class in com.csse3200.game.missions.quests
- AutoQuest(String, Reward, String) - Constructor for class com.csse3200.game.missions.quests.AutoQuest
- AutoQuest(String, Reward, String, int) - Constructor for class com.csse3200.game.missions.quests.AutoQuest
-
Creates an
AutoQuest
B
- BackgroundMusicService - Class in com.csse3200.game.services.sound
-
A MusicService that handles playback for long background music files which are streamed from disk.
- BackgroundMusicService() - Constructor for class com.csse3200.game.services.sound.BackgroundMusicService
- BackgroundMusicType - Enum Class in com.csse3200.game.services.sound
-
An enum type to categorise background music files to allow certain themes/genres of background tracks to be played at chosen times.
- BackgroundSoundFile - Enum Class in com.csse3200.game.services.sound
- BASE_ATTACK - Static variable in class com.csse3200.game.entities.configs.BaseEntityConfig
- BASE_ATTACK - Static variable in class com.csse3200.game.entities.configs.PlayerConfig
- BaseAnimalConfig - Class in com.csse3200.game.entities.configs
-
Defines a basic set of properties stored in entities config files to be loaded by Entity Factories.
- BaseAnimalConfig() - Constructor for class com.csse3200.game.entities.configs.BaseAnimalConfig
- baseAttack - Variable in class com.csse3200.game.entities.configs.BaseAnimalConfig
- BaseEntityConfig - Class in com.csse3200.game.entities.configs
-
Defines a basic set of properties stored in entities config files to be loaded by Entity Factories.
- BaseEntityConfig() - Constructor for class com.csse3200.game.entities.configs.BaseEntityConfig
- BasePlantConfig - Class in com.csse3200.game.entities.configs.plants
-
Defines a basic set of properties stored in plant entity config files to be loaded by the PlantFactory.
- BasePlantConfig() - Constructor for class com.csse3200.game.entities.configs.plants.BasePlantConfig
- bat - Variable in class com.csse3200.game.entities.configs.NPCConfigs
- BAT - Enum constant in enum class com.csse3200.game.entities.EntityType
- BAT - Enum constant in enum class com.csse3200.game.entities.HungerEntityType
- BAT_ATTACK - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- BatAttackPattern - Class in com.csse3200.game.components.combat.attackpatterns
-
The BatAttackPattern class defines the attack behavior of a Bat entity in the game.
- BatAttackPattern(float) - Constructor for class com.csse3200.game.components.combat.attackpatterns.BatAttackPattern
- batch - Variable in class com.csse3200.game.rendering.Renderer
- BEACHSAND - Enum constant in enum class com.csse3200.game.areas.terrain.TerrainTile.TerrainCategory
- BED - Enum constant in enum class com.csse3200.game.components.ship.ShipProgressComponent.Feature
- beginContact(Contact) - Method in class com.csse3200.game.physics.PhysicsContactListener
- BlinkComponent - Class in com.csse3200.game.rendering
- BlinkComponent() - Constructor for class com.csse3200.game.rendering.BlinkComponent
- BLIZZARD - Enum constant in enum class com.csse3200.game.services.ParticleService.ParticleEffectType
- BLIZZARD - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- BlizzardEvent - Class in com.csse3200.game.areas.weather
- BlizzardEvent(int, int, int, float) - Constructor for class com.csse3200.game.areas.weather.BlizzardEvent
-
Constructs an
WeatherEvent
with a given duration, priority and countdown - BodyUserData - Class in com.csse3200.game.physics
-
POJO which contains the custom data attached to each box2D entity.
- BodyUserData() - Constructor for class com.csse3200.game.physics.BodyUserData
- BOTTOM - Enum constant in enum class com.csse3200.game.physics.components.PhysicsComponent.AlignY
- BRINGING_IT_ALL_TOGETHER_QUEST_NAME - Static variable in class com.csse3200.game.missions.quests.QuestFactory
C
- calculateVelocityVector() - Method in class com.csse3200.game.components.player.PlayerActions
-
Calculates the desired velocity vector, applying terrain movement modifiers, movement direction, and weather modifiers.
- calculateVelocityVector() - Method in class com.csse3200.game.physics.components.PhysicsMovementComponent
- CameraComponent - Class in com.csse3200.game.components
-
A component that manages a camera for rendering.
- CameraComponent() - Constructor for class com.csse3200.game.components.CameraComponent
-
Creates a new CameraComponent with a default OrthographicCamera.
- CameraComponent(Camera) - Constructor for class com.csse3200.game.components.CameraComponent
-
Creates a new CameraComponent with a specified camera.
- cancelAllEvents() - Method in class com.csse3200.game.events.EventHandler
-
Cancels all scheduled events for an entity.
- cancelEvent(ScheduledEvent) - Method in class com.csse3200.game.events.EventHandler
-
Cancels the given scheduled event
- CAST_FISHING_RODS - Enum constant in enum class com.csse3200.game.components.player.PlayerActions.events
- CENTER - Enum constant in enum class com.csse3200.game.physics.components.PhysicsComponent.AlignX
- CENTER - Enum constant in enum class com.csse3200.game.physics.components.PhysicsComponent.AlignY
- charToTileImageMap - Static variable in class com.csse3200.game.areas.terrain.TerrainFactory
-
HashMap used to map characters in map files to file paths containing their textures
- ChaseTask - Class in com.csse3200.game.components.tasks
-
Chases a target entity until they get too far away or line of sight is lost
- ChaseTask(Entity, int, float, float, Vector2) - Constructor for class com.csse3200.game.components.tasks.ChaseTask
- ChaseTask(Entity, int, float, float, Vector2, boolean) - Constructor for class com.csse3200.game.components.tasks.ChaseTask
- checkIfStarving() - Method in class com.csse3200.game.components.player.HungerComponent
- checkPlayerInventoryMissing() - Method in class com.csse3200.game.missions.quests.InventoryStateQuest
- CHEST - Enum constant in enum class com.csse3200.game.entities.EntityType
- CHEST - Enum constant in enum class com.csse3200.game.entities.HungerEntityType
- ChestComponent - Class in com.csse3200.game.components.placeables
- ChestComponent() - Constructor for class com.csse3200.game.components.placeables.ChestComponent
- CHESTS - Enum constant in enum class com.csse3200.game.components.placeables.PlaceableCategory
- chicken - Variable in class com.csse3200.game.entities.configs.NPCConfigs
- CHICKEN - Enum constant in enum class com.csse3200.game.entities.EntityType
- CHICKEN - Enum constant in enum class com.csse3200.game.entities.HungerEntityType
- CHICKEN_DEATH - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- CHICKEN_FEED - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- CLASSPATH - Enum constant in enum class com.csse3200.game.files.FileLoader.Location
- clear() - Static method in class com.csse3200.game.services.ServiceLocator
-
Clears all registered services.
- clear() - Method in class com.csse3200.game.utils.SortedIntMap
-
Clear the map
- clearAllAssets() - Method in class com.csse3200.game.services.ResourceService
-
Clears all loaded assets and assets in the preloading queue.
- clearCanSpawnShipEater() - Static method in class com.csse3200.game.components.ship.ShipDebrisComponent
-
Resets spawning of ship eaters
- ClearDebrisQuest - Class in com.csse3200.game.missions.quests
-
ClearDebrisQuest is a Quest that monitors and tracks the player clearing debris.
- ClearDebrisQuest(String, Reward, int) - Constructor for class com.csse3200.game.missions.quests.ClearDebrisQuest
-
A Quest where player is required to clear a certain amount of debris.
- ClearDebrisQuest(String, Reward, int, int) - Constructor for class com.csse3200.game.missions.quests.ClearDebrisQuest
-
Constructor for a ClearDebrisQuest where isMandatory and expiryDuration can be specified.
- clearInfo() - Method in class com.csse3200.game.components.plants.PlantInfoDisplayComponent
-
Clears the window of any plant information.
- CLEARING_YOUR_MESS_QUEST_NAME - Static variable in class com.csse3200.game.missions.quests.QuestFactory
- clearMenuOpening() - Static method in class com.csse3200.game.components.player.KeyboardPlayerInputComponent
- ClimateController - Class in com.csse3200.game.areas.weather
- ClimateController() - Constructor for class com.csse3200.game.areas.weather.ClimateController
-
Creates a new climate controller that listens to time events and maintains the in-game climate
- climateControllerEvents - Variable in class com.csse3200.game.areas.weather.WeatherEvent
- closePauseMenu() - Method in class com.csse3200.game.components.player.OpenPauseComponent
- CLUE_ITEM - Enum constant in enum class com.csse3200.game.components.items.ItemType
- ClueComponent - Class in com.csse3200.game.components.items
-
Holds a base location to generate a ShipPartTile at.
- ClueComponent() - Constructor for class com.csse3200.game.components.items.ClueComponent
- ClueReward - Class in com.csse3200.game.missions.rewards
-
A reward that spawns a ShipPartTile and ShipDebris on collection.
- ClueReward(Entity) - Constructor for class com.csse3200.game.missions.rewards.ClueReward
- collect() - Method in class com.csse3200.game.missions.rewards.ClueReward
-
When called, changes the isCollected variable to true and adds the reward items to the player's inventory.
- collect() - Method in class com.csse3200.game.missions.rewards.ConsumePlayerItemsReward
-
When called, changes the isCollected variable to true and removes the specified items to the player's inventory.
- collect() - Method in class com.csse3200.game.missions.rewards.DialogueReward
-
This method will display the dialogue on the correct dialogue screen
- collect() - Method in class com.csse3200.game.missions.rewards.EntityReward
-
Collects the reward by spawning the reward entities at the player's position
- collect() - Method in class com.csse3200.game.missions.rewards.ItemReward
-
When called, changes the isCollected variable to true and adds the reward items to the player's inventory.
- collect() - Method in class com.csse3200.game.missions.rewards.MultiReward
-
When called this method will call collect() on each of the rewards in the list.
- collect() - Method in class com.csse3200.game.missions.rewards.QuestReward
-
When called will add the QuestReward's quests to the MissionManager.
- collect() - Method in class com.csse3200.game.missions.rewards.Reward
- collect() - Method in class com.csse3200.game.missions.rewards.StatReward
-
When called will set this Reward as having been collected and will modify the player's health as specified.
- collect() - Method in class com.csse3200.game.missions.rewards.TriggerHostilesReward
-
When called triggers to appear in the game.
- collect() - Method in class com.csse3200.game.missions.rewards.TriggerWeatherReward
-
Adds each event from the list of weatherEvents to the ClimateController and sets the TriggerWeatherRewards as collected.
- collect() - Method in class com.csse3200.game.missions.rewards.WinReward
-
Will trigger the winScreen event in the
MissionManager
- CollectItemsAchievement - Class in com.csse3200.game.missions.achievements
-
An
Achievement
completed by collecting a certain number of items - CollectItemsAchievement(String, int) - Constructor for class com.csse3200.game.missions.achievements.CollectItemsAchievement
-
An achievement where player is required to collect a certain number of items
- collectReward() - Method in class com.csse3200.game.missions.quests.Quest
-
Collects the reward associated with this
Quest
. - ColliderComponent - Class in com.csse3200.game.physics.components
-
Attaches a physics collider to an entity.
- ColliderComponent() - Constructor for class com.csse3200.game.physics.components.ColliderComponent
- com.csse3200.game - package com.csse3200.game
- com.csse3200.game.ai.movement - package com.csse3200.game.ai.movement
- com.csse3200.game.ai.tasks - package com.csse3200.game.ai.tasks
- com.csse3200.game.areas - package com.csse3200.game.areas
- com.csse3200.game.areas.terrain - package com.csse3200.game.areas.terrain
- com.csse3200.game.areas.weather - package com.csse3200.game.areas.weather
- com.csse3200.game.components - package com.csse3200.game.components
- com.csse3200.game.components.combat - package com.csse3200.game.components.combat
- com.csse3200.game.components.combat.attackpatterns - package com.csse3200.game.components.combat.attackpatterns
- com.csse3200.game.components.controlsmenu - package com.csse3200.game.components.controlsmenu
- com.csse3200.game.components.cutscenes - package com.csse3200.game.components.cutscenes
- com.csse3200.game.components.endcredits - package com.csse3200.game.components.endcredits
- com.csse3200.game.components.gamearea - package com.csse3200.game.components.gamearea
- com.csse3200.game.components.intro - package com.csse3200.game.components.intro
- com.csse3200.game.components.inventory - package com.csse3200.game.components.inventory
- com.csse3200.game.components.items - package com.csse3200.game.components.items
- com.csse3200.game.components.losescreen - package com.csse3200.game.components.losescreen
- com.csse3200.game.components.maingame - package com.csse3200.game.components.maingame
- com.csse3200.game.components.maingame.mainmenu - package com.csse3200.game.components.maingame.mainmenu
- com.csse3200.game.components.npc - package com.csse3200.game.components.npc
- com.csse3200.game.components.placeables - package com.csse3200.game.components.placeables
- com.csse3200.game.components.plants - package com.csse3200.game.components.plants
- com.csse3200.game.components.player - package com.csse3200.game.components.player
- com.csse3200.game.components.questgiver - package com.csse3200.game.components.questgiver
- com.csse3200.game.components.settingsmenu - package com.csse3200.game.components.settingsmenu
- com.csse3200.game.components.ship - package com.csse3200.game.components.ship
- com.csse3200.game.components.tasks - package com.csse3200.game.components.tasks
- com.csse3200.game.components.tractor - package com.csse3200.game.components.tractor
- com.csse3200.game.components.winscreen - package com.csse3200.game.components.winscreen
- com.csse3200.game.concurrency - package com.csse3200.game.concurrency
- com.csse3200.game.entities - package com.csse3200.game.entities
- com.csse3200.game.entities.configs - package com.csse3200.game.entities.configs
- com.csse3200.game.entities.configs.plants - package com.csse3200.game.entities.configs.plants
- com.csse3200.game.entities.factories - package com.csse3200.game.entities.factories
- com.csse3200.game.events - package com.csse3200.game.events
- com.csse3200.game.events.listeners - package com.csse3200.game.events.listeners
- com.csse3200.game.files - package com.csse3200.game.files
- com.csse3200.game.input - package com.csse3200.game.input
- com.csse3200.game.missions - package com.csse3200.game.missions
- com.csse3200.game.missions.achievements - package com.csse3200.game.missions.achievements
- com.csse3200.game.missions.cutscenes - package com.csse3200.game.missions.cutscenes
- com.csse3200.game.missions.quests - package com.csse3200.game.missions.quests
- com.csse3200.game.missions.rewards - package com.csse3200.game.missions.rewards
- com.csse3200.game.physics - package com.csse3200.game.physics
- com.csse3200.game.physics.components - package com.csse3200.game.physics.components
- com.csse3200.game.physics.raycast - package com.csse3200.game.physics.raycast
- com.csse3200.game.rendering - package com.csse3200.game.rendering
- com.csse3200.game.screens - package com.csse3200.game.screens
- com.csse3200.game.services - package com.csse3200.game.services
- com.csse3200.game.services.plants - package com.csse3200.game.services.plants
- com.csse3200.game.services.sound - package com.csse3200.game.services.sound
- com.csse3200.game.ui - package com.csse3200.game.ui
- com.csse3200.game.ui.terminal - package com.csse3200.game.ui.terminal
- com.csse3200.game.ui.terminal.commands - package com.csse3200.game.ui.terminal.commands
- com.csse3200.game.utils - package com.csse3200.game.utils
- com.csse3200.game.utils.math - package com.csse3200.game.utils.math
- COMBAT_ACTOR_DEFEATED - Enum constant in enum class com.csse3200.game.missions.MissionManager.MissionEvent
- CombatStatsComponent - Class in com.csse3200.game.components.combat
-
Component used to store information related to combat such as health, attack, etc.
- CombatStatsComponent(int, int) - Constructor for class com.csse3200.game.components.combat.CombatStatsComponent
- Command - Interface in com.csse3200.game.ui.terminal.commands
-
A generic command class.
- compareTo(Renderable) - Method in class com.csse3200.game.rendering.RenderComponent
- Component - Class in com.csse3200.game.components
-
Core component class from which all components inherit.
- Component() - Constructor for class com.csse3200.game.components.Component
- ComponentType - Class in com.csse3200.game.components
-
Internal type system for components.
- ConeLightComponent - Class in com.csse3200.game.components
- ConeLightComponent() - Constructor for class com.csse3200.game.components.ConeLightComponent
-
Creates a ConeLightComponent which can be attached to an entity to enable it to produce light.
- ConeLightComponent(float) - Constructor for class com.csse3200.game.components.ConeLightComponent
-
Creates an ConeLightComponent which can be attached to an entity to enable it to produce light.
- ConeLightComponent(float, Color) - Constructor for class com.csse3200.game.components.ConeLightComponent
-
Creates an ConeLightComponent which can be attached to an entity to enable it to produce light.
- ConeLightComponent(float, Color, float) - Constructor for class com.csse3200.game.components.ConeLightComponent
-
Creates an ConeLightComponent which can be attached to an entity to enable it to produce light.
- ConeLightComponent(float, Color, float, float) - Constructor for class com.csse3200.game.components.ConeLightComponent
-
Creates an ConeLightComponent which can be attached to an entity to enable it to produce light.
- ConeLightComponent(Color) - Constructor for class com.csse3200.game.components.ConeLightComponent
-
Creates an ConeLightComponent which can be attached to an entity to enable it to produce light.
- configFence() - Method in class com.csse3200.game.components.placeables.FenceComponent
-
Sets this fence's texture orientation based off the adjacent fences.
- configGate() - Method in class com.csse3200.game.components.placeables.FenceComponent
-
Sets this gate's texture orientation based off the adjacent fences.
- configSprinkler() - Method in class com.csse3200.game.components.placeables.SprinklerComponent
-
Sets powered status and texture 'orientation' based off the adjacent sprinklers.
- ConnectedEntityUtility - Class in com.csse3200.game.components.placeables
-
Used by placeable components to handle connected textures and other functionality that requires a Placeable to interact dynamically with other Placeable entities.
- ConnectedEntityUtility(Entity) - Constructor for class com.csse3200.game.components.placeables.ConnectedEntityUtility
- CONNECTION_QUEST_NAME - Static variable in class com.csse3200.game.missions.quests.QuestFactory
- ConsumePlayerItemsReward - Class in com.csse3200.game.missions.rewards
-
A ConsumePlayerItemsReward class for when the player completes a
Quest
which should result in a certain number of inventory items to be removed from the inventory. - ConsumePlayerItemsReward(Map<String, Integer>) - Constructor for class com.csse3200.game.missions.rewards.ConsumePlayerItemsReward
-
Creates a
ConsumePlayerItemsReward
reward, which, when collected, removes a specified number of items from the player's inventory. - contains(short, short) - Static method in class com.csse3200.game.physics.PhysicsLayer
- contains(V) - Method in class com.csse3200.game.utils.SortedIntMap
- containsAsset(String, Class<T>) - Method in class com.csse3200.game.services.ResourceService
-
Check if an asset has been loaded already
- containsKey(int) - Method in class com.csse3200.game.utils.SortedIntMap
- CONTROLS - Enum constant in enum class com.csse3200.game.GdxGame.ScreenType
- ControlsMenuDisplay - Class in com.csse3200.game.components.controlsmenu
-
Control menu display and settings.
- ControlsMenuDisplay(GdxGame) - Constructor for class com.csse3200.game.components.controlsmenu.ControlsMenuDisplay
- ControlsScreen - Class in com.csse3200.game.screens
-
The game screen for the Controls Screen of the game, which explains which keys are to be used for different actions in the game
- ControlsScreen(GdxGame) - Constructor for class com.csse3200.game.screens.ControlsScreen
- CoordinatesDisplay - Class in com.csse3200.game.components.items
-
Shows a UI containing the coordinates of this entity's ClueComponent.
- CoordinatesDisplay() - Constructor for class com.csse3200.game.components.items.CoordinatesDisplay
- COSMIC_COB_CLICK_LORE - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- COSMIC_COB_DECAY_LORE - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- COSMIC_COB_DESTROY_LORE - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- COSMIC_COB_NEARBY_LORE - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- cosmicCob - Variable in class com.csse3200.game.entities.configs.plants.PlantConfigs
- cow - Variable in class com.csse3200.game.entities.configs.NPCConfigs
- COW - Enum constant in enum class com.csse3200.game.entities.EntityType
- COW - Enum constant in enum class com.csse3200.game.entities.HungerEntityType
- COW_DEATH - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- COW_FEED - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- CRAVINGS_I_QUESTS_NAME - Static variable in class com.csse3200.game.missions.quests.QuestFactory
- CRAVINGS_II_QUESTS_NAME - Static variable in class com.csse3200.game.missions.quests.QuestFactory
- create() - Method in class com.csse3200.game.ai.tasks.AITaskComponent
-
When component is created, create all tasks.
- create() - Method in class com.csse3200.game.areas.GameArea
-
Create the game area in the world.
- create() - Method in class com.csse3200.game.areas.SpaceGameArea
-
Create the game area, including terrain, static entities (trees), dynamic entities (player)
- create() - Method in class com.csse3200.game.areas.terrain.CropTileComponent
-
Adds player-triggered events listeners to the entity.
- create() - Method in class com.csse3200.game.areas.terrain.ShipPartTileComponent
- create() - Method in class com.csse3200.game.areas.TestGameArea
- create() - Method in class com.csse3200.game.components.AuraLightComponent
-
Creates the event listener for the light to enable it to be toggled on and off
- create() - Method in class com.csse3200.game.components.combat.attackpatterns.AttackPatternComponent
-
Initializes the HostileAttackPattern component when it is created.
- create() - Method in class com.csse3200.game.components.combat.attackpatterns.DragonflyAttackPattern
-
Initialises the DragonFlyAttackPattern component when it is created.
- create() - Method in class com.csse3200.game.components.combat.attackpatterns.OxygenEaterAttackPattern
-
Initialises the OxygenEaterAttackPattern component when it is created.
- create() - Method in class com.csse3200.game.components.combat.attackpatterns.ShipEaterAttackPattern
- create() - Method in class com.csse3200.game.components.combat.CombatStatsComponent
- create() - Method in class com.csse3200.game.components.combat.ProjectileAnimationController
- create() - Method in class com.csse3200.game.components.combat.ProjectileComponent
-
Initializes the ProjectileComponent when it is created.
- create() - Method in class com.csse3200.game.components.combat.StunComponent
-
Initializes the StunComponent and sets up event listeners for stun-related events.
- create() - Method in class com.csse3200.game.components.combat.TouchAttackComponent
- create() - Method in class com.csse3200.game.components.Component
-
Called when the entity is created and registered.
- create() - Method in class com.csse3200.game.components.ConeLightComponent
-
Creates the event listener for the light to enable it to be toggled on and off
- create() - Method in class com.csse3200.game.components.controlsmenu.ControlsMenuDisplay
- create() - Method in class com.csse3200.game.components.cutscenes.CutsceneDisplay
- create() - Method in class com.csse3200.game.components.endcredits.EndCreditsDisplay
- create() - Method in class com.csse3200.game.components.gamearea.GameAreaDisplay
- create() - Method in class com.csse3200.game.components.gamearea.PerformanceDisplay
- create() - Method in class com.csse3200.game.components.InteractionDetector
-
When entity is created, sets up circular collider with radius as range used for detecting entities.
- create() - Method in class com.csse3200.game.components.intro.IntroDisplay
- create() - Method in class com.csse3200.game.components.inventory.InventoryDisplay
-
Creates reusable ui styles and adds actors to the stage.
- create() - Method in class com.csse3200.game.components.inventory.ToolbarDisplay
-
Creates the event listeners, ui, and gets the UI.
- create() - Method in class com.csse3200.game.components.items.ClueComponent
- create() - Method in class com.csse3200.game.components.items.CoordinatesDisplay
- create() - Method in class com.csse3200.game.components.items.ItemActions
- create() - Method in class com.csse3200.game.components.losescreen.LoseScreenDisplay
- create() - Method in class com.csse3200.game.components.maingame.MainGameActions
- create() - Method in class com.csse3200.game.components.maingame.mainmenu.MainMenuActions
- create() - Method in class com.csse3200.game.components.maingame.mainmenu.MainMenuDisplay
- create() - Method in class com.csse3200.game.components.maingame.PauseMenuActions
- create() - Method in class com.csse3200.game.components.npc.AnimalAnimationController
-
Create component by retrieving animator, setting start direction and animation, and adding event listeners.
- create() - Method in class com.csse3200.game.components.npc.AnimalEffectsController
-
Initializes the AnimalEffectsController and sets up event listeners for managing animation effects.
- create() - Method in class com.csse3200.game.components.npc.GhostAnimationController
- create() - Method in class com.csse3200.game.components.npc.HostileAnimationController
-
Initializes the HostileAnimationController when it is created.
- create() - Method in class com.csse3200.game.components.npc.MultiDropComponent
- create() - Method in class com.csse3200.game.components.npc.ShipEaterAnimationController
- create() - Method in class com.csse3200.game.components.npc.ShipEaterScareComponent
- create() - Method in class com.csse3200.game.components.npc.TamableComponent
-
Create the event and add it to the event hashmap so the function can be called and the player can observe the effects.
- create() - Method in class com.csse3200.game.components.ParticleEffectComponent
-
Adds event listeners to the component, allowing for effects to be stopped and started.
- create() - Method in class com.csse3200.game.components.placeables.ChestComponent
- create() - Method in class com.csse3200.game.components.placeables.DialogueComponent
- create() - Method in class com.csse3200.game.components.placeables.FenceComponent
-
Called when the entity is created and registered.
- create() - Method in class com.csse3200.game.components.placeables.LightController
- create() - Method in class com.csse3200.game.components.placeables.PlaceableEvents
- create() - Method in class com.csse3200.game.components.placeables.SprinklerComponent
-
Called when the entity is created and registered.
- create() - Method in class com.csse3200.game.components.plants.PlantAreaOfEffectComponent
-
Sets up a radius for the collider and listens to relevant services.
- create() - Method in class com.csse3200.game.components.plants.PlantComponent
-
Called when the entity is created and registered.
- create() - Method in class com.csse3200.game.components.plants.PlantInfoDisplayComponent
-
Called when the entity is created and registered.
- create() - Method in class com.csse3200.game.components.plants.PlantMouseHoverComponent
-
Called when the entity is created and registered.
- create() - Method in class com.csse3200.game.components.plants.PlantProximityComponent
-
Sets up the radius for the collider and listen for relevant services.
- create() - Method in class com.csse3200.game.components.player.DimComponent
- create() - Method in class com.csse3200.game.components.player.HungerComponent
- create() - Method in class com.csse3200.game.components.player.ItemPickupComponent
- create() - Method in class com.csse3200.game.components.player.OpenPauseComponent
- create() - Method in class com.csse3200.game.components.player.PlayerActions
- create() - Method in class com.csse3200.game.components.player.PlayerAnimationController
- create() - Method in class com.csse3200.game.components.player.PlayerHighlightComponent
-
Creates the component and adds listeners for when the player enters and exits the tractor
- create() - Method in class com.csse3200.game.components.player.PlayerStatsDisplay
-
Creates reusable ui styles and adds actors to the stage.
- create() - Method in class com.csse3200.game.components.questgiver.MissionDisplay
- create() - Method in class com.csse3200.game.components.questgiver.QuestIndicatorComponent
-
This will create the questgiver indicator - it listens to events on the mission manager to discover when missions become available, are completed or expire.
- create() - Method in class com.csse3200.game.components.settingsmenu.SettingsMenuDisplay
- create() - Method in class com.csse3200.game.components.ship.ShipAnimationController
- create() - Method in class com.csse3200.game.components.ship.ShipDebrisComponent
- create() - Method in class com.csse3200.game.components.ship.ShipDisplay
- create() - Method in class com.csse3200.game.components.ship.ShipLightComponent
- create() - Method in class com.csse3200.game.components.ship.ShipProgressComponent
-
This component will handle the Ship's internal state of repair.
- create() - Method in class com.csse3200.game.components.ship.ShipTimeSkipComponent
- create() - Method in class com.csse3200.game.components.tractor.TractorActions
- create() - Method in class com.csse3200.game.components.tractor.TractorAnimationController
- create() - Method in class com.csse3200.game.components.winscreen.WinScreenDisplay
- create() - Method in class com.csse3200.game.entities.Entity
-
Create the entity and start running.
- create() - Method in class com.csse3200.game.entities.EntityIndicator
-
Creates the UI and stages the actors
- create() - Method in class com.csse3200.game.GdxGame
- create() - Method in class com.csse3200.game.input.InputComponent
- create() - Method in class com.csse3200.game.physics.components.ColliderComponent
- create() - Method in class com.csse3200.game.physics.components.HitboxComponent
- create() - Method in class com.csse3200.game.physics.components.PhysicsComponent
- create() - Method in class com.csse3200.game.physics.components.PhysicsMovementComponent
- create() - Method in class com.csse3200.game.rendering.AnimationRenderComponent
- create() - Method in class com.csse3200.game.rendering.BlinkComponent
-
Initializes the BlinkComponent and adds an event listener for handling "hit" events.
- create() - Method in class com.csse3200.game.rendering.RenderComponent
- create() - Method in class com.csse3200.game.services.GameTimeDisplay
-
Creates reusable ui styles and adds actors to the stage.
- create() - Method in class com.csse3200.game.services.HealthDisplay
-
Creates reusable ui styles and adds actors to the stage.
- create() - Method in class com.csse3200.game.services.HungerBar
-
Creates reusable ui styles and adds actors to the stage.
- create() - Method in class com.csse3200.game.services.OxygenDisplay
-
Creates reusable ui styles and adds actors to the stage.
- create() - Method in class com.csse3200.game.services.ProgressBar
-
Creates reusable ui styles and adds actors to the stage.
- create() - Method in class com.csse3200.game.services.ToggleableMap
-
Creates reusable ui styles and adds actors to the stage.
- create() - Method in class com.csse3200.game.ui.terminal.KeyboardTerminalInputComponent
- create() - Method in class com.csse3200.game.ui.terminal.TerminalDisplay
- create() - Method in class com.csse3200.game.ui.terminal.TouchTerminalInputComponent
- create() - Method in class com.csse3200.game.ui.UIComponent
- create(TaskRunner) - Method in class com.csse3200.game.ai.tasks.DefaultTask
- create(TaskRunner) - Method in interface com.csse3200.game.ai.tasks.Task
-
Create the task and attach it to the task runner.
- create(TaskRunner) - Method in class com.csse3200.game.ai.tasks.TimedTask
-
When task is created, attach event listener to task owner.
- create(TaskRunner) - Method in class com.csse3200.game.components.tasks.MovementTask
-
Retrieves the necessary components and initializes the movement task.
- create(TaskRunner) - Method in class com.csse3200.game.components.tasks.MoveToShipTask
- create(TaskRunner) - Method in class com.csse3200.game.components.tasks.PanicTask
- createAcidRainQuests() - Static method in class com.csse3200.game.missions.quests.QuestFactory
- createActIIIMainQuest() - Static method in class com.csse3200.game.missions.quests.QuestFactory
-
Creates the Act III
MainQuest
- createActIIMainQuest() - Static method in class com.csse3200.game.missions.quests.QuestFactory
-
Creates the Act II
MainQuest
- createActIMainQuest() - Static method in class com.csse3200.game.missions.quests.QuestFactory
-
Creates the Act I
MainQuest
- createAirAndAlgaeQuest() - Static method in class com.csse3200.game.missions.quests.QuestFactory
-
Creates the Air and Algae
PlantInteractionQuest
- createAliensAttackQuest() - Static method in class com.csse3200.game.missions.quests.QuestFactory
-
Creates the Aliens Attack!
ManageHostilesQuest
- createAloeVera(CropTileComponent) - Static method in class com.csse3200.game.entities.factories.PlantFactory
-
Creates an AloeVera entity that is a health type plant.
- createAloeVeraLeaf() - Static method in class com.csse3200.game.entities.factories.ItemFactory
-
Creates an 'Aloe Vera Leaf' item.
- createAloeVeraSeed() - Static method in class com.csse3200.game.entities.factories.ItemFactory
-
Creates an 'aloe vera seed' item
- createAnImminentThreatQuest() - Static method in class com.csse3200.game.missions.quests.QuestFactory
-
Creates the Imminent Threat
AutoQuest
- createAssets() - Method in class com.csse3200.game.services.ToggleableMap
-
Creates assets used
- createAstrolotl() - Static method in class com.csse3200.game.entities.factories.NPCFactory
-
Creates an Astrolotl entity
- createAtomicAlgae(CropTileComponent) - Static method in class com.csse3200.game.entities.factories.PlantFactory
-
Creates a waterWeed entity that is a production type plant.
- createAtomicAlgaeSeed() - Static method in class com.csse3200.game.entities.factories.ItemFactory
-
Creates an 'atomic algae seed' item
- createBaseItem() - Static method in class com.csse3200.game.entities.factories.ItemFactory
-
Create a base item entity with physics, a hitbox, and ItemActions.
- createBasePlaceable(EntityType) - Static method in class com.csse3200.game.entities.factories.PlaceableFactory
-
Creates the basic most broad Placeable Entity
- createBasePlant(BasePlantConfig, CropTileComponent) - Static method in class com.csse3200.game.entities.factories.PlantFactory
-
Creates a generic plant to be used as a base for more specific plant creation methods.
- createBaseProjectile() - Static method in class com.csse3200.game.entities.factories.ProjectileFactory
-
Creates an oxygen eater projectile entity.
- createBat() - Static method in class com.csse3200.game.entities.factories.NPCFactory
-
Creates a Bat entity
- createBeef() - Static method in class com.csse3200.game.entities.factories.ItemFactory
-
Creates a beef item
- createBody(BodyDef) - Method in class com.csse3200.game.physics.PhysicsEngine
- createBraydan() - Static method in class com.csse3200.game.entities.factories.ItemFactory
-
Creates a fish item
- createBringingItAllTogetherQuest() - Static method in class com.csse3200.game.missions.quests.QuestFactory
-
Creates the Bringing It All Together
ShipRepairQuest
. - createBryton() - Static method in class com.csse3200.game.entities.factories.ItemFactory
-
Creates a fish item
- createCamera() - Static method in class com.csse3200.game.entities.factories.RenderFactory
- createChest() - Static method in class com.csse3200.game.entities.factories.PlaceableFactory
-
Creates a chest Entity
- createChestItem() - Static method in class com.csse3200.game.entities.factories.ItemFactory
-
Creates a chest item that allows the player to place chests
- createChicken() - Static method in class com.csse3200.game.entities.factories.NPCFactory
-
Creates a chicken entity
- createChickenMeat() - Static method in class com.csse3200.game.entities.factories.ItemFactory
-
Creates a chicken item
- createChurchill() - Static method in class com.csse3200.game.entities.factories.ItemFactory
-
Creates a fish item
- createClearingYourMessQuest() - Static method in class com.csse3200.game.missions.quests.QuestFactory
-
Creates the Clearing Your Mess
ClearDebrisQuest
. - createClueItem() - Static method in class com.csse3200.game.entities.factories.ItemFactory
-
Creates a Map Clue item
- createConnectionQuest() - Static method in class com.csse3200.game.missions.quests.QuestFactory
-
Creates the Connection
AutoQuest
. - createCosmicCob(CropTileComponent) - Static method in class com.csse3200.game.entities.factories.PlantFactory
-
Creates a cosmicCob entity that is a Food type plant.
- createCosmicCobEar() - Static method in class com.csse3200.game.entities.factories.ItemFactory
-
Creates an 'Ear of Cosmic Cob' item.
- createCosmicCobSeed() - Static method in class com.csse3200.game.entities.factories.ItemFactory
-
Creates a 'cosmic cob seed' item
- createCow() - Static method in class com.csse3200.game.entities.factories.NPCFactory
-
Creates a cow entity
- createCravingsIIQuests() - Static method in class com.csse3200.game.missions.quests.QuestFactory
- createCravingsIQuests() - Static method in class com.csse3200.game.missions.quests.QuestFactory
- createDeadlyNightshade(CropTileComponent) - Static method in class com.csse3200.game.entities.factories.PlantFactory
-
Creates a Nightshade entity that is a deadly type plant.
- createDeadlyNightshadeBerry() - Static method in class com.csse3200.game.entities.factories.ItemFactory
-
Creates a 'Nightshade Berry' item.
- createDeadlyNightshadeSeed() - Static method in class com.csse3200.game.entities.factories.ItemFactory
-
Creates a 'deadly nightshade seed' item
- createDragonfly() - Static method in class com.csse3200.game.entities.factories.NPCFactory
-
Creates a Dragonfly entity
- createDragonflyProjectile() - Static method in class com.csse3200.game.entities.factories.ProjectileFactory
- createEgg() - Static method in class com.csse3200.game.entities.factories.ItemFactory
-
Creates an egg item
- createFence() - Static method in class com.csse3200.game.entities.factories.PlaceableFactory
-
Creates a fence Entity
- createFenceItem() - Static method in class com.csse3200.game.entities.factories.ItemFactory
-
Creates a fence item that allows the player to place fences
- createFertiliser() - Static method in class com.csse3200.game.entities.factories.ItemFactory
-
Creates a fertiliser item
- createFertiliserFanatic() - Static method in class com.csse3200.game.missions.quests.QuestFactory
-
Creates the Fertiliser Fanatic
FertiliseCropTilesQuest
- createFertilisingFiestaQuest() - Static method in class com.csse3200.game.missions.quests.QuestFactory
-
Creates the Fertilising Fiesta
FertiliseCropTilesQuest
- createFireFlies() - Static method in class com.csse3200.game.entities.factories.NPCFactory
-
Creates a Fire Fly entity.
- createFirstContactQuest() - Static method in class com.csse3200.game.missions.quests.QuestFactory
-
Creates the First Contact
AutoQuest
- createFishingQuest() - Static method in class com.csse3200.game.missions.quests.QuestFactory
- createFishingRod() - Static method in class com.csse3200.game.entities.factories.ItemFactory
-
Creates a tool that one use can get fish from the ocean or lava
- createFishingRodAnimatorEntity() - Static method in class com.csse3200.game.entities.factories.PlayerFactory
- createForPlayer() - Method in class com.csse3200.game.input.InputFactory
-
Creates an input handler for the player
- createForPlayer() - Method in class com.csse3200.game.input.KeyboardInputFactory
-
Creates an input handler for the player.
- createForPlayer() - Method in class com.csse3200.game.input.TouchInputFactory
-
Creates an input handler for the player
- createForTerminal() - Method in class com.csse3200.game.input.InputFactory
-
Creates an input handler for the terminal
- createForTerminal() - Method in class com.csse3200.game.input.KeyboardInputFactory
-
Creates an input handler for the terminal.
- createForTerminal() - Method in class com.csse3200.game.input.TouchInputFactory
-
Creates an input handler for the terminal
- createForTractor() - Method in class com.csse3200.game.input.InputFactory
- createForTractor() - Method in class com.csse3200.game.input.KeyboardInputFactory
- createForTractor() - Method in class com.csse3200.game.input.TouchInputFactory
- createFromInputType(InputFactory.InputType) - Static method in class com.csse3200.game.input.InputFactory
- createGate() - Static method in class com.csse3200.game.entities.factories.PlaceableFactory
-
Creates a gate Entity
- createGateItem() - Static method in class com.csse3200.game.entities.factories.ItemFactory
-
Creates a gate item that allows the player to place gates
- createGoldenEgg() - Static method in class com.csse3200.game.entities.factories.ItemFactory
-
Creates a golden egg item
- createGoldenFish() - Static method in class com.csse3200.game.entities.factories.ItemFactory
-
Creates a fish item
- createGoldenTrophy() - Static method in class com.csse3200.game.entities.factories.PlaceableFactory
- createGun() - Static method in class com.csse3200.game.entities.factories.ItemFactory
-
Creates a gun item
- createHaberHobbyist() - Static method in class com.csse3200.game.missions.quests.QuestFactory
-
Creates the Haber Hobbyist
FertiliseCropTilesQuest
- createHammerFlower() - Static method in class com.csse3200.game.entities.factories.ItemFactory
-
Creates a 'Hammer Flower' item.
- createHammerPlant(CropTileComponent) - Static method in class com.csse3200.game.entities.factories.PlantFactory
-
Creates a HammerPlant entity that is a repair type plant.
- createHammerPlantSeed() - Static method in class com.csse3200.game.entities.factories.ItemFactory
-
Creates a 'hammer plant seed' item
- createHarry() - Static method in class com.csse3200.game.entities.factories.ItemFactory
-
Creates a fish item
- createHoe() - Static method in class com.csse3200.game.entities.factories.ItemFactory
-
Creates a hoe item
- createHomeSickQuest() - Static method in class com.csse3200.game.missions.quests.QuestFactory
-
Creates the Home Sick
InventoryStateQuest
- createInvisibleObstacle() - Static method in class com.csse3200.game.entities.factories.ObstacleFactory
-
Creates an invisible obstacle entity which located onto the non-traversable area of the map.
- createItsColdOutsideQuests() - Static method in class com.csse3200.game.missions.quests.QuestFactory
- createJoint(JointDef) - Method in class com.csse3200.game.physics.PhysicsEngine
- createLarry() - Static method in class com.csse3200.game.entities.factories.ItemFactory
-
Creates a fish item
- createLavaEel() - Static method in class com.csse3200.game.entities.factories.ItemFactory
-
Creates a fish item
- createLight() - Static method in class com.csse3200.game.entities.factories.PlaceableFactory
- createLightItem() - Static method in class com.csse3200.game.entities.factories.ItemFactory
-
Makes a item that when used places a item
- createLola() - Static method in class com.csse3200.game.entities.factories.ItemFactory
-
Creates a fish item
- createMakingFriendsQuest() - Static method in class com.csse3200.game.missions.quests.QuestFactory
-
Creates the Making Friends
TameAnimalsQuest
. - createMilk() - Static method in class com.csse3200.game.entities.factories.ItemFactory
-
Creates a milk item
- createMrKrabs() - Static method in class com.csse3200.game.entities.factories.ItemFactory
-
Creates a fish item
- createNetty() - Static method in class com.csse3200.game.entities.factories.ItemFactory
-
Creates a fish item
- createOxygenEater() - Static method in class com.csse3200.game.entities.factories.NPCFactory
-
Creates an Oxygen Eater entity.
- createOxygenEaterProjectile() - Static method in class com.csse3200.game.entities.factories.ProjectileFactory
-
Creates an oxygen eater projectile entity.
- createPartFinderIQuest() - Static method in class com.csse3200.game.missions.quests.QuestFactory
-
Creates the Part Finder
ShipRepairQuest
- createPharLap() - Static method in class com.csse3200.game.entities.factories.ItemFactory
-
Creates a fish item
- createPlayer() - Static method in class com.csse3200.game.entities.factories.PlayerFactory
-
Create a player entity.
- createPlayerHighlight() - Static method in class com.csse3200.game.entities.factories.PlayerHighlightFactory
-
Creates the player highlight entity
- createPlayerProjectile() - Static method in class com.csse3200.game.entities.factories.ProjectileFactory
-
Creates a player projectile entity.
- createPump() - Static method in class com.csse3200.game.entities.factories.PlaceableFactory
-
Creates a pump Entity - used in conjunction with sprinklers
- createPumpItem() - Static method in class com.csse3200.game.entities.factories.ItemFactory
-
Creates a Pump item that allows the player to power sprinklers
- createQuestgiver() - Static method in class com.csse3200.game.entities.factories.QuestgiverFactory
-
Creates a questgiver entity
- createQuestgiverIndicator(Entity) - Static method in class com.csse3200.game.entities.factories.QuestgiverFactory
-
Create a questgiver indicator entity (i.e.
- createReapingYourRewardsQuest() - Static method in class com.csse3200.game.missions.quests.QuestFactory
-
Creates the Reaping Your Rewards
PlantInteractionQuest
. - createRecursiveAnimalQuest() - Static method in class com.csse3200.game.missions.quests.QuestFactory
- createRecursivePartQuest() - Static method in class com.csse3200.game.missions.quests.QuestFactory
-
Creates the recursive Ship Part
InventoryStateQuest
- createRecursivePlantQuest() - Static method in class com.csse3200.game.missions.quests.QuestFactory
- createRecursiveWaterQuest() - Static method in class com.csse3200.game.missions.quests.QuestFactory
- createRenderer() - Static method in class com.csse3200.game.entities.factories.RenderFactory
- createSalmon() - Static method in class com.csse3200.game.entities.factories.ItemFactory
-
Creates a fish item
- createSanders() - Static method in class com.csse3200.game.entities.factories.ItemFactory
-
Creates a fish item
- createScythe() - Static method in class com.csse3200.game.entities.factories.ItemFactory
-
Creates a scythe item
- createShip() - Static method in class com.csse3200.game.entities.factories.ShipFactory
-
Creates a ship entity
- createShipDebris() - Static method in class com.csse3200.game.entities.factories.ShipDebrisFactory
-
Creates a Ship Debris entity.
- createShipEater() - Static method in class com.csse3200.game.entities.factories.NPCFactory
-
Creates a Ship Eater entity.
- createShipPart() - Static method in class com.csse3200.game.entities.factories.ItemFactory
-
Creates a ship part item that can be used to repair the ship
- createShipPartTile(Vector2) - Static method in class com.csse3200.game.areas.terrain.ShipPartTileFactory
-
Creates an Entity that contains a ShipPartTileComponent.
- createShipRepairsQuest() - Static method in class com.csse3200.game.missions.quests.QuestFactory
-
Creates the Ship Repairs
ShipRepairQuest
. - createShovel() - Static method in class com.csse3200.game.entities.factories.ItemFactory
-
Creates a shovel item
- createSowingYourFirstSeedsQuest() - Static method in class com.csse3200.game.missions.quests.QuestFactory
-
Creates the Sowing Your First Seeds
PlantInteractionQuest
- createSpaceDebrisQuest() - Static method in class com.csse3200.game.missions.quests.QuestFactory
-
Creates the Space Debris
ClearDebrisQuest
- createSpaceGameTerrain(TiledMap) - Method in class com.csse3200.game.areas.terrain.TerrainFactory
-
Initiates the create terrain process for the SpaceGameArea.
- createSpaceSnapper(CropTileComponent) - Static method in class com.csse3200.game.entities.factories.PlantFactory
-
Creates an venusFlyTrap entity that is a defence type plant.
- createSpaceSnapperSeed() - Static method in class com.csse3200.game.entities.factories.ItemFactory
-
Creates a 'space snapper seed' item
- createSprinkler() - Static method in class com.csse3200.game.entities.factories.PlaceableFactory
-
Creates a sprinkler Entity
- createSprinklerItem() - Static method in class com.csse3200.game.entities.factories.ItemFactory
-
Creates a sprinkler item that allows the player to place sprinklers
- createStratosphericSentinelQuest() - Static method in class com.csse3200.game.missions.quests.QuestFactory
-
Creates the Stratospheric Sentinel
OxygenLevelQuest
- createSword() - Static method in class com.csse3200.game.entities.factories.ItemFactory
-
Creates a sword item
- createTeleportDevice() - Static method in class com.csse3200.game.entities.factories.ItemFactory
-
Creates a teleportation device.
- createTerrainComponent() - Method in class com.csse3200.game.areas.terrain.GameMap
-
Creates the TerrainComponent instance used to render the SpaceGameArea map and stores it in the GameMap class.
- createTerrainEntity(float, float) - Static method in class com.csse3200.game.areas.terrain.TerrainCropTileFactory
-
Creates a crop tile entity
- createTerrainEntity(Vector2) - Static method in class com.csse3200.game.areas.terrain.TerrainCropTileFactory
-
Creates a crop tile entity
- createTest(CropTileComponent) - Static method in class com.csse3200.game.entities.factories.PlantFactory
-
Create a plant for testing
- createTestTerrain(TiledMap, String) - Method in class com.csse3200.game.areas.terrain.TerrainFactory
-
Initiates the create terrain process for play testing different maps.
- createTestTerrainComponent(String) - Method in class com.csse3200.game.areas.terrain.GameMap
-
Creates the TerrainComponent instance used to render a test game map.
- createTexture() - Method in class com.csse3200.game.services.GameTimeDisplay
-
Loads textures and initialises the UI components.
- createTexture() - Method in class com.csse3200.game.services.HealthDisplay
-
Initialises all the possible images and labels that will be used by the class, and stores them in an array to be called when needed.
- createTexture() - Method in class com.csse3200.game.services.HungerBar
-
Initialises all the possible images and labels that will be used by the class, and stores them in an array to be called when needed.
- createTexture() - Method in class com.csse3200.game.services.OxygenDisplay
-
Initialises all the possible images and labels that will be used by the class, and stores them in an array.
- createTexture() - Method in class com.csse3200.game.services.ProgressBar
-
Creates each image as an image object then adds to an array of images for later use
- createTheThunderlordsBlessingQuests() - Static method in class com.csse3200.game.missions.quests.QuestFactory
- createTractor() - Static method in class com.csse3200.game.entities.factories.TractorFactory
-
Creates an Entity and adds all necessary componenets to make it function as a tractor should
- createTractorQuest() - Static method in class com.csse3200.game.missions.quests.QuestFactory
-
Creates the Tractor
MissionCompleteQuest
- createWall(float, float) - Static method in class com.csse3200.game.entities.factories.ObstacleFactory
-
Creates an invisible physics wall.
- createWateringcan() - Static method in class com.csse3200.game.entities.factories.ItemFactory
-
Creates a watering-can item
- createYak3() - Static method in class com.csse3200.game.entities.factories.ItemFactory
-
Creates a fish item
- CREDIT - Enum constant in enum class com.csse3200.game.screens.MainGameScreen.ScreenType
- CropTileComponent - Class in com.csse3200.game.areas.terrain
-
Component which stores information about plots of land on which crops and plants can grow.
- CropTileComponent() - Constructor for class com.csse3200.game.areas.terrain.CropTileComponent
-
Creates a new crop tile with default values
- CropTileComponent(float, float) - Constructor for class com.csse3200.game.areas.terrain.CropTileComponent
-
Creates a new crop tile component, with a specified initial water content, and an initial soil quality (higher values indicate higher soil quality, meaning better growth rate).
- CropTileConfig - Class in com.csse3200.game.entities.configs
-
Defines the configuration for a crop tile entity to be loaded by the CropTile Factory.
- CropTileConfig() - Constructor for class com.csse3200.game.entities.configs.CropTileConfig
- currentAnimation - Variable in class com.csse3200.game.components.npc.AnimalAnimationController
-
Current animation playing (excluding direction suffix)
- currentAnimation - Variable in class com.csse3200.game.rendering.AnimationRenderComponent
- currentAttackEvent - Variable in class com.csse3200.game.components.combat.attackpatterns.AttackPatternComponent
-
Scheduled attack event
- currentInfo() - Method in class com.csse3200.game.components.plants.PlantComponent
-
Return a string will all the relevant information about this plant.
- Cutscene - Class in com.csse3200.game.missions.cutscenes
- Cutscene(String, Cutscene.CutsceneType) - Constructor for class com.csse3200.game.missions.cutscenes.Cutscene
-
Creates an instance of the cutscene class and assigns all variables as they need to be assigned - DOES NOT SPAWN THE ACTUAL CUTSCENE
- Cutscene.CutsceneType - Enum Class in com.csse3200.game.missions.cutscenes
-
Represents what type if cutscene the cutscene will be
- CutsceneDisplay - Class in com.csse3200.game.components.cutscenes
- CutsceneDisplay(String, Cutscene, Cutscene.CutsceneType) - Constructor for class com.csse3200.game.components.cutscenes.CutsceneDisplay
-
Creates a cutscene display using the given parameters
D
- DAY - Enum constant in enum class com.csse3200.game.services.sound.BackgroundMusicType
- dayUpdate() - Method in class com.csse3200.game.components.plants.PlantComponent
-
Functionality for the plant that needs to update every day.
- DEAD - Enum constant in enum class com.csse3200.game.components.plants.PlantComponent.GrowthStage
- DEADLY_NIGHTSHADE_CLICK_LORE - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- DEADLY_NIGHTSHADE_DECAY_LORE - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- DEADLY_NIGHTSHADE_DESTROY_LORE - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- DEADLY_NIGHTSHADE_NEARBY_LORE - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- deadlyNightshade - Variable in class com.csse3200.game.entities.configs.plants.PlantConfigs
- DEATH_BATS - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- DEBRIS_CLEARED - Enum constant in enum class com.csse3200.game.missions.MissionManager.MissionEvent
- DebugCommand - Class in com.csse3200.game.ui.terminal.commands
-
A command for toggling debug mode on and off.
- DebugCommand() - Constructor for class com.csse3200.game.ui.terminal.commands.DebugCommand
- DebugRenderer - Class in com.csse3200.game.rendering
-
Provides functionality to draw lines/shapes to the screen for debug purposes.
- DebugRenderer() - Constructor for class com.csse3200.game.rendering.DebugRenderer
- DebugRenderer(Box2DDebugRenderer, ShapeRenderer) - Constructor for class com.csse3200.game.rendering.DebugRenderer
- decayCheck() - Method in class com.csse3200.game.components.plants.PlantComponent
-
Check if the plant is already decaying and needs to die.
- DECAYING - Enum constant in enum class com.csse3200.game.components.plants.PlantComponent.GrowthStage
- DECAYING_PLANT - Enum constant in enum class com.csse3200.game.entities.EntityType
- DECAYING_PLANT - Enum constant in enum class com.csse3200.game.entities.HungerEntityType
- DEEPWATER - Enum constant in enum class com.csse3200.game.areas.terrain.TerrainTile.TerrainCategory
- DEFAULT - Static variable in class com.csse3200.game.input.InputLayer
- DEFAULT - Static variable in class com.csse3200.game.physics.PhysicsLayer
- DefaultTask - Class in com.csse3200.game.ai.tasks
-
A default task implementation that stores the associated entity and updates status when starting/stopping a task.
- DefaultTask() - Constructor for class com.csse3200.game.ai.tasks.DefaultTask
- DELETE_ITEM - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- description - Variable in class com.csse3200.game.entities.configs.plants.BasePlantConfig
- DESERT - Enum constant in enum class com.csse3200.game.areas.terrain.TerrainTile.TerrainCategory
- deSpawnEntity(Entity) - Method in class com.csse3200.game.areas.GameArea
-
de-spawn entity at its current position
- destroyBody(Body) - Method in class com.csse3200.game.physics.PhysicsEngine
- destroyJoint(Joint) - Method in class com.csse3200.game.physics.PhysicsEngine
- DialogueComponent - Class in com.csse3200.game.components.placeables
- DialogueComponent() - Constructor for class com.csse3200.game.components.placeables.DialogueComponent
- DialogueReward - Class in com.csse3200.game.missions.rewards
-
DialogueReward is a Reward that on collect() will call the correct dialogue display with its given dialogue.
- DialogueReward(Cutscene) - Constructor for class com.csse3200.game.missions.rewards.DialogueReward
-
New
DialogueReward
object - DialogueReward(String, Cutscene.CutsceneType) - Constructor for class com.csse3200.game.missions.rewards.DialogueReward
- DialogueScreenCommand - Class in com.csse3200.game.ui.terminal.commands
- DialogueScreenCommand() - Constructor for class com.csse3200.game.ui.terminal.commands.DialogueScreenCommand
- didHit - Variable in class com.csse3200.game.physics.raycast.SingleHitCallback
- digestion() - Method in class com.csse3200.game.components.plants.PlantComponent
-
Check if the space snapper is currently eating.
- DimComponent - Class in com.csse3200.game.components.player
- DimComponent() - Constructor for class com.csse3200.game.components.player.DimComponent
- dimScreen() - Method in class com.csse3200.game.services.ToggleableMap
-
Dim the screen when the map is open (Thang: should I pause the game too?)
- direction - Variable in class com.csse3200.game.components.npc.AnimalAnimationController
-
Current direction of animal.
- DirectionUtils - Class in com.csse3200.game.utils
- DirectionUtils() - Constructor for class com.csse3200.game.utils.DirectionUtils
- DIRT - Enum constant in enum class com.csse3200.game.areas.terrain.TerrainTile.TerrainCategory
- DIRT_EFFECT - Enum constant in enum class com.csse3200.game.services.ParticleService.ParticleEffectType
- disableInputType(int) - Method in class com.csse3200.game.input.InputService
- DiscordActivity - Class in com.csse3200.game.utils
- DiscordActivity() - Constructor for class com.csse3200.game.utils.DiscordActivity
-
Constructor for Discord Activity
- displayMode - Variable in class com.csse3200.game.files.UserSettings.Settings
- DisplaySettings() - Constructor for class com.csse3200.game.files.UserSettings.DisplaySettings
- DisplaySettings(Graphics.DisplayMode) - Constructor for class com.csse3200.game.files.UserSettings.DisplaySettings
- dispose() - Method in class com.csse3200.game.ai.tasks.AITaskComponent
-
Dispose AITaskComponent.
- dispose() - Method in class com.csse3200.game.areas.GameArea
-
Dispose of all internal entities in the area
- dispose() - Method in class com.csse3200.game.areas.SpaceGameArea
- dispose() - Method in class com.csse3200.game.areas.terrain.TerrainComponent
- dispose() - Method in class com.csse3200.game.components.AuraLightComponent
-
Disposes of the light if the entity is disposed
- dispose() - Method in class com.csse3200.game.components.Component
-
Called when the component is disposed.
- dispose() - Method in class com.csse3200.game.components.ConeLightComponent
-
Disposes of the light if the entity is disposed
- dispose() - Method in class com.csse3200.game.components.controlsmenu.ControlsMenuDisplay
- dispose() - Method in class com.csse3200.game.components.cutscenes.CutsceneDisplay
- dispose() - Method in class com.csse3200.game.components.endcredits.EndCreditsDisplay
- dispose() - Method in class com.csse3200.game.components.gamearea.GameAreaDisplay
- dispose() - Method in class com.csse3200.game.components.gamearea.PerformanceDisplay
- dispose() - Method in class com.csse3200.game.components.intro.IntroDisplay
- dispose() - Method in class com.csse3200.game.components.inventory.InventoryDisplay
-
Dispose of the component
- dispose() - Method in class com.csse3200.game.components.items.CoordinatesDisplay
- dispose() - Method in class com.csse3200.game.components.losescreen.LoseScreenDisplay
- dispose() - Method in class com.csse3200.game.components.maingame.mainmenu.MainMenuDisplay
- dispose() - Method in class com.csse3200.game.components.npc.MultiDropComponent
- dispose() - Method in class com.csse3200.game.components.npc.SingleDropHandler
- dispose() - Method in class com.csse3200.game.components.ParticleEffectComponent
-
Disposes of the component, freeing all effects and removing the component from the entity.
- dispose() - Method in class com.csse3200.game.components.placeables.DialogueComponent
- dispose() - Method in class com.csse3200.game.components.player.PlayerStatsDisplay
- dispose() - Method in class com.csse3200.game.components.questgiver.MissionDisplay
-
Cleans up.
- dispose() - Method in class com.csse3200.game.components.settingsmenu.SettingsMenuDisplay
- dispose() - Method in class com.csse3200.game.components.ship.ShipDisplay
- dispose() - Method in class com.csse3200.game.components.winscreen.WinScreenDisplay
- dispose() - Method in class com.csse3200.game.entities.Entity
-
Dispose of the entity.
- dispose() - Method in class com.csse3200.game.entities.EntityIndicator
-
Disposes the indicator from the screen
- dispose() - Method in class com.csse3200.game.entities.EntityService
-
Dispose all entities.
- dispose() - Method in class com.csse3200.game.GdxGame
- dispose() - Method in class com.csse3200.game.input.InputComponent
- dispose() - Method in class com.csse3200.game.physics.components.ColliderComponent
- dispose() - Method in class com.csse3200.game.physics.components.PhysicsComponent
- dispose() - Method in class com.csse3200.game.physics.PhysicsEngine
- dispose() - Method in class com.csse3200.game.rendering.AnimationRenderComponent
- dispose() - Method in class com.csse3200.game.rendering.RenderComponent
- dispose() - Method in class com.csse3200.game.rendering.Renderer
- dispose() - Method in class com.csse3200.game.rendering.RenderService
- dispose() - Method in class com.csse3200.game.screens.ControlsScreen
- dispose() - Method in class com.csse3200.game.screens.EndCreditsScreen
- dispose() - Method in class com.csse3200.game.screens.IntroScreen
- dispose() - Method in class com.csse3200.game.screens.LoseScreen
- dispose() - Method in class com.csse3200.game.screens.MainGameScreen
- dispose() - Method in class com.csse3200.game.screens.MainMenuScreen
- dispose() - Method in class com.csse3200.game.screens.SettingsScreen
- dispose() - Method in class com.csse3200.game.screens.WinScreen
- dispose() - Method in class com.csse3200.game.services.GameTimeDisplay
-
Disposes of resources when no longer needed.
- dispose() - Method in class com.csse3200.game.services.HealthDisplay
-
Removes all entities from the screen.
- dispose() - Method in class com.csse3200.game.services.HungerBar
-
Removes all entities from the screen.
- dispose() - Method in class com.csse3200.game.services.OxygenDisplay
-
Removes all entities from the screen and releases all resources from this class.
- dispose() - Method in class com.csse3200.game.services.ProgressBar
-
Destroys the UI objects
- dispose() - Method in class com.csse3200.game.services.ResourceService
-
Disposes of the resource service, clearing the asset manager which clears and disposes of all assets and clears the preloading queue
- dispose() - Method in class com.csse3200.game.services.sound.BackgroundMusicService
-
Disposes of all loaded Music instances.
- dispose() - Method in class com.csse3200.game.services.sound.EffectsMusicService
- dispose() - Method in interface com.csse3200.game.services.sound.MusicService
-
Dispose all the currently loaded SoundFiles from memory before closing the service.
- dispose() - Method in class com.csse3200.game.services.ToggleableMap
-
Destroys the UI objects
- dispose() - Method in class com.csse3200.game.ui.terminal.TerminalDisplay
- disposePauseMenu() - Method in class com.csse3200.game.components.gamearea.GameAreaDisplay
- DOWN - Static variable in class com.csse3200.game.utils.DirectionUtils
- DOWN - Static variable in class com.csse3200.game.utils.math.Vector2Utils
- DRAG_ITEM - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- dragonfly - Variable in class com.csse3200.game.entities.configs.NPCConfigs
- DRAGONFLY - Enum constant in enum class com.csse3200.game.entities.EntityType
- DRAGONFLY - Enum constant in enum class com.csse3200.game.entities.HungerEntityType
- DRAGONFLY_ATTACK_PLANT - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- DRAGONFLY_ATTACK_PLAYER - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- DRAGONFLY_DEATH - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- DragonflyAttackPattern - Class in com.csse3200.game.components.combat.attackpatterns
-
The Dragonfly attack pattern class defines the attack behavior of a Dragonfly entity in the game.
- DragonflyAttackPattern(float, Supplier<Entity>) - Constructor for class com.csse3200.game.components.combat.attackpatterns.DragonflyAttackPattern
- draw(Batch, float) - Method in class com.csse3200.game.components.inventory.ItemFrame
- draw(SpriteBatch) - Method in class com.csse3200.game.areas.terrain.TerrainComponent
- draw(SpriteBatch) - Method in class com.csse3200.game.components.controlsmenu.ControlsMenuDisplay
- draw(SpriteBatch) - Method in class com.csse3200.game.components.cutscenes.CutsceneDisplay
- draw(SpriteBatch) - Method in class com.csse3200.game.components.endcredits.EndCreditsDisplay
- draw(SpriteBatch) - Method in class com.csse3200.game.components.gamearea.GameAreaDisplay
- draw(SpriteBatch) - Method in class com.csse3200.game.components.gamearea.PerformanceDisplay
- draw(SpriteBatch) - Method in class com.csse3200.game.components.intro.IntroDisplay
- draw(SpriteBatch) - Method in class com.csse3200.game.components.inventory.InventoryDisplay
-
The draw stage of the UIComponent, it is handled by the stage
- draw(SpriteBatch) - Method in class com.csse3200.game.components.inventory.ToolbarDisplay
-
Draw stage for render
- draw(SpriteBatch) - Method in class com.csse3200.game.components.items.CoordinatesDisplay
- draw(SpriteBatch) - Method in class com.csse3200.game.components.losescreen.LoseScreenDisplay
- draw(SpriteBatch) - Method in class com.csse3200.game.components.maingame.mainmenu.MainMenuDisplay
- draw(SpriteBatch) - Method in class com.csse3200.game.components.placeables.DialogueComponent
- draw(SpriteBatch) - Method in class com.csse3200.game.components.plants.PlantInfoDisplayComponent
-
Has no use in this component but is required by the UIComponent class.
- draw(SpriteBatch) - Method in class com.csse3200.game.components.player.DimComponent
- draw(SpriteBatch) - Method in class com.csse3200.game.components.player.PlayerStatsDisplay
- draw(SpriteBatch) - Method in class com.csse3200.game.components.questgiver.MissionDisplay
-
Draw stage, unused for now.
- draw(SpriteBatch) - Method in class com.csse3200.game.components.settingsmenu.SettingsMenuDisplay
- draw(SpriteBatch) - Method in class com.csse3200.game.components.ship.ShipDisplay
- draw(SpriteBatch) - Method in class com.csse3200.game.components.winscreen.WinScreenDisplay
- draw(SpriteBatch) - Method in class com.csse3200.game.entities.EntityIndicator
- draw(SpriteBatch) - Method in class com.csse3200.game.rendering.AnimationEffectsComponent
-
Draws the current frame of the animation using the provided SpriteBatch.
- draw(SpriteBatch) - Method in class com.csse3200.game.rendering.AnimationRenderComponent
- draw(SpriteBatch) - Method in class com.csse3200.game.rendering.DynamicTextureRenderComponent
- draw(SpriteBatch) - Method in class com.csse3200.game.rendering.RenderComponent
-
Draw the renderable.
- draw(SpriteBatch) - Method in class com.csse3200.game.rendering.TextureRenderComponent
- draw(SpriteBatch) - Method in class com.csse3200.game.services.GameTimeDisplay
-
Draws the UI components.
- draw(SpriteBatch) - Method in class com.csse3200.game.services.HealthDisplay
-
Draws the table and group onto the main game screen.
- draw(SpriteBatch) - Method in class com.csse3200.game.services.HungerBar
-
Draws the table and group onto the main game screen.
- draw(SpriteBatch) - Method in class com.csse3200.game.services.OxygenDisplay
-
Draws the table and group onto the main game screen.
- draw(SpriteBatch) - Method in class com.csse3200.game.services.ProgressBar
-
Draws the actors to the game.
- draw(SpriteBatch) - Method in class com.csse3200.game.services.ToggleableMap
-
Draws the actors to the game.
- draw(SpriteBatch) - Method in class com.csse3200.game.ui.terminal.TerminalDisplay
- drawLine(Vector2, Vector2) - Method in class com.csse3200.game.rendering.DebugRenderer
-
Draw a line between two positions
- drawLine(Vector2, Vector2, Color, float) - Method in class com.csse3200.game.rendering.DebugRenderer
-
Draw a line between two positions
- drawRectangle(Vector2, Vector2) - Method in class com.csse3200.game.rendering.DebugRenderer
-
Draw a rectangle
- drawRectangle(Vector2, Vector2, Color, float) - Method in class com.csse3200.game.rendering.DebugRenderer
-
Draw a rectangle
- DROP_ITEM - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- dropItem() - Method in class com.csse3200.game.components.npc.SingleDropHandler
-
Drops item at entity's location.
- DUMMY - Enum constant in enum class com.csse3200.game.entities.EntityType
- DUMMY - Enum constant in enum class com.csse3200.game.entities.HungerEntityType
- duration - Variable in class com.csse3200.game.areas.weather.WeatherEvent
-
Number of in-game hours that the
WeatherEvent
can be active for - DynamicTextureRenderComponent - Class in com.csse3200.game.rendering
-
Render a static texture.
- DynamicTextureRenderComponent(Texture) - Constructor for class com.csse3200.game.rendering.DynamicTextureRenderComponent
- DynamicTextureRenderComponent(String) - Constructor for class com.csse3200.game.rendering.DynamicTextureRenderComponent
E
- earlyUpdate() - Method in class com.csse3200.game.components.combat.CombatStatsComponent
- earlyUpdate() - Method in class com.csse3200.game.components.Component
-
Early update called once per frame of the game, before update().
- earlyUpdate() - Method in class com.csse3200.game.entities.Entity
-
Perform an early update on all components.
- earlyUpdate() - Method in class com.csse3200.game.physics.components.PhysicsComponent
-
Entity position needs to be updated to match the new physics position.
- eat(Entity) - Method in class com.csse3200.game.components.items.ItemActions
-
Eats a given food item or power modifier
- EAT - Enum constant in enum class com.csse3200.game.components.player.PlayerActions.events
- effectExists(ParticleService.ParticleEffectType) - Method in class com.csse3200.game.components.ParticleEffectComponent
-
Determines whether a
ParticleEffect
is being tracked by this component with the same type as the givenParticleService.ParticleEffectType
. - EffectsMusicService - Class in com.csse3200.game.services.sound
-
A MusicService that handles playback for short (less than or equal to 5s) sound effects that are played from memory.
- EffectsMusicService() - Constructor for class com.csse3200.game.services.sound.EffectsMusicService
- EffectSoundFile - Enum Class in com.csse3200.game.services.sound
- EGG - Enum constant in enum class com.csse3200.game.components.items.ItemType
- empty() - Method in class com.csse3200.game.components.items.WateringCanLevelComponent
-
Remove all water from the watering can
- enabled - Variable in class com.csse3200.game.components.Component
- enableInputType(int) - Method in class com.csse3200.game.input.InputService
-
enable specific type(s) of input
- endContact(Contact) - Method in class com.csse3200.game.physics.PhysicsContactListener
- ENDCREDITS - Enum constant in enum class com.csse3200.game.GdxGame.ScreenType
- EndCreditsDisplay - Class in com.csse3200.game.components.endcredits
-
The display User Interface component for the credits screen
- EndCreditsDisplay(GdxGame) - Constructor for class com.csse3200.game.components.endcredits.EndCreditsDisplay
-
Creates a new EndCreditsDisplay instance.
- EndCreditsScreen - Class in com.csse3200.game.screens
-
The game screen for the credits
- EndCreditsScreen(GdxGame) - Constructor for class com.csse3200.game.screens.EndCreditsScreen
- endCutscene() - Method in class com.csse3200.game.missions.cutscenes.Cutscene
-
Tears down the cutscene
- endTime() - Method in record class com.csse3200.game.events.ScheduledEvent
-
Returns the value of the
endTime
record component. - ENTER_TRACTOR - Enum constant in enum class com.csse3200.game.components.player.PlayerActions.events
- EntitiesSpawner - Class in com.csse3200.game.entities
-
Handles periodic spawning of multiple entities
- EntitiesSpawner(List<EntitySpawner>) - Constructor for class com.csse3200.game.entities.EntitiesSpawner
-
Constructor for EntitiesSpawner
- entity - Variable in class com.csse3200.game.components.Component
- entity - Variable in class com.csse3200.game.physics.BodyUserData
-
The entity to which this body is attached
- Entity - Class in com.csse3200.game.entities
-
Core entity class.
- Entity() - Constructor for class com.csse3200.game.entities.Entity
- Entity(EntityType) - Constructor for class com.csse3200.game.entities.Entity
- ENTITY_EFFECT - Static variable in class com.csse3200.game.services.ParticleService
- EntityIndicator - Class in com.csse3200.game.entities
-
A UI component responsible for indicating the direction of an entity which is off-screen
- EntityIndicator(Entity) - Constructor for class com.csse3200.game.entities.EntityIndicator
-
Initialise a new indicator for the given entity
- EntityIndicator(Entity, String) - Constructor for class com.csse3200.game.entities.EntityIndicator
-
Initialise a new indicator for the given entity
- entityOnScreen(Entity) - Method in class com.csse3200.game.components.CameraComponent
-
Determines if the given entity is on the screen
- EntityReward - Class in com.csse3200.game.missions.rewards
-
An Entity Reward class for when a player completes a Quest and receives reward entity as a result
- EntityReward(List<Entity>) - Constructor for class com.csse3200.game.missions.rewards.EntityReward
-
Constructor for the EntityReward class
- EntityService - Class in com.csse3200.game.entities
-
Provides a global access point for entities to register themselves.
- EntityService() - Constructor for class com.csse3200.game.entities.EntityService
- EntitySpawner - Class in com.csse3200.game.entities
-
Handles periodic spawning of one entity
- EntitySpawner(int, UnaryOperator<Entity>, int, int, int, int, int) - Constructor for class com.csse3200.game.entities.EntitySpawner
-
Constructor for EntitySpawner
- EntityType - Enum Class in com.csse3200.game.entities
-
An enum of all the entity types in the game.
- equals(Object) - Method in class com.csse3200.game.entities.Entity
- equals(Object) - Method in record class com.csse3200.game.events.ScheduledEvent
-
Indicates whether some other object is "equal to" this one.
- ESC_INPUT - Enum constant in enum class com.csse3200.game.components.player.PlayerActions.events
- EventHandler - Class in com.csse3200.game.events
-
Send and receive events between objects.
- EventHandler() - Constructor for class com.csse3200.game.events.EventHandler
- EventListener - Interface in com.csse3200.game.events.listeners
-
An event listener which is notified when events occur.
- EventListener0 - Interface in com.csse3200.game.events.listeners
-
An event listener with 0 arguments
- EventListener1<T> - Interface in com.csse3200.game.events.listeners
-
An event listener with 1 argument
- EventListener2<T0,
T1> - Interface in com.csse3200.game.events.listeners -
An event listener with 2 arguments
- EventListener3<T0,
T1, T2> - Interface in com.csse3200.game.events.listeners -
An event listener with 3 arguments
- eventName() - Method in record class com.csse3200.game.events.ScheduledEvent
-
Returns the value of the
eventName
record component. - exit() - Method in class com.csse3200.game.GdxGame
-
Exit the game.
- EXIT_TRACTOR - Enum constant in enum class com.csse3200.game.components.player.PlayerActions.events
- exitToMainMenu() - Static method in class com.csse3200.game.components.maingame.MainGameActions
- EXTERNAL - Enum constant in enum class com.csse3200.game.files.FileLoader.Location
F
- FactoryService - Class in com.csse3200.game.services
- FAILED - Enum constant in enum class com.csse3200.game.ai.tasks.Task.Status
- FAVOURITE_COLOUR - Static variable in class com.csse3200.game.entities.configs.PlayerConfig
- FAVOURITE_COLOUR - Static variable in class com.csse3200.game.entities.configs.QuestgiverConfig
- favouriteFood - Variable in class com.csse3200.game.entities.configs.BaseAnimalConfig
- FEED_EFFECT - Enum constant in enum class com.csse3200.game.services.ParticleService.ParticleEffectType
- FENCE - Enum constant in enum class com.csse3200.game.entities.EntityType
- FENCE - Enum constant in enum class com.csse3200.game.entities.HungerEntityType
- FenceComponent - Class in com.csse3200.game.components.placeables
- FenceComponent() - Constructor for class com.csse3200.game.components.placeables.FenceComponent
- FenceComponent(boolean) - Constructor for class com.csse3200.game.components.placeables.FenceComponent
- FENCES - Enum constant in enum class com.csse3200.game.components.placeables.PlaceableCategory
- FERTILISE_CROP - Enum constant in enum class com.csse3200.game.missions.MissionManager.MissionEvent
- FertiliseCropTilesQuest - Class in com.csse3200.game.missions.quests
-
FertiliseCropTilesQuest class is a Quest that tracks the number of CropTiles have been fertilised.
- FertiliseCropTilesQuest(String, Reward, int) - Constructor for class com.csse3200.game.missions.quests.FertiliseCropTilesQuest
-
Creates a
FertiliseCropTilesQuest
- FertiliseCropTilesQuest(String, Reward, int, int) - Constructor for class com.csse3200.game.missions.quests.FertiliseCropTilesQuest
-
Creates a
FertiliseCropTilesQuest
. - FERTILISER - Enum constant in enum class com.csse3200.game.components.items.ItemType
- FERTILISER_FANATIC_QUEST_NAME - Static variable in class com.csse3200.game.missions.quests.QuestFactory
- FERTILISING_FIESTA_QUEST_NAME - Static variable in class com.csse3200.game.missions.quests.QuestFactory
- FIGHT - Enum constant in enum class com.csse3200.game.services.sound.BackgroundMusicType
- FileLoader - Class in com.csse3200.game.files
-
Wrapper for reading Java objects from JSON files.
- FileLoader() - Constructor for class com.csse3200.game.files.FileLoader
- FileLoader.Location - Enum Class in com.csse3200.game.files
- fillToMax() - Method in class com.csse3200.game.components.items.WateringCanLevelComponent
-
Fill the current level of water to the max that can be stored
- findPump(Entity) - Method in class com.csse3200.game.components.placeables.SprinklerComponent
-
finds a path to a pump, returns true if path found, false otherwise.
- FINISHED - Enum constant in enum class com.csse3200.game.ai.tasks.Task.Status
- FIRE_FLIES - Enum constant in enum class com.csse3200.game.entities.EntityType
- FIRE_FLIES - Enum constant in enum class com.csse3200.game.entities.HungerEntityType
- FireflyScareComponent - Class in com.csse3200.game.components.npc
- FireflyScareComponent() - Constructor for class com.csse3200.game.components.npc.FireflyScareComponent
- FireflySpawner - Class in com.csse3200.game.entities
- FireflySpawner() - Constructor for class com.csse3200.game.entities.FireflySpawner
-
Constructor for the spawner, making this will call startSpawning at nightTime event triggered by TimeService
- FIRST_CONTACT_QUEST_NAME - Static variable in class com.csse3200.game.missions.quests.QuestFactory
- FISH - Enum constant in enum class com.csse3200.game.missions.MissionManager.MissionEvent
- FISH_CAUGHT - Enum constant in enum class com.csse3200.game.components.player.PlayerActions.events
- FISHING_CAST - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- FISHING_CATCH - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- FISHING_QUEST - Static variable in class com.csse3200.game.missions.quests.QuestFactory
- FISHING_ROD - Enum constant in enum class com.csse3200.game.components.items.ItemType
- FishingQuest - Class in com.csse3200.game.missions.quests
- FishingQuest(String, Reward, int) - Constructor for class com.csse3200.game.missions.quests.FishingQuest
- fixture - Variable in class com.csse3200.game.physics.raycast.RaycastHit
-
Fixture which was hit.
- fling(float, float, int) - Method in class com.csse3200.game.input.InputComponent
- fling(float, float, int) - Method in class com.csse3200.game.input.InputService
-
Iterates over registered input handlers in descending priority and stops as soon as the input is processed
- FLOWINGWATER - Enum constant in enum class com.csse3200.game.areas.terrain.TerrainTile.TerrainCategory
- FollowTask - Class in com.csse3200.game.components.tasks
-
Follows a target entity until they get too far away or line of sight is lost
- FollowTask(Entity, int, float, float, float, Vector2) - Constructor for class com.csse3200.game.components.tasks.FollowTask
- FollowTask(Entity, int, float, float, float, Vector2, boolean) - Constructor for class com.csse3200.game.components.tasks.FollowTask
- FOOD - Enum constant in enum class com.csse3200.game.components.items.ItemType
- forceAdult() - Method in class com.csse3200.game.components.plants.PlantComponent
-
Function used when debugging.
- forceDead() - Method in class com.csse3200.game.components.plants.PlantComponent
-
Function used when debugging.
- forceDecay() - Method in class com.csse3200.game.components.plants.PlantComponent
-
Function used when debugging.
- forceGrowthStage(String) - Method in class com.csse3200.game.components.plants.PlantComponent
-
For debugging.
- forceJuvenile() - Method in class com.csse3200.game.components.plants.PlantComponent
-
Function used when debugging.
- forceSeedling() - Method in class com.csse3200.game.components.plants.PlantComponent
-
Function used when debugging.
- forceSprout() - Method in class com.csse3200.game.components.plants.PlantComponent
-
Function used when debugging.
- forEach(Consumer<? super V>) - Method in class com.csse3200.game.utils.SortedIntMap
- fps - Variable in class com.csse3200.game.files.UserSettings.Settings
-
FPS cap of the game.
- FRAME_COUNT - Static variable in class com.csse3200.game.screens.ControlsScreen
-
A count of the frame in the background animation
- FRAME_COUNT - Static variable in class com.csse3200.game.screens.MainMenuScreen
- FRAME_COUNT - Static variable in class com.csse3200.game.screens.SettingsScreen
- FREEZE - Enum constant in enum class com.csse3200.game.components.player.PlayerActions.events
- FRIENDLY - Static variable in class com.csse3200.game.input.InputLayer
- fullscreen - Variable in class com.csse3200.game.files.UserSettings.Settings
G
- GAME - Static variable in class com.csse3200.game.input.InputLayer
- GameArea - Class in com.csse3200.game.areas
-
Represents an area in the game, such as a level, indoor area, etc.
- GameArea() - Constructor for class com.csse3200.game.areas.GameArea
- GameAreaDisplay - Class in com.csse3200.game.components.gamearea
-
Displays the name of the current game area.
- GameAreaDisplay(String) - Constructor for class com.csse3200.game.components.gamearea.GameAreaDisplay
- GameMap - Class in com.csse3200.game.areas.terrain
-
the GameMap class is used to store and easily access and manage the components related to the game map
- GameMap(TerrainFactory) - Constructor for class com.csse3200.game.areas.terrain.GameMap
-
Creates a new GameMap instance, setting the terrainFactory and instantiating a new TiledMap instance.
- GameState() - Constructor for class com.csse3200.game.files.SaveGame.GameState
- GameTime - Class in com.csse3200.game.services
-
Service that controls the game time
- GameTime() - Constructor for class com.csse3200.game.services.GameTime
- GameTimeDisplay - Class in com.csse3200.game.services
-
A UI component for displaying the current game time on the Main Game Screen.
- GameTimeDisplay() - Constructor for class com.csse3200.game.services.GameTimeDisplay
- GATE - Enum constant in enum class com.csse3200.game.entities.EntityType
- GATE - Enum constant in enum class com.csse3200.game.entities.HungerEntityType
- GATE_INTERACT - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- GdxGame - Class in com.csse3200.game
-
Entry point of the non-platform-specific game logic.
- GdxGame() - Constructor for class com.csse3200.game.GdxGame
- GdxGame.ScreenType - Enum Class in com.csse3200.game
- get() - Static method in class com.csse3200.game.files.UserSettings
-
Get the stored user settings
- get(int) - Method in class com.csse3200.game.utils.SortedIntMap
-
Get value from map
- get(String) - Static method in class com.csse3200.game.files.SaveGame
-
Get the stored save file
- getAchievements() - Method in class com.csse3200.game.missions.MissionManager
-
Returns all in-game
Achievement
s. - getActive() - Method in class com.csse3200.game.components.AuraLightComponent
-
Determines whether the light is currently on
- getActive() - Method in class com.csse3200.game.components.ConeLightComponent
-
Determines whether the light is currently on
- getActive() - Method in class com.csse3200.game.rendering.DebugRenderer
- getActivePriority() - Method in class com.csse3200.game.components.tasks.ChaseTask
-
Determines the priority when the chase task is active based on the distance to the target and the visibility of the target entity.
- getActivePriority() - Method in class com.csse3200.game.components.tasks.RunAwayTask
-
Determines the priority when the RunAwayTask is active based on the distance to the target and the visibility of the target entity and whether the animal is tamed.
- getActivePriority() - Method in class com.csse3200.game.components.tasks.TamedFollowTask
- getActiveQuests() - Method in class com.csse3200.game.missions.MissionManager
- getAdjacentBitmap() - Method in class com.csse3200.game.components.placeables.ConnectedEntityUtility
-
Gives a 4-bit representation of the adjacent Placeable entities.
- getAdjacentEntities() - Method in class com.csse3200.game.components.placeables.ConnectedEntityUtility
-
Getter for this adjacent entity array.
- getAdjList() - Method in class com.csse3200.game.components.placeables.SprinklerComponent
-
Getter for adj entity list
- getAdultEffect() - Method in class com.csse3200.game.components.plants.PlantComponent
-
Getter for adultEffect
- getAdultLifeSpan() - Method in class com.csse3200.game.components.plants.PlantComponent
-
Get the adult life span of a plant
- getAlivePlantCount() - Method in class com.csse3200.game.services.plants.PlantInfoService
-
Gets the number of alive plants
- getAoeAnimatorEntity() - Method in class com.csse3200.game.components.plants.PlantComponent
-
Getter for the area of effect animations
- getAreaEntities() - Method in class com.csse3200.game.areas.GameArea
- getAsset(String, Class<T>) - Method in class com.csse3200.game.services.ResourceService
-
Load an asset from a file.
- getBackgroundMusicService() - Method in class com.csse3200.game.services.sound.SoundService
-
Get the BackgroundMusicService
- getBaseAttack() - Method in class com.csse3200.game.components.combat.CombatStatsComponent
-
Returns the entity's base attack damage.
- getBin() - Method in class com.csse3200.game.components.inventory.InventoryDisplay
- getBlendMode() - Method in class com.csse3200.game.areas.terrain.TerrainTile
-
Returns the blend mode of the terrain tile
- getBody() - Method in class com.csse3200.game.physics.components.PhysicsComponent
-
Get the physics body.
- getCamera() - Method in class com.csse3200.game.components.CameraComponent
- getCamera() - Method in class com.csse3200.game.rendering.Renderer
- getCameraComponent() - Static method in class com.csse3200.game.services.ServiceLocator
- getCapacity() - Method in class com.csse3200.game.components.items.WateringCanLevelComponent
-
Get the private variable that represent the Max amount of water the WateringCan can hold and return it
- getCategory() - Method in class com.csse3200.game.rendering.ParticleEffectWrapper
-
Gets the wrappers category
- getCategory() - Method in enum class com.csse3200.game.services.ParticleService.ParticleEffectType
- getCenterPosition() - Method in class com.csse3200.game.entities.Entity
-
Get the entity's center position
- getClimate() - Method in class com.csse3200.game.files.SaveGame.GameState
-
Gets the ClimateController that is stored within the GameState
- getClimateController() - Method in class com.csse3200.game.areas.GameArea
- getClimateController() - Method in class com.csse3200.game.areas.SpaceGameArea
- getClimateController() - Method in class com.csse3200.game.areas.TestGameArea
- getColor() - Method in class com.csse3200.game.rendering.BlinkComponent
-
Gets the color used for rendering the entity during the blink effect.
- getComponent(Class<T>) - Method in class com.csse3200.game.entities.Entity
-
Get a component of type T on the entity.
- getCount() - Method in class com.csse3200.game.components.inventory.ItemSlot
-
Get the item count
- getCraftArea() - Static method in class com.csse3200.game.services.ServiceLocator
- getCropTile() - Method in class com.csse3200.game.components.plants.PlantComponent
-
Return the cropTile where the plant is located.
- getCurrentAge() - Method in class com.csse3200.game.components.plants.PlantComponent
- getCurrentAnimation() - Method in class com.csse3200.game.rendering.AnimationRenderComponent
-
Get the name of the animation currently being played.
- getCurrentBaseLocation() - Method in class com.csse3200.game.components.items.ClueComponent
-
Gets the base location of this item.
- getCurrentGrowthLevel() - Method in class com.csse3200.game.components.plants.PlantComponent
-
Return the current growth level of the plant.
- getCurrentLevel() - Method in class com.csse3200.game.components.items.WateringCanLevelComponent
-
Return the current amount of water within the WateringCan
- getCurrentMaxHealth() - Method in class com.csse3200.game.components.plants.PlantComponent
-
Retrieves the current maximum health value of the plant.
- getCurrentWeatherEvent() - Method in class com.csse3200.game.areas.weather.ClimateController
-
Gets the current weather event that is occurring
- getCutscene() - Method in class com.csse3200.game.missions.rewards.DialogueReward
-
Getting the cutscene.
- getCutSceneStatus() - Static method in class com.csse3200.game.services.ServiceLocator
-
Gets the cutscene status.
- getDay() - Method in class com.csse3200.game.files.SaveGame.GameState
-
Gets the day value stored in the GameState
- getDay() - Method in class com.csse3200.game.services.TimeService
-
Gets the current in-game day
- getDebug() - Method in class com.csse3200.game.rendering.Renderer
- getDebug() - Method in class com.csse3200.game.rendering.RenderService
- getDecayingPlantCount() - Method in class com.csse3200.game.services.plants.PlantInfoService
-
Gets the total number of decaying plants
- getDefaultInitialOxygen() - Method in class com.csse3200.game.services.PlanetOxygenService
-
Getter for the default initial oxygen value.
- getDeltaTime() - Method in class com.csse3200.game.services.GameTime
- getDescription() - Method in class com.csse3200.game.missions.achievements.CollectItemsAchievement
-
The description of the Achievement to give a representation of the player's progress in the Achievement.
- getDescription() - Method in class com.csse3200.game.missions.achievements.PlantCropsAchievement
-
Returns a description of the
PlantCropsAchievement
with the name of the achievement and the player's progress. - getDescription() - Method in class com.csse3200.game.missions.Mission
- getDescription() - Method in class com.csse3200.game.missions.quests.AutoQuest
-
Returns the description specified in the constructor.
- getDescription() - Method in class com.csse3200.game.missions.quests.ClearDebrisQuest
-
The description of the Quest to give a representation of the player's progress in the Quest.
- getDescription() - Method in class com.csse3200.game.missions.quests.FertiliseCropTilesQuest
-
The description of the Quest to give a representation of the player's progress in the Quest.
- getDescription() - Method in class com.csse3200.game.missions.quests.FishingQuest
- getDescription() - Method in class com.csse3200.game.missions.quests.InventoryStateQuest
- getDescription() - Method in class com.csse3200.game.missions.quests.MainQuest
-
Gets a description of the
MainQuest
. - getDescription() - Method in class com.csse3200.game.missions.quests.ManageHostilesQuest
-
Gets a description of the
ManageHostilesQuest
- getDescription() - Method in class com.csse3200.game.missions.quests.MissionCompleteQuest
-
Returns the description of the quest
- getDescription() - Method in class com.csse3200.game.missions.quests.OxygenLevelQuest
-
Gets a description of the
OxygenLevelQuest
- getDescription() - Method in class com.csse3200.game.missions.quests.PlantInteractionQuest
-
Description of the
PlantInteractionQuest
- getDescription() - Method in class com.csse3200.game.missions.quests.ShipRepairQuest
-
Gets a description of the
ShipRepairQuest
- getDescription() - Method in class com.csse3200.game.missions.quests.TameAnimalsQuest
-
Gets a description of the
TameAnimalsQuest
- getDirection() - Method in class com.csse3200.game.components.tasks.MovementTask
-
Determines the direction of movement based on the current and target positions.
- getDistanceToTarget() - Method in class com.csse3200.game.components.tasks.ChaseTask
-
Calculates the distance between the owner's entity and the target entity.
- getDnd() - Method in class com.csse3200.game.components.inventory.InventoryDisplay
- getDraggable() - Method in class com.csse3200.game.components.inventory.ItemSlot
- getDuration() - Method in class com.csse3200.game.areas.weather.WeatherEvent
-
Gets the duration of the weather event
- getEffect(ParticleService.ParticleEffectType) - Method in class com.csse3200.game.services.ParticleService
-
Obtains the pooled particle effect for a given
ParticleService.ParticleEffectType
- getEffectsMusicService() - Method in class com.csse3200.game.services.sound.SoundService
-
Get the EffectsMusicService
- getEffectType() - Method in class com.csse3200.game.components.plants.PlantAreaOfEffectComponent
- getEnteredMessage() - Method in class com.csse3200.game.ui.terminal.Terminal
- getEntities() - Method in class com.csse3200.game.entities.EntityService
-
Returns Array of entities of all entities in game
- getEntities() - Method in class com.csse3200.game.files.SaveGame.GameState
-
Gets the entities that are used in save/load
- getEntitiesInRange() - Method in class com.csse3200.game.components.InteractionDetector
-
Gets the list of entities currently in the interaction range.
- getEntitiesInRange() - Method in class com.csse3200.game.components.plants.PlantAreaOfEffectComponent
-
Returns a list of entities within the range.
- getEntitiesTowardsDirection(String) - Method in class com.csse3200.game.components.InteractionDetector
-
Gets the list of entities currently in the interaction range in the specified direction.
- getEntitiesTowardsPosition(Vector2) - Method in class com.csse3200.game.components.InteractionDetector
-
Gets the list of entities currently in the interaction range towards a position.
- getEntity() - Method in interface com.csse3200.game.ai.tasks.TaskRunner
- getEntity() - Method in class com.csse3200.game.components.Component
-
Get the entity to which this component belongs.
- getEntityService() - Static method in class com.csse3200.game.services.ServiceLocator
- getEvents() - Method in class com.csse3200.game.areas.weather.ClimateController
-
Returns the event handler for the Climate controller class
- getEvents() - Method in class com.csse3200.game.entities.Entity
-
Get the event handler attached to this entity.
- getEvents() - Method in class com.csse3200.game.missions.MissionManager
-
Returns the
MissionManager
'sEventHandler
, which is responsible for triggering events which update the state ofMission
s - getEvents() - Method in class com.csse3200.game.services.PlanetOxygenService
-
Gets the PlanetOxygenService's event handler
- getEvents() - Method in class com.csse3200.game.services.plants.PlantCommandService
-
Getter for the event handler.
- getEvents() - Method in class com.csse3200.game.services.plants.PlantInfoService
-
Getter for the event handler.
- getEvents() - Method in class com.csse3200.game.services.PlayerHungerService
- getEvents() - Method in class com.csse3200.game.services.PlayerMapService
- getEvents() - Method in class com.csse3200.game.services.TimeService
-
Gets the event handler for the TimeService
- getEvents() - Method in class com.csse3200.game.ui.UIService
- getFavouriteFood() - Method in class com.csse3200.game.components.npc.TamableComponent
-
Getter for favourite food
- getFilePath() - Method in enum class com.csse3200.game.services.sound.BackgroundSoundFile
- getFilePath() - Method in enum class com.csse3200.game.services.sound.EffectSoundFile
- getFilePath() - Method in interface com.csse3200.game.services.sound.SoundFile
-
A filepath that is to be loaded into the sound system.
- getFixture() - Method in class com.csse3200.game.physics.components.ColliderComponent
- getForbiddenItems() - Static method in class com.csse3200.game.components.player.InventoryComponent
- getFrom(Class<? extends Component>) - Static method in class com.csse3200.game.components.ComponentType
- getGame() - Static method in class com.csse3200.game.services.ServiceLocator
- getGameArea() - Static method in class com.csse3200.game.services.ServiceLocator
- getGameAreaName() - Method in class com.csse3200.game.components.gamearea.GameAreaDisplay
- getGrowthRate() - Method in class com.csse3200.game.areas.terrain.CropTileComponent
-
Gets the growth rate of the tile, assuming a water content value of 1 yields the maximum growth rate.
- getGrowthRate(float) - Method in class com.csse3200.game.areas.terrain.CropTileComponent
-
Gets the growth rate of the tile, specifying the water content of the tile which yields the maximum growth rate.
- getGrowthStage() - Method in class com.csse3200.game.components.plants.PlantComponent
-
Get the current growth stage of a plant
- getHandlesDeath() - Method in class com.csse3200.game.components.npc.MultiDropComponent
-
Returns whether this component handles death
- getHarvestYields() - Method in class com.csse3200.game.components.plants.PlantComponent
-
Gets the harvest yield of this plant.
- getHealth() - Method in class com.csse3200.game.components.combat.CombatStatsComponent
-
Returns the entity's health.
- getHeldIndex() - Method in class com.csse3200.game.components.player.InventoryComponent
-
Retrieves the held item index of the Player.
- getHeldItem() - Method in class com.csse3200.game.components.player.InventoryComponent
-
Retrieves the held item of the Player.
- getHeldItemsEntity() - Method in class com.csse3200.game.components.player.InventoryComponent
-
Returns the HashMap of the String and Entity of the item in the inventory Created only for use in ItemSlot at the moment
- getHitsAndClear() - Method in class com.csse3200.game.physics.raycast.AllHitCallback
- getHostileSpawner() - Method in class com.csse3200.game.areas.SpaceGameArea
-
Getter for hostileSpawner in this game area
- getHour() - Method in class com.csse3200.game.files.SaveGame.GameState
-
Gets the hour value stored in the GameState
- getHour() - Method in class com.csse3200.game.services.TimeService
-
Gets the current in-game hour
- getHungerLevel() - Method in class com.csse3200.game.components.player.HungerComponent
- getHungerRate() - Method in enum class com.csse3200.game.entities.HungerEntityType
-
Getter method for the hunger consumption/production rate of a given entity type.
- getId() - Method in class com.csse3200.game.areas.terrain.TerrainTile
-
Returns the id of the terrain tile
- getId() - Method in class com.csse3200.game.components.ComponentType
- getId() - Method in class com.csse3200.game.entities.Entity
-
This entity's unique ID.
- getIdealWaterLevel() - Method in class com.csse3200.game.components.plants.PlantComponent
-
Get the ideal water level of a plant
- getInactivePriority() - Method in class com.csse3200.game.components.tasks.ChaseTask
-
Determines the priority when the chase task is inactive based on the distance to the target and the visibility of the target entity.
- getInactivePriority() - Method in class com.csse3200.game.components.tasks.FollowTask
-
Determines the priority when the follow task is inactive based on the distance to the target, the visibility of the target entity, and the stopping distance.
- getInactivePriority() - Method in class com.csse3200.game.components.tasks.RunAwayTask
-
Determines the priority when the RunAwayTask is inactive based on the distance to the target and the visibility of the target entity and whether the animal is tamed.
- getInactivePriority() - Method in class com.csse3200.game.components.tasks.TamedFollowTask
- getIndexes() - Method in class com.csse3200.game.components.inventory.InventoryDisplay
- getInputFactory() - Method in class com.csse3200.game.input.InputService
-
Get the input factory to create input handlers
- getInputService() - Static method in class com.csse3200.game.services.ServiceLocator
- getInventory() - Method in class com.csse3200.game.components.inventory.InventoryDisplay
-
Fetches the player inventory and returns it
- getInventoryDisplayManager() - Static method in class com.csse3200.game.services.ServiceLocator
- getInventoryDisplays() - Method in class com.csse3200.game.components.inventory.InventoryDisplayManager
-
Remove an inventoryDisplay to the manager
- getInventoryManager() - Method in class com.csse3200.game.components.gamearea.GameAreaDisplay
-
Gets the current Display Manager
- getInventorySize() - Method in class com.csse3200.game.components.player.InventoryComponent
-
Returns the maximum size of the inventory.
- getIsEating() - Method in class com.csse3200.game.components.plants.PlantComponent
-
Is the plant eating right now.
- getItem(int) - Method in class com.csse3200.game.components.player.InventoryComponent
-
Function to get the item of a specific position in Inventory.
- getItemCount() - Method in class com.csse3200.game.components.player.InventoryComponent
-
Returns the HashMap of the String and the count of the item in the inventory
- getItemCount(int) - Method in class com.csse3200.game.components.player.InventoryComponent
-
Returns the count of an item in the inventory
- getItemCount(Entity) - Method in class com.csse3200.game.components.player.InventoryComponent
-
Returns the count of an item in the inventory
- getItemCount(String) - Method in class com.csse3200.game.components.player.InventoryComponent
-
Returns the count of an item in the inventory
- getItemDescription() - Method in class com.csse3200.game.components.items.ItemComponent
-
Returns the description of the item
- getItemFactories() - Static method in class com.csse3200.game.services.FactoryService
- getItemId() - Method in class com.csse3200.game.components.items.ItemComponent
-
Returns the id of the item
- getItemImage() - Method in class com.csse3200.game.components.inventory.ItemSlot
-
Get the item image
- getItemName() - Method in class com.csse3200.game.components.items.ItemComponent
-
Returns the name of the item
- getItemName(int) - Method in class com.csse3200.game.components.player.InventoryComponent
-
Function to get the item of a specific position in Inventory.
- getItemPlace() - Method in class com.csse3200.game.components.player.InventoryComponent
-
Returns the HashMap of the Position and the String of the item in the inventory
- getItemSupplier(String) - Static method in class com.csse3200.game.entities.factories.ItemFactory
-
Returns the supplier function for the item with the given unique name.
- getItemTexture() - Method in class com.csse3200.game.components.inventory.ItemSlot
-
Set the item texture
- getItemTexture() - Method in class com.csse3200.game.components.items.ItemComponent
- getItemType() - Method in class com.csse3200.game.components.items.ItemComponent
-
Returns the type of the item
- getLayer() - Method in class com.csse3200.game.areas.terrain.TerrainComponent
- getLayer() - Method in class com.csse3200.game.physics.components.ColliderComponent
- getLayer() - Method in class com.csse3200.game.rendering.AnimationRenderComponent
- getLayer() - Method in class com.csse3200.game.rendering.DynamicTextureRenderComponent
- getLayer() - Method in interface com.csse3200.game.rendering.Renderable
-
Layer to be rendered in.
- getLayer() - Method in class com.csse3200.game.rendering.RenderComponent
- getLayer() - Method in class com.csse3200.game.ui.UIComponent
- getLightService() - Static method in class com.csse3200.game.services.ServiceLocator
- getListener() - Method in class com.csse3200.game.components.npc.SingleDropHandler
-
Getter for listener
- getLoadableTypes() - Method in class com.csse3200.game.areas.GameArea
- getMadeFirstContact() - Method in class com.csse3200.game.components.plants.PlantInfoDisplayComponent
-
Whether first contact has been made or not
- getMap() - Method in class com.csse3200.game.areas.GameArea
- getMap() - Method in class com.csse3200.game.areas.SpaceGameArea
-
Returns the game map
- getMap() - Method in class com.csse3200.game.areas.terrain.TerrainComponent
- getMap() - Method in class com.csse3200.game.areas.TestGameArea
- getMap() - Method in class com.csse3200.game.components.inventory.InventoryDisplay
- getMapBounds(int) - Method in class com.csse3200.game.areas.terrain.TerrainComponent
- getMapSize() - Method in class com.csse3200.game.areas.terrain.GameMap
-
Returns a GridPoint2 instance that contains the size of the map.
- getMapSize() - Method in class com.csse3200.game.areas.terrain.TerrainFactory
-
Returns a copy of the MAP_SIZE variable.
- getMapTextures() - Static method in class com.csse3200.game.areas.terrain.TerrainFactory
- getMaxHealth() - Method in class com.csse3200.game.components.plants.PlantComponent
-
Returns the max health of the plant
- getMinute() - Method in class com.csse3200.game.files.SaveGame.GameState
-
Gets the in game minute that is stored within the GameState
- getMinute() - Method in class com.csse3200.game.services.TimeService
-
Gets the current in-game minute
- getMissionManager() - Static method in class com.csse3200.game.services.ServiceLocator
- getMissions() - Method in class com.csse3200.game.files.SaveGame.GameState
-
Gets the MissionManager that is stored within the GameState
- getMode() - Method in class com.csse3200.game.components.tractor.TractorActions
-
Returns tractor mode the tractor is currently using
- getMovementTask() - Method in class com.csse3200.game.components.tasks.ChaseTask
-
Gets the movement task associated with this run away task.
- getMoving() - Method in interface com.csse3200.game.ai.movement.MovementController
- getMoving() - Method in class com.csse3200.game.physics.components.PhysicsMovementComponent
- getName() - Method in class com.csse3200.game.missions.Mission
- getNearest(List<Entity>) - Method in class com.csse3200.game.components.InteractionDetector
-
Gets a list containing the nearest entity from a list of entities.
- getNonTraversableTileCoordinates() - Method in class com.csse3200.game.areas.terrain.GameMap
-
Retrieves a list of grid coordinates representing non-traversable tiles on the map.
- getNpcFactories() - Static method in class com.csse3200.game.services.FactoryService
- getNumEffects() - Method in class com.csse3200.game.components.ParticleEffectComponent
-
Gets the number of effects that are currently being tracked by the component.
- getNumHoursUntil() - Method in class com.csse3200.game.areas.weather.WeatherEvent
- getNumOfDaysAsAdult() - Method in class com.csse3200.game.components.plants.PlantComponent
-
Retrieves the number of days the plant has been an adult.
- getObjects() - Method in class com.csse3200.game.areas.terrain.TerrainTile
-
Not required for game, unimplemented
- getOccupant() - Method in class com.csse3200.game.areas.terrain.TerrainTile
-
Returns the placeable entity that is on the TerrainTile
- getOffsetX() - Method in class com.csse3200.game.areas.terrain.TerrainTile
-
Returns the x offset of the terrain tile
- getOffsetY() - Method in class com.csse3200.game.areas.terrain.TerrainTile
-
Returns the y offset of the terrain tile
- getOxygen() - Method in interface com.csse3200.game.services.OxygenLevel
-
Gets the amount of oxygen present in the object in kilos.
- getOxygen() - Method in class com.csse3200.game.services.PlanetOxygenService
- getOxygenGoal() - Method in class com.csse3200.game.services.PlanetOxygenService
-
Gets the maximum/goal amount of oxygen to be present on the planet.
- getOxygenLevel() - Method in class com.csse3200.game.files.SaveGame.GameState
-
Gets the oxygenLevel value stored in the GameState
- getOxygenPercentage() - Method in interface com.csse3200.game.services.OxygenLevel
-
Gets the oxygen present as a percentage of the upper limit (Float 0.0 - 100.0).
- getOxygenPercentage() - Method in class com.csse3200.game.services.PlanetOxygenService
- getOxygenRate() - Method in enum class com.csse3200.game.entities.EntityType
-
Getter method for the oxygen consumption/production rate of a given entity type.
- getParticleService() - Static method in class com.csse3200.game.services.ServiceLocator
- getPauseMenuArea() - Static method in class com.csse3200.game.services.ServiceLocator
- getPauseOpen() - Method in class com.csse3200.game.components.player.OpenPauseComponent
- getPhysics() - Method in class com.csse3200.game.physics.PhysicsService
- getPhysicsService() - Static method in class com.csse3200.game.services.ServiceLocator
- getPlaceableCategory() - Method in enum class com.csse3200.game.entities.EntityType
-
Getter for the placeableCategory
- getPlaceableFactories() - Static method in class com.csse3200.game.services.FactoryService
- getPlaceables() - Method in class com.csse3200.game.files.SaveGame.GameState
-
Gets the entities that are used in save/load
- getPlanetOxygenService() - Static method in class com.csse3200.game.services.ServiceLocator
- getPlant() - Method in class com.csse3200.game.areas.terrain.CropTileComponent
- getPlantCommandService() - Static method in class com.csse3200.game.services.ServiceLocator
- getPlantDescription() - Method in class com.csse3200.game.components.plants.PlantComponent
-
Returns the plant description
- getPlantFactories() - Static method in class com.csse3200.game.services.FactoryService
- getPlantHealth() - Method in class com.csse3200.game.components.plants.PlantComponent
-
Returns the current plant health
- getPlantInfoService() - Static method in class com.csse3200.game.services.ServiceLocator
- getPlantName() - Method in class com.csse3200.game.components.plants.PlantComponent
-
Returns the name of the plant
- getPlantType() - Method in class com.csse3200.game.components.plants.PlantComponent
-
Returns the type of the plant
- getPlayer() - Method in class com.csse3200.game.areas.GameArea
- getPlayer() - Method in class com.csse3200.game.areas.SpaceGameArea
- getPlayer() - Method in class com.csse3200.game.files.SaveGame.GameState
-
Gets the player entity stored in the GameState
- getPlayerHungerService() - Static method in class com.csse3200.game.services.ServiceLocator
- getPlayerMapService() - Static method in class com.csse3200.game.services.ServiceLocator
- getPooledEffect() - Method in class com.csse3200.game.rendering.ParticleEffectWrapper
-
Gets the pooled effect that is contained in the wrapper
- getPosition() - Method in class com.csse3200.game.entities.Entity
-
Get the entity's game position.
- getPowered() - Method in class com.csse3200.game.components.placeables.SprinklerComponent
-
Allows other sprinklers to query if this sprinkler has power.
- getPrevMoveDirection() - Method in class com.csse3200.game.components.player.PlayerActions
- getPrice() - Method in class com.csse3200.game.components.items.ItemComponent
-
Returns the price of the item
- getPriority() - Method in interface com.csse3200.game.ai.tasks.PriorityTask
- getPriority() - Method in class com.csse3200.game.ai.tasks.TimedTask
-
Return priority
- getPriority() - Method in class com.csse3200.game.areas.weather.WeatherEvent
-
Returns the priority of the weather event
- getPriority() - Method in class com.csse3200.game.components.tasks.ChaseTask
-
Gets the priority level of the chase task based on the current status and conditions.
- getPriority() - Method in class com.csse3200.game.components.tasks.MoveToPlantTask
-
Gets the priority level of the move to plant task.
- getPriority() - Method in class com.csse3200.game.components.tasks.MoveToShipTask
-
Gets the priority level of the move to ship task.
- getPriority() - Method in class com.csse3200.game.components.tasks.WanderTask
-
Gets the priority level of the wander task.
- getPriority() - Method in class com.csse3200.game.input.InputComponent
- getProgress() - Method in class com.csse3200.game.components.ship.ShipProgressComponent
-
Get current repair status.
- getProgress() - Method in class com.csse3200.game.missions.achievements.CollectItemsAchievement
-
Get the number of debris the player has cleared since Achievements was registered.
- getProgress() - Method in class com.csse3200.game.missions.achievements.PlantCropsAchievement
-
Gives the progress of the
PlantCropsAchievement
- getProgress() - Method in class com.csse3200.game.missions.Mission
- getProgress() - Method in class com.csse3200.game.missions.quests.AutoQuest
-
Gets the
AutoQuest
's progress. - getProgress() - Method in class com.csse3200.game.missions.quests.ClearDebrisQuest
-
Get the number of debris the player has cleared since Quest was registered.
- getProgress() - Method in class com.csse3200.game.missions.quests.FertiliseCropTilesQuest
-
Get the number of cropTiles the player has fertilised since Quest was registered.
- getProgress() - Method in class com.csse3200.game.missions.quests.FishingQuest
- getProgress() - Method in class com.csse3200.game.missions.quests.InventoryStateQuest
- getProgress() - Method in class com.csse3200.game.missions.quests.MainQuest
-
Gives the current progress of the
MainQuest
. - getProgress() - Method in class com.csse3200.game.missions.quests.ManageHostilesQuest
-
Gets the
ManageHostilesQuest
progress - getProgress() - Method in class com.csse3200.game.missions.quests.MissionCompleteQuest
-
Returns the progress of the quest
- getProgress() - Method in class com.csse3200.game.missions.quests.OxygenLevelQuest
-
Gets the
OxygenLevelQuest
's progress. - getProgress() - Method in class com.csse3200.game.missions.quests.PlantInteractionQuest
-
Gets the
PlantInteractionQuest
- getProgress() - Method in class com.csse3200.game.missions.quests.ShipRepairQuest
-
The progress of the
ShipRepairQuest
- getProgress() - Method in class com.csse3200.game.missions.quests.TameAnimalsQuest
-
Gets the
TameAnimalsQuest
's progress - getProgress() - Method in class com.csse3200.game.services.ResourceService
-
Returns the loading completion progress as a percentage.
- getProjectionMatrix() - Method in class com.csse3200.game.components.CameraComponent
- getProperties() - Method in class com.csse3200.game.areas.terrain.TerrainTile
-
Not required for game, unimplemented
- getPump() - Method in class com.csse3200.game.components.placeables.SprinklerComponent
-
Returns true if this sprinkler is a pump.
- getQuests() - Static method in class com.csse3200.game.services.FactoryService
- getQuitGameStatus() - Static method in class com.csse3200.game.components.maingame.PauseMenuActions
- getRadius() - Method in class com.csse3200.game.components.plants.PlantAreaOfEffectComponent
-
Returns the radius of the area of effect for the plant.
- getRadius() - Method in class com.csse3200.game.components.plants.PlantProximityComponent
-
Gets the radius of the hitbox area.
- getRawDeltaTime() - Method in class com.csse3200.game.services.GameTime
- getRawPriority() - Method in class com.csse3200.game.components.tasks.ChaseTask
-
Getter for the raw priority of this task
- getRayHandler() - Method in class com.csse3200.game.services.LightService
-
Getter method for the ray handler
- getRenderService() - Static method in class com.csse3200.game.services.ServiceLocator
- getResourceService() - Static method in class com.csse3200.game.services.ServiceLocator
- getSaveLoadService() - Static method in class com.csse3200.game.services.ServiceLocator
- getScale() - Method in class com.csse3200.game.entities.Entity
-
Get the entity's scale.
- getScale() - Method in class com.csse3200.game.rendering.AnimationEffectsComponent
-
Gets the scale used for rendering the animation.
- getScheduledEventsSize() - Method in class com.csse3200.game.events.EventHandler
- getSelectableQuests() - Method in class com.csse3200.game.missions.MissionManager
- getSeverity() - Method in class com.csse3200.game.areas.weather.WeatherEvent
-
Gets the severity of this weather event
- getShape() - Method in class com.csse3200.game.components.plants.PlantProximityComponent
-
Gets the shape of the hitbox area.
- getShortDescription() - Method in class com.csse3200.game.missions.achievements.CollectItemsAchievement
-
Gives the player's progress in the CollectItemsAchievement.
- getShortDescription() - Method in class com.csse3200.game.missions.achievements.PlantCropsAchievement
-
Gives a short description of the
PlantCropsAchievement
showing the player's progress in the achievement. - getShortDescription() - Method in class com.csse3200.game.missions.Mission
- getShortDescription() - Method in class com.csse3200.game.missions.quests.AutoQuest
-
Returns the description as in
AutoQuest.getDescription()
method. - getShortDescription() - Method in class com.csse3200.game.missions.quests.ClearDebrisQuest
-
Gives the player's progress in the ClearDebrisQuest.
- getShortDescription() - Method in class com.csse3200.game.missions.quests.FertiliseCropTilesQuest
-
Gives the player's progress in the
FertiliseCropTilesQuest
. - getShortDescription() - Method in class com.csse3200.game.missions.quests.FishingQuest
- getShortDescription() - Method in class com.csse3200.game.missions.quests.InventoryStateQuest
- getShortDescription() - Method in class com.csse3200.game.missions.quests.MainQuest
-
Gives a short description of the
MainQuest
's progress - getShortDescription() - Method in class com.csse3200.game.missions.quests.ManageHostilesQuest
-
Gets a short description of the
ManageHostilesQuest
containing the player's quest progress. - getShortDescription() - Method in class com.csse3200.game.missions.quests.MissionCompleteQuest
-
Returns the short description of the quest
- getShortDescription() - Method in class com.csse3200.game.missions.quests.OxygenLevelQuest
-
Gets a short description of the
OxygenLevelQuest
- getShortDescription() - Method in class com.csse3200.game.missions.quests.PlantInteractionQuest
-
Short description of the
PlantInteractionQuest
- getShortDescription() - Method in class com.csse3200.game.missions.quests.ShipRepairQuest
-
Gets a short description of the
ShipRepairQuest
- getShortDescription() - Method in class com.csse3200.game.missions.quests.TameAnimalsQuest
-
Gets a short descritiopn of the
TameAnimalsQuest
- getShowPlantInfoUI() - Static method in class com.csse3200.game.components.player.KeyboardPlayerInputComponent
-
Shows whether the plant info window is currently being displayed
- getSize() - Method in class com.csse3200.game.entities.EntityService
-
Get number of entities registered
- getSlots() - Method in class com.csse3200.game.components.inventory.InventoryDisplay
- getSoundService() - Static method in class com.csse3200.game.services.ServiceLocator
- getSpeed() - Method in class com.csse3200.game.components.tasks.MovementTask
-
Retrieves the movement speed of the entity.
- getSpeedModifier() - Method in class com.csse3200.game.areas.terrain.TerrainTile
-
Returns the speed modifier of the terrain tile
- getStage() - Method in class com.csse3200.game.rendering.Renderer
- getStage() - Method in class com.csse3200.game.rendering.RenderService
- getStatus() - Method in class com.csse3200.game.ai.tasks.DefaultTask
- getStatus() - Method in interface com.csse3200.game.ai.tasks.Task
-
Get the current status of the task.
- getTarget() - Method in interface com.csse3200.game.ai.movement.MovementController
- getTarget() - Method in class com.csse3200.game.components.tasks.ChaseTask
-
Getter for the target entity that this task is related to
- getTarget() - Method in class com.csse3200.game.physics.components.PhysicsMovementComponent
- getTerrainCategory() - Method in class com.csse3200.game.areas.terrain.TerrainTile
-
Returns the terrain tile's terrain category i.e.
- getTerrainComponent() - Method in class com.csse3200.game.areas.terrain.GameMap
-
Returns the TerrainComponent instance stored in the GameMap class.
- getTerrainFactory() - Method in class com.csse3200.game.areas.terrain.GameMap
-
Returns the TerrainFactory instance stored in the GameMap class.
- getTexturePath() - Method in class com.csse3200.game.components.player.PlayerHighlightComponent
-
Returns the path to the texture
- getTextureRegion() - Method in class com.csse3200.game.areas.terrain.TerrainTile
-
Returns the texture region of the terrain tile
- getTile(GridPoint2) - Method in class com.csse3200.game.areas.terrain.GameMap
-
Gets the TerrainTile at the specified GridPoint2 position.
- getTile(Vector2) - Method in class com.csse3200.game.areas.terrain.GameMap
-
Gets the TerrainTile at the specified Vector2 position.
- getTiledMap() - Method in class com.csse3200.game.areas.terrain.GameMap
-
Returns the TiledMap instance stored in the GameMap class.
- getTiles() - Method in class com.csse3200.game.files.SaveGame.GameState
-
Gets the entities that are used in save/load
- getTileSize() - Method in class com.csse3200.game.areas.terrain.TerrainComponent
- getTime() - Method in class com.csse3200.game.services.GameTime
- getTimeService() - Static method in class com.csse3200.game.services.ServiceLocator
- getTimeSince(long) - Method in class com.csse3200.game.services.GameTime
- getTimeSource() - Static method in class com.csse3200.game.services.ServiceLocator
- getTotalPlantHarvestCount() - Method in class com.csse3200.game.services.plants.PlantInfoService
-
Gets the total number plants harvested
- getTotalSeedsPlanted() - Method in class com.csse3200.game.services.plants.PlantInfoService
-
Gets the total number of seeds planted
- getTrackEntity() - Method in class com.csse3200.game.components.CameraComponent
-
Gets the entity currently tracked by the camera.
- getTractor() - Method in class com.csse3200.game.areas.GameArea
- getTractor() - Method in class com.csse3200.game.files.SaveGame.GameState
-
Gets the Tractor entity stored within the GameState
- getTransitionTextures() - Static method in class com.csse3200.game.screens.ControlsScreen
-
Get the transition textures for control screen
- getTransitionTextures() - Static method in class com.csse3200.game.screens.MainMenuScreen
-
Get the transition textures for control screen
- getTransitionTextures() - Static method in class com.csse3200.game.screens.SettingsScreen
-
Get the transition textures for control screen
- getTraversableTileCoordinates() - Method in class com.csse3200.game.areas.terrain.GameMap
-
Retrieves a list of grid coordinates representing traversable tiles on the map.
- getTrigger() - Method in class com.csse3200.game.components.npc.SingleDropHandler
-
Getter for trigger
- getType() - Method in class com.csse3200.game.entities.Entity
-
Gets the type of entity
- getType() - Method in class com.csse3200.game.rendering.ParticleEffectWrapper
-
Gets the type of particle effect in the wrapper
- getType() - Method in enum class com.csse3200.game.services.sound.BackgroundSoundFile
- getUIService() - Static method in class com.csse3200.game.services.ServiceLocator
- getUnlockedFeatures() - Method in class com.csse3200.game.components.ship.ShipProgressComponent
-
Get unlocked features.
- getValue() - Method in enum class com.csse3200.game.components.plants.PlantComponent.GrowthStage
- getVelocity() - Method in class com.csse3200.game.components.combat.ProjectileComponent
-
Gets the velocity vector of the projectile.
- getViewDistance() - Method in class com.csse3200.game.components.tasks.ChaseTask
-
Getter for distance that the entity can ee
- getWalkDirection() - Method in class com.csse3200.game.components.player.KeyboardPlayerInputComponent
- getWalkDirection() - Method in class com.csse3200.game.components.tractor.KeyboardTractorInputComponent
-
Returns the direction the tractor is moving.
- getWaterContent() - Method in class com.csse3200.game.areas.terrain.CropTileComponent
- getWindow() - Method in class com.csse3200.game.components.inventory.InventoryDisplay
-
Get the current window
- getWorld() - Method in class com.csse3200.game.physics.PhysicsEngine
- getZIndex() - Method in class com.csse3200.game.areas.terrain.TerrainComponent
- getZIndex() - Method in class com.csse3200.game.components.endcredits.EndCreditsDisplay
- getZIndex() - Method in class com.csse3200.game.components.gamearea.PerformanceDisplay
- getZIndex() - Method in class com.csse3200.game.components.losescreen.LoseScreenDisplay
- getZIndex() - Method in class com.csse3200.game.components.maingame.mainmenu.MainMenuDisplay
- getZIndex() - Method in class com.csse3200.game.components.winscreen.WinScreenDisplay
- getZIndex() - Method in interface com.csse3200.game.rendering.Renderable
-
Z index controls rendering order within a layer.
- getZIndex() - Method in class com.csse3200.game.rendering.RenderComponent
- getZIndex() - Method in class com.csse3200.game.ui.terminal.TerminalDisplay
- getZIndex() - Method in class com.csse3200.game.ui.UIComponent
- GhostAnimationController - Class in com.csse3200.game.components.npc
-
This class listens to events relevant to a ghost entity's state and plays the animation when one of the events is triggered.
- GhostAnimationController() - Constructor for class com.csse3200.game.components.npc.GhostAnimationController
- GhostKingConfig - Class in com.csse3200.game.entities.configs
-
Defines the properties stored in ghost king config files to be loaded by the NPC Factory.
- GhostKingConfig() - Constructor for class com.csse3200.game.entities.configs.GhostKingConfig
- god - Static variable in class com.csse3200.game.services.ServiceLocator
- GOD_DID - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- GODDIDCommand - Class in com.csse3200.game.ui.terminal.commands
- GODDIDCommand() - Constructor for class com.csse3200.game.ui.terminal.commands.GODDIDCommand
- GODDIDNTCommand - Class in com.csse3200.game.ui.terminal.commands
- GODDIDNTCommand() - Constructor for class com.csse3200.game.ui.terminal.commands.GODDIDNTCommand
- GOLD - Static variable in class com.csse3200.game.entities.configs.PlayerConfig
- GOLD - Static variable in class com.csse3200.game.entities.configs.QuestgiverConfig
- GOLDEN_STATUE - Enum constant in enum class com.csse3200.game.entities.EntityType
- GRASS - Enum constant in enum class com.csse3200.game.areas.terrain.TerrainTile.TerrainCategory
- GRAVEL - Enum constant in enum class com.csse3200.game.areas.terrain.TerrainTile.TerrainCategory
- GridPoint2Utils - Class in com.csse3200.game.utils.math
-
Contains additional utility constants and functions for common GridPoint2 operations.
- GUN - Enum constant in enum class com.csse3200.game.components.items.ItemType
- GUN_ATTACK - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- GUN_RELOAD - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
H
- HABER_HOBBYIST_QUEST_NAME - Static variable in class com.csse3200.game.missions.quests.QuestFactory
- HAMMER_PLANT_CLICK_LORE - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- HAMMER_PLANT_DECAY_LORE - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- HAMMER_PLANT_DESTROY_LORE - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- HAMMER_PLANT_NEARBY_LORE - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- hammerPlant - Variable in class com.csse3200.game.entities.configs.plants.PlantConfigs
- handle() - Method in interface com.csse3200.game.events.listeners.EventListener0
- handle(T) - Method in interface com.csse3200.game.events.listeners.EventListener1
- handle(T0, T1) - Method in interface com.csse3200.game.events.listeners.EventListener2
- handle(T0, T1, T2) - Method in interface com.csse3200.game.events.listeners.EventListener3
- handleBackspace() - Method in class com.csse3200.game.ui.terminal.Terminal
-
Removes the last character of the entered message.
- handleDeath() - Method in class com.csse3200.game.components.combat.CombatStatsComponent
- HARVEST_CROP - Enum constant in enum class com.csse3200.game.missions.MissionManager.MissionEvent
- HARVESTING - Enum constant in enum class com.csse3200.game.components.tractor.TractorMode
- hasAnimation(String) - Method in class com.csse3200.game.rendering.AnimationRenderComponent
-
Whether the animator has added the given animation.
- hashCode() - Method in class com.csse3200.game.entities.Entity
- hashCode() - Method in record class com.csse3200.game.events.ScheduledEvent
-
Returns a hash code value for this object.
- hasItem(Entity) - Method in class com.csse3200.game.components.player.InventoryComponent
-
Returns if the player has a certain item or not.
- hasItem(String) - Method in class com.csse3200.game.components.player.InventoryComponent
-
Returns if the player has a certain item or not
- health - Variable in class com.csse3200.game.entities.configs.BaseAnimalConfig
- health - Variable in class com.csse3200.game.entities.configs.plants.BasePlantConfig
- HEALTH - Static variable in class com.csse3200.game.entities.configs.BaseEntityConfig
- HealthDisplay - Class in com.csse3200.game.services
-
A UI component for displaying the current health level on the Main Game Screen.
- HealthDisplay() - Constructor for class com.csse3200.game.services.HealthDisplay
- height - Variable in class com.csse3200.game.files.UserSettings.DisplaySettings
- HEXAGONAL - Enum constant in enum class com.csse3200.game.areas.terrain.TerrainComponent.TerrainOrientation
- hide() - Method in class com.csse3200.game.components.inventory.InventoryDisplay
-
Hide the inventory.
- hide() - Method in class com.csse3200.game.components.inventory.ToolbarDisplay
-
Hide the toolbar.
- hideAction(Tooltip) - Method in class com.csse3200.game.components.inventory.InstantTooltipManager
- hit - Variable in class com.csse3200.game.physics.raycast.SingleHitCallback
- hit(CombatStatsComponent) - Method in class com.csse3200.game.components.combat.CombatStatsComponent
- HitboxComponent - Class in com.csse3200.game.physics.components
-
Physics comp
- HitboxComponent() - Constructor for class com.csse3200.game.physics.components.HitboxComponent
- hitFromEntity(Entity) - Method in class com.csse3200.game.components.combat.CombatStatsComponent
- HOE - Enum constant in enum class com.csse3200.game.components.items.ItemType
- HOE - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- HOME_SICK_QUEST_NAME - Static variable in class com.csse3200.game.missions.quests.QuestFactory
- HostileAnimationController - Class in com.csse3200.game.components.npc
-
The HostileAnimationController class is responsible for controlling the animations of a hostile NPC entity.
- HostileAnimationController() - Constructor for class com.csse3200.game.components.npc.HostileAnimationController
- HOTKEY_SELECT - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- hourUpdate() - Method in class com.csse3200.game.components.plants.PlantComponent
-
Functionality for the plant that needs to update every hour.
- hourUpdate() - Method in class com.csse3200.game.entities.EntitySpawner
-
Handles each hour trigger - responsible for calling spawnNPC() at correct time
- HungerBar - Class in com.csse3200.game.services
- HungerBar() - Constructor for class com.csse3200.game.services.HungerBar
- HungerComponent - Class in com.csse3200.game.components.player
- HungerComponent(int) - Constructor for class com.csse3200.game.components.player.HungerComponent
- HungerEntityType - Enum Class in com.csse3200.game.entities
I
- ICE - Enum constant in enum class com.csse3200.game.areas.terrain.TerrainTile.TerrainCategory
- idealWaterLevel - Variable in class com.csse3200.game.entities.configs.plants.BasePlantConfig
- IDLE_PREFIX - Static variable in class com.csse3200.game.components.npc.AnimalAnimationController
-
Idle prefix to play idle animation
- IMPACT - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- IN_USE - Static variable in class com.csse3200.game.input.InputLayer
- INACTIVE - Enum constant in enum class com.csse3200.game.ai.tasks.Task.Status
- increaseGrowthStage(int) - Method in class com.csse3200.game.components.plants.PlantComponent
-
Increment the current growth stage of a plant by 1
- increaseHungerLevel(int) - Method in class com.csse3200.game.components.player.HungerComponent
- increasePlantGrowthStageCount(int, String) - Method in class com.csse3200.game.services.plants.PlantInfoService
-
Increase the number of plants at a certain growth stage.
- increasePlantHealth(int) - Method in class com.csse3200.game.components.plants.PlantComponent
-
Increase (or decrease) the plant health by some value
- increasePlantsHarvested(int, String) - Method in class com.csse3200.game.services.plants.PlantInfoService
-
Increase the total count of plants harvested by an integer value.
- increaseSeedsPlanted(int, String) - Method in class com.csse3200.game.services.plants.PlantInfoService
-
Increase the number of seeds planted by an integer value.
- incrementLevel(float) - Method in class com.csse3200.game.components.items.WateringCanLevelComponent
-
increment the current amount of water by the given amount of water check to see if the can is not at capacity
- incrementOxygen() - Method in class com.csse3200.game.components.plants.PlantComponent
-
Changes the oxygen level of the planet based on the plant and growth stage
- incrementPauseCounter() - Static method in class com.csse3200.game.components.player.KeyboardPlayerInputComponent
- INITIAL_SOIL_QUALITY - Static variable in class com.csse3200.game.entities.configs.CropTileConfig
- INITIAL_WATER_CONTENT - Static variable in class com.csse3200.game.entities.configs.CropTileConfig
- initialiseEvents() - Method in class com.csse3200.game.areas.weather.ClimateController
-
Initialises the events and listeners for this
ClimateController
. - inPlayerPos(ArrayList<GridPoint2>, GridPoint2) - Method in class com.csse3200.game.services.ToggleableMap
-
Check if the given position is in the list of player's position
- InputComponent - Class in com.csse3200.game.input
-
An InputComponent that supports keyboard and touch input and touch gestures.
- InputComponent() - Constructor for class com.csse3200.game.input.InputComponent
-
Sets priority to the default value;
- InputComponent(int) - Constructor for class com.csse3200.game.input.InputComponent
-
Sets input handler priority to a given value.
- InputDecorator - Class in com.csse3200.game.input
-
Generic class to wrap an InputProcessor so that it acts like an InputComponent.
- InputDecorator(InputProcessor, int) - Constructor for class com.csse3200.game.input.InputDecorator
- InputFactory - Class in com.csse3200.game.input
-
InputFactory creates inputType-specific inputFactories which can handle various types of input.
- InputFactory() - Constructor for class com.csse3200.game.input.InputFactory
- InputFactory.InputType - Enum Class in com.csse3200.game.input
-
Input device types
- InputLayer - Class in com.csse3200.game.input
- InputLayer() - Constructor for class com.csse3200.game.input.InputLayer
- InputService - Class in com.csse3200.game.input
-
Provides a global access point for handling user input and creating input handlers.
- InputService() - Constructor for class com.csse3200.game.input.InputService
- InputService(InputFactory) - Constructor for class com.csse3200.game.input.InputService
- InstantTooltipManager - Class in com.csse3200.game.components.inventory
- InstantTooltipManager() - Constructor for class com.csse3200.game.components.inventory.InstantTooltipManager
- interactionDetector - Variable in class com.csse3200.game.components.combat.attackpatterns.AttackPatternComponent
-
Entity's interaction detector
- interactionDetector - Variable in class com.csse3200.game.components.npc.ShipEaterScareComponent
-
Entity's interaction detector
- InteractionDetector - Class in com.csse3200.game.components
-
Represents a component that handles interaction detection with entities within a specified range.
- InteractionDetector(float) - Constructor for class com.csse3200.game.components.InteractionDetector
-
Constructs an InteractionDetector with the specified interaction range.
- InteractionDetector(float, List<EntityType>) - Constructor for class com.csse3200.game.components.InteractionDetector
-
Constructs an InteractionDetector with the specified interaction range.
- INTERNAL - Enum constant in enum class com.csse3200.game.files.FileLoader.Location
- INTRO - Enum constant in enum class com.csse3200.game.GdxGame.ScreenType
- IntroDisplay - Class in com.csse3200.game.components.intro
-
Display and logic for the intro screen.
- IntroDisplay(GdxGame) - Constructor for class com.csse3200.game.components.intro.IntroDisplay
- IntroScreen - Class in com.csse3200.game.screens
- IntroScreen(GdxGame) - Constructor for class com.csse3200.game.screens.IntroScreen
- InvalidSoundFileException - Exception in com.csse3200.game.services.sound
- InvalidSoundFileException() - Constructor for exception com.csse3200.game.services.sound.InvalidSoundFileException
- InvalidSoundFileException(String) - Constructor for exception com.csse3200.game.services.sound.InvalidSoundFileException
- INVENTORY_OPEN - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- InventoryComponent - Class in com.csse3200.game.components.player
-
A component intended to be used by the player to track their inventory.
- InventoryComponent() - Constructor for class com.csse3200.game.components.player.InventoryComponent
-
Creates a new InventoryComponent with a given maximum size.
- InventoryComponent(List<Entity>) - Constructor for class com.csse3200.game.components.player.InventoryComponent
-
Creates a new InventoryComponent with a given list of items.
- InventoryDisplay - Class in com.csse3200.game.components.inventory
-
An ui component for displaying player stats, e.g.
- InventoryDisplay(String, String, Integer, Integer, Boolean) - Constructor for class com.csse3200.game.components.inventory.InventoryDisplay
-
Constructor for class
- InventoryDisplayManager - Class in com.csse3200.game.components.inventory
- InventoryDisplayManager(Stage) - Constructor for class com.csse3200.game.components.inventory.InventoryDisplayManager
-
Initialise the Inventory Display Manager
- InventoryStateQuest - Class in com.csse3200.game.missions.quests
- InventoryStateQuest(String, Reward, int, Map<String, Integer>) - Constructor for class com.csse3200.game.missions.quests.InventoryStateQuest
- InventoryStateQuest(String, Reward, Map<String, Integer>) - Constructor for class com.csse3200.game.missions.quests.InventoryStateQuest
- isActive() - Method in class com.csse3200.game.areas.weather.WeatherEvent
-
Determines whether the weather event is active based on the countdown timer and the duration
- isAtTarget() - Method in class com.csse3200.game.components.tasks.MovementTask
-
Checks if the entity has reached the target position.
- isBlinking() - Method in class com.csse3200.game.rendering.BlinkComponent
-
Checks whether the entity is currently blinking.
- isCollected() - Method in class com.csse3200.game.missions.rewards.Reward
- isCompleted() - Method in class com.csse3200.game.missions.achievements.CollectItemsAchievement
-
Checks if the CollectItemsAchievement is complete
- isCompleted() - Method in class com.csse3200.game.missions.achievements.PlantCropsAchievement
-
Returns true if the number of crops the player has planted is greater than or equal to the target number of plants.
- isCompleted() - Method in class com.csse3200.game.missions.Mission
-
Returns a boolean value representing whether the
Mission
has been completed. - isCompleted() - Method in class com.csse3200.game.missions.quests.AutoQuest
-
Always returns true as there is no dynamic progress.
- isCompleted() - Method in class com.csse3200.game.missions.quests.ClearDebrisQuest
-
Checks if the ClearDebrisQuest is complete
- isCompleted() - Method in class com.csse3200.game.missions.quests.FertiliseCropTilesQuest
-
Returns true if the number of crop tiles the player has fertilised is greater than or equal to the target number of tiles.
- isCompleted() - Method in class com.csse3200.game.missions.quests.FishingQuest
- isCompleted() - Method in class com.csse3200.game.missions.quests.InventoryStateQuest
- isCompleted() - Method in class com.csse3200.game.missions.quests.MainQuest
-
Checks if the
MainQuest
is complete. - isCompleted() - Method in class com.csse3200.game.missions.quests.ManageHostilesQuest
-
Checks whether the
ManageHostilesQuest
is complete. - isCompleted() - Method in class com.csse3200.game.missions.quests.MissionCompleteQuest
-
Returns whether the quest is completed
- isCompleted() - Method in class com.csse3200.game.missions.quests.OxygenLevelQuest
-
Checks if the
OxygenLevelQuest
- isCompleted() - Method in class com.csse3200.game.missions.quests.PlantInteractionQuest
-
Checks if
PlantInteractionQuest
is complete - isCompleted() - Method in class com.csse3200.game.missions.quests.ShipRepairQuest
-
Checks if
ShipRepairQuest
is complete - isCompleted() - Method in class com.csse3200.game.missions.quests.TameAnimalsQuest
-
Checks if the
TameAnimalsQuest
is complete - isDay() - Method in class com.csse3200.game.services.TimeService
-
Determines whether it is day or not
- isDead() - Method in class com.csse3200.game.components.combat.CombatStatsComponent
-
Returns true if the entity's has 0 health, otherwise false.
- isDead() - Method in class com.csse3200.game.components.plants.PlantComponent
-
Check if a plant is dead
- isDecay() - Method in class com.csse3200.game.components.plants.PlantComponent
-
Find out if the plant is decaying or not.
- isEmpty() - Method in class com.csse3200.game.components.items.WateringCanLevelComponent
-
check and return whether the wateringCan is empty
- isExpired() - Method in class com.csse3200.game.areas.weather.WeatherEvent
-
Determines whether the weather event has finished
- isExpired() - Method in class com.csse3200.game.missions.quests.Quest
-
Returns a boolean value representing whether the quest has expired.
- isFertilised() - Method in class com.csse3200.game.areas.terrain.CropTileComponent
-
Returns whether the tile is fertilised.
- isFinished() - Method in class com.csse3200.game.rendering.AnimationRenderComponent
-
Has the playing animation finished? This will always be false for looping animations.
- isFull() - Method in class com.csse3200.game.components.items.WateringCanLevelComponent
-
Check and return whether the wateringCan is full
- isFull() - Method in class com.csse3200.game.components.player.InventoryComponent
-
Checks if the inventory is full.
- isHiding - Variable in class com.csse3200.game.components.npc.ShipEaterScareComponent
- isLoadOnStart() - Method in class com.csse3200.game.GdxGame
-
isLoadOnStart lets the game know if the player wants to load up a saved game if false the game will load up as default
- isMandatory() - Method in class com.csse3200.game.missions.quests.Quest
-
Determines whether the quest is mandatory or not
- isMoving() - Method in class com.csse3200.game.components.tractor.TractorActions
-
Checks if the player/tractor is moving.
- isMuted() - Method in class com.csse3200.game.components.player.PlayerActions
-
When in the tractor inputs should be muted, this handles that.
- isMuted() - Method in class com.csse3200.game.components.player.PlayerHighlightComponent
-
Returns the muted boolean
- isMuted() - Method in class com.csse3200.game.components.tractor.TractorActions
-
When in the tractor inputs should be muted, this handles that.
- isMuted() - Method in class com.csse3200.game.services.sound.BackgroundMusicService
-
Returns the current mute status.
- isMuted() - Method in class com.csse3200.game.services.sound.EffectsMusicService
- isMuted() - Method in interface com.csse3200.game.services.sound.MusicService
-
Check if the current MusicService is currently muted.
- isNight() - Method in class com.csse3200.game.services.TimeService
-
Determines whether it is night or not
- isNoMoreUse() - Method in class com.csse3200.game.components.plants.PlantMouseHoverComponent
-
Checks whether the plant information should no longer be used.
- isNumeric(String) - Static method in class com.csse3200.game.areas.terrain.TerrainFactory
-
This function will be used to check if a string is numeric.
- isOccupied() - Method in class com.csse3200.game.areas.terrain.TerrainTile
-
returns if the tile is occupied by another entity (i.e.
- ISOMETRIC - Enum constant in enum class com.csse3200.game.areas.terrain.TerrainComponent.TerrainOrientation
- isOpen() - Method in class com.csse3200.game.components.inventory.InventoryDisplay
- isOpen() - Method in class com.csse3200.game.ui.terminal.Terminal
- isPaused() - Method in class com.csse3200.game.services.TimeService
-
Returns whether the game is paused or not
- isPerishable() - Method in class com.csse3200.game.components.items.ItemComponent
-
Returns if the item is consumable
- isPlantDead() - Method in class com.csse3200.game.components.plants.PlantMouseHoverComponent
-
Checks if the plant is dead.
- isPlaying(SoundFile) - Method in class com.csse3200.game.services.sound.BackgroundMusicService
-
Checks if the given sound file is playing.
- isPlaying(SoundFile) - Method in class com.csse3200.game.services.sound.EffectsMusicService
-
Only tracks looping audio, as there is no method by which to check playing status of non-looping effects.
- isPlaying(SoundFile) - Method in interface com.csse3200.game.services.sound.MusicService
-
Checks if a certain SoundFile is playing.
- isPlaying(SoundFile, long) - Method in class com.csse3200.game.services.sound.EffectsMusicService
-
Check if a certain instance of a SoundFile is playing.
- isRewardCollected() - Method in class com.csse3200.game.missions.quests.Quest
-
Returns a boolean value representing if this quest's rewards has been collected yet.
- isSellable() - Method in class com.csse3200.game.components.items.ItemComponent
-
Returns selalble bool of item
- isShowInfo() - Method in class com.csse3200.game.components.plants.PlantMouseHoverComponent
-
Checks whether plant information is currently being shown.
- isStunned() - Method in class com.csse3200.game.components.combat.StunComponent
-
Checks whether the entity is currently stunned.
- isStunned() - Method in class com.csse3200.game.components.player.PlayerActions
- isStunned() - Method in class com.csse3200.game.physics.components.PhysicsMovementComponent
- isTamed() - Method in class com.csse3200.game.components.npc.TamableComponent
-
Function is used to check to see if the animal has been tamed.
- isTargetVisible() - Method in class com.csse3200.game.components.tasks.ChaseTask
-
Checks if the target entity is visible from the owner's entity position by performing a raycast.
- isTillable() - Method in class com.csse3200.game.areas.terrain.TerrainTile
-
returns if the tile is tillable or not
- isTraversable() - Method in class com.csse3200.game.areas.terrain.TerrainTile
-
returns whether a terrainTile is traversable or not
- ITEM - Enum constant in enum class com.csse3200.game.entities.EntityType
- ITEM - Enum constant in enum class com.csse3200.game.entities.HungerEntityType
- ITEM - Static variable in class com.csse3200.game.physics.PhysicsLayer
- ItemActions - Class in com.csse3200.game.components.items
- ItemActions() - Constructor for class com.csse3200.game.components.items.ItemActions
- ItemComponent - Class in com.csse3200.game.components.items
- ItemComponent(String, ItemType, int, String) - Constructor for class com.csse3200.game.components.items.ItemComponent
-
Constructor for Item
- ItemComponent(String, ItemType, String) - Constructor for class com.csse3200.game.components.items.ItemComponent
-
Constructor for Item
- ItemComponent(String, ItemType, String, int, String) - Constructor for class com.csse3200.game.components.items.ItemComponent
-
Constructor for Item
- ItemComponent(String, ItemType, String, String) - Constructor for class com.csse3200.game.components.items.ItemComponent
-
Constructor for Item
- ItemFactory - Class in com.csse3200.game.entities.factories
-
Factory to create an item
- ItemFrame - Class in com.csse3200.game.components.inventory
- ItemFrame(boolean) - Constructor for class com.csse3200.game.components.inventory.ItemFrame
- ItemPickupComponent - Class in com.csse3200.game.components.player
- ItemPickupComponent() - Constructor for class com.csse3200.game.components.player.ItemPickupComponent
- ItemReward - Class in com.csse3200.game.missions.rewards
-
An ItemReward class for when a player completes a Quest and receives reward items as a result
- ItemReward(List<Entity>) - Constructor for class com.csse3200.game.missions.rewards.ItemReward
-
Creates a new reward with a list of reward items for player to receive on collect() method call.
- ITEMS_COLLECTED - Enum constant in enum class com.csse3200.game.missions.MissionManager.MissionEvent
- ItemSlot - Class in com.csse3200.game.components.inventory
-
A class used to combine all the data necessary to the individual inventory slots
- ItemSlot(boolean) - Constructor for class com.csse3200.game.components.inventory.ItemSlot
-
Construct an itemSlot with a selected state
- ItemSlot(Texture, boolean) - Constructor for class com.csse3200.game.components.inventory.ItemSlot
-
Construct an itemSlot with a texture and selected state
- ItemSlot(Texture, Integer, boolean) - Constructor for class com.csse3200.game.components.inventory.ItemSlot
-
Construct an itemSlot with a texture, count and selected state
- ItemType - Enum Class in com.csse3200.game.components.items
- iterator() - Method in class com.csse3200.game.utils.SortedIntMap
- ITS_COLD_OUTSIDE_QUEST_NAME - Static variable in class com.csse3200.game.missions.quests.QuestFactory
J
- JobSystem - Class in com.csse3200.game.concurrency
-
A job system provides a general-purpose way to run multi-threaded code.
- JUVENILE - Enum constant in enum class com.csse3200.game.components.plants.PlantComponent.GrowthStage
- juvenileThreshold - Variable in class com.csse3200.game.entities.configs.plants.BasePlantConfig
K
- KEYBOARD - Enum constant in enum class com.csse3200.game.input.InputFactory.InputType
- KeyboardInputFactory - Class in com.csse3200.game.input
-
KeyboardInputFactory creates input handlers that process keyboard and touch support.
- KeyboardInputFactory() - Constructor for class com.csse3200.game.input.KeyboardInputFactory
- KeyboardPlayerInputComponent - Class in com.csse3200.game.components.player
-
Input handler for the player for keyboard and touch (mouse) input.
- KeyboardPlayerInputComponent() - Constructor for class com.csse3200.game.components.player.KeyboardPlayerInputComponent
- KeyboardPlayerInputComponent.MenuTypes - Enum Class in com.csse3200.game.components.player
- KeyboardTerminalInputComponent - Class in com.csse3200.game.ui.terminal
-
Input handler for the debug terminal for keyboard and touch (mouse) input.
- KeyboardTerminalInputComponent() - Constructor for class com.csse3200.game.ui.terminal.KeyboardTerminalInputComponent
- KeyboardTerminalInputComponent(Terminal) - Constructor for class com.csse3200.game.ui.terminal.KeyboardTerminalInputComponent
- KeyboardTractorInputComponent - Class in com.csse3200.game.components.tractor
- KeyboardTractorInputComponent() - Constructor for class com.csse3200.game.components.tractor.KeyboardTractorInputComponent
-
Constructor for the tractor, sets same priority as the player's input constructor
- keyDown(int) - Method in class com.csse3200.game.components.player.KeyboardPlayerInputComponent
-
Triggers player events on specific keycodes.
- keyDown(int) - Method in class com.csse3200.game.components.player.TouchPlayerInputComponent
-
Triggers player events on specific keycodes.
- keyDown(int) - Method in class com.csse3200.game.components.tractor.KeyboardTractorInputComponent
-
Triggers tractor events on specific keycodes.
- keyDown(int) - Method in class com.csse3200.game.components.tractor.TouchTractorInputComponent
-
Triggers player events on specific keycodes.
- keyDown(int) - Method in class com.csse3200.game.input.InputComponent
- keyDown(int) - Method in class com.csse3200.game.input.InputDecorator
- keyDown(int) - Method in class com.csse3200.game.input.InputService
-
Iterates over registered input handlers in descending priority and stops as soon as the input is processed.
- keyDown(int) - Method in class com.csse3200.game.ui.terminal.KeyboardTerminalInputComponent
-
If the toggle key is pressed, the terminal will open / close.
- keyDown(int) - Method in class com.csse3200.game.ui.terminal.TouchTerminalInputComponent
-
Handles input if the terminal is open.
- keyTyped(char) - Method in class com.csse3200.game.input.InputComponent
- keyTyped(char) - Method in class com.csse3200.game.input.InputDecorator
- keyTyped(char) - Method in class com.csse3200.game.input.InputService
-
Iterates over registered input handlers in descending priority and stops as soon as the input is processed
- keyTyped(char) - Method in class com.csse3200.game.ui.terminal.KeyboardTerminalInputComponent
-
Handles input if the terminal is open.
- keyTyped(char) - Method in class com.csse3200.game.ui.terminal.TouchTerminalInputComponent
-
Handles input if the terminal is open.
- keyUp(int) - Method in class com.csse3200.game.components.player.KeyboardPlayerInputComponent
-
Triggers player events on specific keycodes.
- keyUp(int) - Method in class com.csse3200.game.components.player.TouchPlayerInputComponent
-
Triggers player events on specific keycodes.
- keyUp(int) - Method in class com.csse3200.game.components.tractor.KeyboardTractorInputComponent
-
Triggers tractor events on specific keycodes.
- keyUp(int) - Method in class com.csse3200.game.components.tractor.TouchTractorInputComponent
-
Triggers player events on specific keycodes.
- keyUp(int) - Method in class com.csse3200.game.input.InputComponent
- keyUp(int) - Method in class com.csse3200.game.input.InputDecorator
- keyUp(int) - Method in class com.csse3200.game.input.InputService
-
Iterates over registered input handlers in descending priority and stops as soon as the input is processed
- keyUp(int) - Method in class com.csse3200.game.ui.terminal.KeyboardTerminalInputComponent
-
Handles input if the terminal is open.
- keyUp(int) - Method in class com.csse3200.game.ui.terminal.TouchTerminalInputComponent
-
Handles input if the terminal is open.
L
- lastItemIndex() - Method in class com.csse3200.game.components.player.InventoryComponent
-
Get the total number of Different Items in the inventory
- launch(Supplier<T>) - Static method in class com.csse3200.game.concurrency.JobSystem
-
Launch an asynchronous job which may be run on a separate thread.
- launchBlocking(Supplier<T>) - Static method in class com.csse3200.game.concurrency.JobSystem
-
Launch an asynchronous job which may be run on a separate thread.
- LAVA - Enum constant in enum class com.csse3200.game.areas.terrain.TerrainTile.TerrainCategory
- LAVAGROUND - Enum constant in enum class com.csse3200.game.areas.terrain.TerrainTile.TerrainCategory
- layerMask - Variable in class com.csse3200.game.physics.raycast.AllHitCallback
- layerMask - Variable in class com.csse3200.game.physics.raycast.SingleHitCallback
- LEFT - Enum constant in enum class com.csse3200.game.physics.components.PhysicsComponent.AlignX
- LEFT - Static variable in class com.csse3200.game.utils.DirectionUtils
- LEFT - Static variable in class com.csse3200.game.utils.math.Vector2Utils
- LEGO_BREAK - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- LIGHT - Enum constant in enum class com.csse3200.game.components.ship.ShipProgressComponent.Feature
- LIGHT - Enum constant in enum class com.csse3200.game.entities.EntityType
- LIGHT - Enum constant in enum class com.csse3200.game.entities.HungerEntityType
- LightController - Class in com.csse3200.game.components.placeables
-
This class is only for Light Placeables will be moved into that folder when the rest of my team catches up and finishes their placeables lol
- LightController() - Constructor for class com.csse3200.game.components.placeables.LightController
- LIGHTNING_STRIKE - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- LightService - Class in com.csse3200.game.services
- LightService() - Constructor for class com.csse3200.game.services.LightService
-
Creates a LightService which is accessed via the ServiceLocator and used to create lights
- load() - Method in class com.csse3200.game.services.SaveLoadService
- load(String) - Method in class com.csse3200.game.services.SaveLoadService
-
Load function which based on contents in saveFile.json Makes the game state match saveFile.json
- LOAD_GAME - Enum constant in enum class com.csse3200.game.GdxGame.ScreenType
- loadAll() - Method in class com.csse3200.game.services.ResourceService
-
Blocking call to load all assets.
- LoadCommand - Class in com.csse3200.game.ui.terminal.commands
-
A command for loading the games previous state
- LoadCommand() - Constructor for class com.csse3200.game.ui.terminal.commands.LoadCommand
- loadForMillis(int) - Method in class com.csse3200.game.services.ResourceService
-
Loads assets for the specified duration in milliseconds.
- loadInventory(HashMap<String, Integer>, HashMap<String, Entity>, HashMap<Integer, String>) - Method in class com.csse3200.game.components.player.InventoryComponent
-
Returns the count of an item in the inventory
- loadMusic(String[]) - Method in class com.csse3200.game.services.ResourceService
-
Loads a list of music assets into the asset manager.
- loadParticleEffects(String[]) - Method in class com.csse3200.game.services.ResourceService
-
Loads a list of particle effect assets into the asset manager
- loadSkins(String[]) - Method in class com.csse3200.game.services.ResourceService
- loadSounds(String[]) - Method in class com.csse3200.game.services.ResourceService
-
Loads a list of sounds into the asset manager.
- loadSounds(List<SoundFile>) - Method in class com.csse3200.game.services.sound.BackgroundMusicService
-
Note: Only loads first 10 songs in list.
- loadSounds(List<SoundFile>) - Method in class com.csse3200.game.services.sound.EffectsMusicService
- loadSounds(List<SoundFile>) - Method in interface com.csse3200.game.services.sound.MusicService
-
Given a list of SoundFiles, load them all into memory.
- loadTestTerrain(String) - Method in class com.csse3200.game.areas.terrain.GameMap
-
Instantiates the GameMap with a test file map to be used in JUnit testing.
- loadTextureAtlases(String[]) - Method in class com.csse3200.game.services.ResourceService
-
Loads a list of texture atlas assets into the asset manager.
- loadTextures() - Method in class com.csse3200.game.areas.terrain.TerrainFactory
-
Loads textures into the charToTextureMap based upon the images within the charToTileImageMap and resourceService.
- loadTextures(String[]) - Method in class com.csse3200.game.services.ResourceService
-
Loads a list of texture assets into the asset manager.
- loadTiledMap(TiledMap, String) - Method in class com.csse3200.game.areas.terrain.TerrainFactory
-
Finishes the create terrain process, loading the map into the TiledMap instance.
- loadTime(int, int, int) - Method in class com.csse3200.game.services.TimeService
- LOCAL - Enum constant in enum class com.csse3200.game.files.FileLoader.Location
- longPress(float, float) - Method in class com.csse3200.game.input.InputComponent
- longPress(float, float) - Method in class com.csse3200.game.input.InputService
-
Iterates over registered input handlers in descending priority and stops as soon as the input is processed
- LOSE - Enum constant in enum class com.csse3200.game.screens.MainGameScreen.ScreenType
- LoseScreen - Class in com.csse3200.game.screens
-
The game screen for the losing scenario
- LoseScreen(GdxGame) - Constructor for class com.csse3200.game.screens.LoseScreen
- LOSESCREEN - Enum constant in enum class com.csse3200.game.GdxGame.ScreenType
- LoseScreenDisplay - Class in com.csse3200.game.components.losescreen
-
The display User Interface component for the losing screen
- LoseScreenDisplay(GdxGame) - Constructor for class com.csse3200.game.components.losescreen.LoseScreenDisplay
-
Creates a new LoseScreenDisplay instance.
M
- madeFirstContact() - Method in class com.csse3200.game.components.plants.PlantInfoDisplayComponent
-
Marks that the first contact has been made with the plant.
- MAIN_GAME - Enum constant in enum class com.csse3200.game.GdxGame.ScreenType
- MAIN_GAME - Enum constant in enum class com.csse3200.game.screens.MainGameScreen.ScreenType
- MAIN_MENU - Enum constant in enum class com.csse3200.game.GdxGame.ScreenType
- MainGameActions - Class in com.csse3200.game.components.maingame
-
This class listens to events relevant to the Main Game Screen and does something when one of the events is triggered.
- MainGameActions(GdxGame) - Constructor for class com.csse3200.game.components.maingame.MainGameActions
- MainGameScreen - Class in com.csse3200.game.screens
-
The game screen containing the main game.
- MainGameScreen(GdxGame) - Constructor for class com.csse3200.game.screens.MainGameScreen
- MainGameScreen.ScreenType - Enum Class in com.csse3200.game.screens
- MainMenuActions - Class in com.csse3200.game.components.maingame.mainmenu
-
This class listens to events relevant to the Main Menu Screen and does something when one of the events is triggered.
- MainMenuActions(GdxGame) - Constructor for class com.csse3200.game.components.maingame.mainmenu.MainMenuActions
- MainMenuDisplay - Class in com.csse3200.game.components.maingame.mainmenu
-
A ui component for displaying the Main menu.
- MainMenuDisplay() - Constructor for class com.csse3200.game.components.maingame.mainmenu.MainMenuDisplay
- MainMenuScreen - Class in com.csse3200.game.screens
-
The game screen containing the main menu.
- MainMenuScreen(GdxGame) - Constructor for class com.csse3200.game.screens.MainMenuScreen
- MainQuest - Class in com.csse3200.game.missions.quests
-
MainQuests are to represent the 3 main quests of the game as outlined in the storyline wiki.
- MainQuest(String, Reward, int, Set<String>, String) - Constructor for class com.csse3200.game.missions.quests.MainQuest
-
Creates a
MainQuest
- makeFirstContactWindow() - Method in class com.csse3200.game.components.plants.PlantInfoDisplayComponent
-
Create and display the window for first contact with the plant.
- MAKING_FRIENDS_QUEST_NAME - Static variable in class com.csse3200.game.missions.quests.QuestFactory
- ManageHostilesQuest - Class in com.csse3200.game.missions.quests
-
A
Quest
that requires the player to kill hostiles in order to be completed. - ManageHostilesQuest(String, Reward, int, Set<EntityType>, int) - Constructor for class com.csse3200.game.missions.quests.ManageHostilesQuest
-
Creates a
ManageHostilesQuest
with a specific expiry - ManageHostilesQuest(String, Reward, Set<EntityType>, int) - Constructor for class com.csse3200.game.missions.quests.ManageHostilesQuest
-
Creates a
ManageHostilesQuest
- MAP_PATH - Static variable in class com.csse3200.game.areas.terrain.TerrainFactory
-
The file path for the SpaceGameArea map file
- MAX - Static variable in class com.csse3200.game.utils.math.Vector2Utils
- MAX_FIREFLIES - Static variable in class com.csse3200.game.entities.FireflySpawner
-
The amount of fireflies to spawn in
- maxHealth - Variable in class com.csse3200.game.entities.configs.plants.BasePlantConfig
- MILK - Enum constant in enum class com.csse3200.game.components.items.ItemType
- MIN - Static variable in class com.csse3200.game.utils.math.Vector2Utils
- minuteUpdate() - Method in class com.csse3200.game.components.plants.PlantComponent
-
Functionality for the plant that needs to update every minute.
- Mission - Class in com.csse3200.game.missions
- Mission(String) - Constructor for class com.csse3200.game.missions.Mission
- MISSION_COMPLETE - Enum constant in enum class com.csse3200.game.missions.MissionManager.MissionEvent
- MissionCompleteQuest - Class in com.csse3200.game.missions.quests
-
A MissionCompleteQuest class for when a quest which is based around completing a number of missions
- MissionCompleteQuest(String, Reward, int) - Constructor for class com.csse3200.game.missions.quests.MissionCompleteQuest
-
Creates a new MissionCompleteQuest with the given name, reward and number of quests to complete
- MissionCompleteQuest(String, Reward, int, boolean, int) - Constructor for class com.csse3200.game.missions.quests.MissionCompleteQuest
-
Creates a new MissionCompleteQuest with the given name, reward, expiry duration, whether the quest is mandatory and number of quests to complete
- MissionDisplay - Class in com.csse3200.game.components.questgiver
-
Renders a UI for interacting with Missions.
- MissionDisplay() - Constructor for class com.csse3200.game.components.questgiver.MissionDisplay
- MissionManager - Class in com.csse3200.game.missions
- MissionManager() - Constructor for class com.csse3200.game.missions.MissionManager
-
Creates the mission manager, registered all game achievements and adds a listener for hourly updates
- MissionManager.MissionEvent - Enum Class in com.csse3200.game.missions
-
An enum storing all possible events that the
MissionManager
'sEventHandler
should listen to and trigger. - mouseMoved(int, int) - Method in class com.csse3200.game.input.InputComponent
- mouseMoved(int, int) - Method in class com.csse3200.game.input.InputDecorator
- mouseMoved(int, int) - Method in class com.csse3200.game.input.InputService
-
Iterates over registered input handlers in descending priority and stops as soon as the input is processed
- MOVE - Enum constant in enum class com.csse3200.game.components.player.PlayerActions.events
- MOVE_STOP - Enum constant in enum class com.csse3200.game.components.player.PlayerActions.events
- MovementController - Interface in com.csse3200.game.ai.movement
-
A movement controller moves something to a given a target.
- MovementTask - Class in com.csse3200.game.components.tasks
-
Move to a given position, finishing when you get close enough.
- MovementTask(Vector2) - Constructor for class com.csse3200.game.components.tasks.MovementTask
-
Creates a movement task with a target position.
- MovementTask(Vector2, float) - Constructor for class com.csse3200.game.components.tasks.MovementTask
-
Creates a movement task with a target position and a specified stop distance.
- MovementTask(Vector2, Vector2) - Constructor for class com.csse3200.game.components.tasks.MovementTask
-
Creates a movement task with a target position and a specified speed.
- MovementTask(Vector2, Vector2, float) - Constructor for class com.csse3200.game.components.tasks.MovementTask
-
Creates a movement task with a target position and a specified speed.
- MoveToPlantTask - Class in com.csse3200.game.components.tasks
-
The entity finds a living plant and moves towards it
- MoveToPlantTask(int, Vector2, float) - Constructor for class com.csse3200.game.components.tasks.MoveToPlantTask
- MoveToShipTask - Class in com.csse3200.game.components.tasks
-
The entity finds a ship and moves towards it.
- MoveToShipTask(int, Vector2, float) - Constructor for class com.csse3200.game.components.tasks.MoveToShipTask
- MultiDropComponent - Class in com.csse3200.game.components.npc
-
Component that enables animals to drop different items on different triggers.
- MultiDropComponent(List<SingleDropHandler>, boolean) - Constructor for class com.csse3200.game.components.npc.MultiDropComponent
-
Constructor for MultiDropComponent
- MultiReward - Class in com.csse3200.game.missions.rewards
-
The MultiReward is a Reward that can be added to a Quest in order to have multiple types of Reward in one class.
- MultiReward(List<Reward>) - Constructor for class com.csse3200.game.missions.rewards.MultiReward
-
A MultiReward which allows multiple types of Rewards to be added to a Quest.
- MusicService - Interface in com.csse3200.game.services.sound
-
The MusicService interface is implemented by the BackgroundMusicService and the EffectMusicService Both these classes have similar function definitions, however the implementations of these functions differs based on the needs of the two types of audio played in the game.
- mute() - Method in class com.csse3200.game.components.player.PlayerHighlightComponent
-
Mutes the player highlight (OFF)
N
- name - Variable in class com.csse3200.game.entities.configs.plants.BasePlantConfig
- NEW_QUEST - Enum constant in enum class com.csse3200.game.missions.MissionManager.MissionEvent
- NIGHT - Enum constant in enum class com.csse3200.game.services.sound.BackgroundMusicType
- NONE - Enum constant in enum class com.csse3200.game.components.player.KeyboardPlayerInputComponent.MenuTypes
- NONE - Static variable in class com.csse3200.game.physics.PhysicsLayer
- normal - Variable in class com.csse3200.game.physics.raycast.RaycastHit
-
the normal vector of the collider surface at the hit point.
- NORMAL - Enum constant in enum class com.csse3200.game.components.tractor.TractorMode
- NORMAL - Enum constant in enum class com.csse3200.game.services.sound.BackgroundMusicType
- notifyAdjacent() - Method in class com.csse3200.game.components.placeables.ConnectedEntityUtility
-
Used by a Placeable entity after some update has occurred.
- notifyOnDetection(boolean) - Method in class com.csse3200.game.components.InteractionDetector
- notifyUpdate() - Method in class com.csse3200.game.missions.Mission
-
Notifies the
MissionManager
that thisMission
has been completed ifMission.isCompleted()
returns true, else do nothing. - NPC - Static variable in class com.csse3200.game.physics.PhysicsLayer
- NPCConfigs - Class in com.csse3200.game.entities.configs
-
Defines all NPC configs to be loaded by the NPC Factory.
- NPCConfigs() - Constructor for class com.csse3200.game.entities.configs.NPCConfigs
- NPCFactory - Class in com.csse3200.game.entities.factories
-
Factory to create non-playable character (NPC) entities with predefined components.
- numHoursUntil - Variable in class com.csse3200.game.areas.weather.WeatherEvent
-
Number of in-game hours until the
WeatherEvent
is able to be triggered and affects the in-game climate
O
- object - Variable in class com.csse3200.game.utils.StringDecorator
- OBSTACLE - Static variable in class com.csse3200.game.physics.PhysicsLayer
- ObstacleFactory - Class in com.csse3200.game.entities.factories
-
Factory to create obstacle entities.
- onCollisionEnd(Fixture, Fixture) - Method in class com.csse3200.game.components.plants.PlantAreaOfEffectComponent
-
Removes entity from entitiesInRange on collision end.
- onCollisionStart(Fixture, Fixture) - Method in class com.csse3200.game.components.plants.PlantAreaOfEffectComponent
-
Adds entity to entitiesInRange on collision start.
- onCollisionStart(Fixture, Fixture) - Method in class com.csse3200.game.components.plants.PlantProximityComponent
-
Checks if the entity is the player on collision start.
- ONE - Static variable in class com.csse3200.game.utils.math.Vector2Utils
- openAchievements() - Method in class com.csse3200.game.components.questgiver.MissionDisplay
-
Opens the achievement menu.
- openMenu() - Method in class com.csse3200.game.components.questgiver.MissionDisplay
-
Sets the main mission menu to visible.
- OpenPauseComponent - Class in com.csse3200.game.components.player
- OpenPauseComponent() - Constructor for class com.csse3200.game.components.player.OpenPauseComponent
- openPauseMenu() - Method in class com.csse3200.game.components.player.OpenPauseComponent
- openQuests() - Method in class com.csse3200.game.components.questgiver.MissionDisplay
-
Opens the quest menu.
- ORTHOGONAL - Enum constant in enum class com.csse3200.game.areas.terrain.TerrainComponent.TerrainOrientation
- owner - Variable in class com.csse3200.game.ai.tasks.DefaultTask
- oxygen - Variable in class com.csse3200.game.entities.configs.plants.BasePlantConfig
- OXYGEN_ATTACK - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- OXYGEN_EAT_DEATH - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- OXYGEN_EATER - Enum constant in enum class com.csse3200.game.entities.EntityType
- OXYGEN_EATER - Enum constant in enum class com.csse3200.game.entities.HungerEntityType
- OxygenDisplay - Class in com.csse3200.game.services
-
A UI component for displaying the current oxygen level on the Main Game Screen.
- OxygenDisplay() - Constructor for class com.csse3200.game.services.OxygenDisplay
- oxygenEater - Variable in class com.csse3200.game.entities.configs.NPCConfigs
- OxygenEaterAttackPattern - Class in com.csse3200.game.components.combat.attackpatterns
-
The OxygenEater attack pattern class defines the attack behaviour of an OxygenEater entity.
- OxygenEaterAttackPattern(float, Supplier<Entity>) - Constructor for class com.csse3200.game.components.combat.attackpatterns.OxygenEaterAttackPattern
- OxygenLevel - Interface in com.csse3200.game.services
-
Used to adjust and check oxygen levels.
- OxygenLevelQuest - Class in com.csse3200.game.missions.quests
-
A
Quest
where the player has to reach a certain oxygen level. - OxygenLevelQuest(String, Reward, int, OxygenLevel, String, int, int) - Constructor for class com.csse3200.game.missions.quests.OxygenLevelQuest
-
Creates an
OxygenLevelQuest
- OxygenLevelQuest(String, Reward, OxygenLevel, String, int, int) - Constructor for class com.csse3200.game.missions.quests.OxygenLevelQuest
-
Creates an
OxygenLevelQuest
P
- pan(float, float, float, float) - Method in class com.csse3200.game.input.InputComponent
- pan(float, float, float, float) - Method in class com.csse3200.game.input.InputService
-
Iterates over registered input handlers in descending priority and stops as soon as the input is processed
- PanicTask - Class in com.csse3200.game.components.tasks
-
A panic task that causes the owner's entity to move randomly within a specified range for a certain duration.
- PanicTask(String, float, int, Vector2, Vector2) - Constructor for class com.csse3200.game.components.tasks.PanicTask
-
Constructs a PanicTask with the specified parameters.
- panStop(float, float, int, int) - Method in class com.csse3200.game.input.InputComponent
- panStop(float, float, int, int) - Method in class com.csse3200.game.input.InputService
-
Iterates over registered input handlers in descending priority and stops as soon as the input is processed
- PART_FINDER_I_QUEST_NAME - Static variable in class com.csse3200.game.missions.quests.QuestFactory
- ParticleEffectComponent - Class in com.csse3200.game.components
-
Component which can be added to entities allowing them to have
ParticleEffect
rendering on them and attached to their body. - ParticleEffectComponent() - Constructor for class com.csse3200.game.components.ParticleEffectComponent
-
Creates a new component with an empty list of effects to render.
- ParticleEffectWrapper - Class in com.csse3200.game.rendering
-
Wrapper for the particle effect so that pooled effects can have a type and a category
- ParticleEffectWrapper(ParticleEffectPool.PooledEffect, String, String) - Constructor for class com.csse3200.game.rendering.ParticleEffectWrapper
-
Wraps a pooled particle effect with a category and a type
- ParticleService - Class in com.csse3200.game.services
- ParticleService() - Constructor for class com.csse3200.game.services.ParticleService
-
Creates a particle service, loading in all particle effect assets and creating pools for those particle effects.
- ParticleService.ParticleEffectType - Enum Class in com.csse3200.game.services
-
Enum for each type of particle effect known to the particle system
- PATH - Enum constant in enum class com.csse3200.game.areas.terrain.TerrainTile.TerrainCategory
- pause() - Method in class com.csse3200.game.screens.EndCreditsScreen
- pause() - Method in class com.csse3200.game.screens.LoseScreen
- pause() - Method in class com.csse3200.game.screens.MainGameScreen
- pause() - Method in class com.csse3200.game.screens.MainMenuScreen
- pause() - Method in class com.csse3200.game.screens.WinScreen
- pause() - Method in class com.csse3200.game.services.sound.BackgroundMusicService
-
Pauses whichever track is currently playing.
- pause(SoundFile) - Method in class com.csse3200.game.services.sound.BackgroundMusicService
-
Attempts to pause a specific track.
- pause(SoundFile) - Method in class com.csse3200.game.services.sound.EffectsMusicService
-
Functionally identical to the
stop()
method for the EffectsMusicService - pause(SoundFile) - Method in interface com.csse3200.game.services.sound.MusicService
-
Pause a SoundFile that is currently playing without losing the progress of that track.
- pauseAndResume() - Method in class com.csse3200.game.entities.EntityService
- pauseCheck() - Static method in class com.csse3200.game.entities.EntityService
- pauseGame() - Method in class com.csse3200.game.entities.EntityService
- pauseGame() - Method in class com.csse3200.game.services.ToggleableMap
- pauseGame2() - Method in class com.csse3200.game.entities.EntityService
- PAUSEMENU - Enum constant in enum class com.csse3200.game.components.player.KeyboardPlayerInputComponent.MenuTypes
- PauseMenuActions - Class in com.csse3200.game.components.maingame
- PauseMenuActions() - Constructor for class com.csse3200.game.components.maingame.PauseMenuActions
- PerformanceDisplay - Class in com.csse3200.game.components.gamearea
-
Displays performance stats about the game for debugging purposes.
- PerformanceDisplay() - Constructor for class com.csse3200.game.components.gamearea.PerformanceDisplay
- PhysicsComponent - Class in com.csse3200.game.physics.components
-
Lets an entity be controlled by physics.
- PhysicsComponent() - Constructor for class com.csse3200.game.physics.components.PhysicsComponent
-
Create a physics component with default settings.
- PhysicsComponent(PhysicsEngine) - Constructor for class com.csse3200.game.physics.components.PhysicsComponent
-
Create a physics component
- PhysicsComponent.AlignX - Enum Class in com.csse3200.game.physics.components
- PhysicsComponent.AlignY - Enum Class in com.csse3200.game.physics.components
- PhysicsContactListener - Class in com.csse3200.game.physics
-
Box2D collision events fire globally on the physics world, not per-object.
- PhysicsContactListener() - Constructor for class com.csse3200.game.physics.PhysicsContactListener
- PhysicsEngine - Class in com.csse3200.game.physics
-
Process game physics using the Box2D library.
- PhysicsEngine() - Constructor for class com.csse3200.game.physics.PhysicsEngine
- PhysicsEngine(World, GameTime) - Constructor for class com.csse3200.game.physics.PhysicsEngine
- PhysicsLayer - Class in com.csse3200.game.physics
- PhysicsMovementComponent - Class in com.csse3200.game.physics.components
-
Movement controller for a physics-based entity.
- PhysicsMovementComponent() - Constructor for class com.csse3200.game.physics.components.PhysicsMovementComponent
- PhysicsService - Class in com.csse3200.game.physics
-
Provides a global access point to the physics engine.
- PhysicsService() - Constructor for class com.csse3200.game.physics.PhysicsService
- PhysicsService(PhysicsEngine) - Constructor for class com.csse3200.game.physics.PhysicsService
- PhysicsUtils - Class in com.csse3200.game.physics
- pinch(Vector2, Vector2, Vector2, Vector2) - Method in class com.csse3200.game.input.InputComponent
- pinch(Vector2, Vector2, Vector2, Vector2) - Method in class com.csse3200.game.input.InputService
-
Iterates over registered input handlers in descending priority and stops as soon as the input is processed
- pinchStop() - Method in class com.csse3200.game.input.InputComponent
- pinchStop() - Method in class com.csse3200.game.input.InputService
-
Iterates over registered input handlers in descending priority and stops as soon as the input is processed
- pinchStopHandled() - Method in class com.csse3200.game.input.InputComponent
-
Wrapper for pinch stop that can be overridden.
- PLACE - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- PLACEABLE - Enum constant in enum class com.csse3200.game.components.items.ItemType
- PLACEABLE - Enum constant in enum class com.csse3200.game.missions.cutscenes.Cutscene.CutsceneType
- PlaceableCategory - Enum Class in com.csse3200.game.components.placeables
- PlaceableEvents - Class in com.csse3200.game.components.placeables
- PlaceableEvents() - Constructor for class com.csse3200.game.components.placeables.PlaceableEvents
- PlaceableFactory - Class in com.csse3200.game.entities.factories
- PlaceableFactory() - Constructor for class com.csse3200.game.entities.factories.PlaceableFactory
- PlanetOxygenService - Class in com.csse3200.game.services
- PlanetOxygenService() - Constructor for class com.csse3200.game.services.PlanetOxygenService
- PLANT - Enum constant in enum class com.csse3200.game.entities.EntityType
- PLANT - Enum constant in enum class com.csse3200.game.entities.HungerEntityType
- PLANT_CLICK - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- PLANT_CROP - Enum constant in enum class com.csse3200.game.missions.MissionManager.MissionEvent
- PLANT_DECAY - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- PLANT_DESTROY - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- PLANT_NEARBY - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- PLANT_REPEAT_QUEST - Static variable in class com.csse3200.game.missions.quests.QuestFactory
- PlantAreaOfEffectComponent - Class in com.csse3200.game.components.plants
-
Class to add an Area of Effect to all plants.
- PlantAreaOfEffectComponent(float, String) - Constructor for class com.csse3200.game.components.plants.PlantAreaOfEffectComponent
-
Constructor for the Area of Effect class.
- PlantCommand - Class in com.csse3200.game.ui.terminal.commands
-
PlantCommand class
- PlantCommand() - Constructor for class com.csse3200.game.ui.terminal.commands.PlantCommand
- PlantCommandService - Class in com.csse3200.game.services.plants
-
Handles the events for terminal commands relating to plants.
- PlantCommandService() - Constructor for class com.csse3200.game.services.plants.PlantCommandService
-
Constructor for the PlantCommandService.
- PlantComponent - Class in com.csse3200.game.components.plants
-
Class for all plants in the game.
- PlantComponent(int, String, String, String, float, int, int, CropTileComponent) - Constructor for class com.csse3200.game.components.plants.PlantComponent
-
Constructor used for plant types that have no extra properties.
- PlantComponent(int, String, String, String, float, int, int, CropTileComponent, int[]) - Constructor for class com.csse3200.game.components.plants.PlantComponent
-
Constructor used for plant types that have growthStageThresholds different from the default values.
- PlantComponent.GrowthStage - Enum Class in com.csse3200.game.components.plants
-
The growth stage of the plant
- PlantConfigs - Class in com.csse3200.game.entities.configs.plants
-
Defines all plant configs to be loaded by the PlantFactory.
- PlantConfigs() - Constructor for class com.csse3200.game.entities.configs.plants.PlantConfigs
- PlantCropsAchievement - Class in com.csse3200.game.missions.achievements
-
An
Achievement
completed by planting a certain number of crops on crop tiles. - PlantCropsAchievement(String, int) - Constructor for class com.csse3200.game.missions.achievements.PlantCropsAchievement
-
Creates a
PlantCropsAchievement
. - PlantFactory - Class in com.csse3200.game.entities.factories
-
Factory to create plant entities.
- PlantFactory() - Constructor for class com.csse3200.game.entities.factories.PlantFactory
- PlantInfoDisplayComponent - Class in com.csse3200.game.components.plants
-
A UI component for displaying information about a plant.
- PlantInfoDisplayComponent() - Constructor for class com.csse3200.game.components.plants.PlantInfoDisplayComponent
- PlantInfoService - Class in com.csse3200.game.services.plants
-
Keeps track of all info and stats relating to plants.
- PlantInfoService() - Constructor for class com.csse3200.game.services.plants.PlantInfoService
-
Constructor for the plant info service.
- plantInfoSummary() - Method in class com.csse3200.game.services.plants.PlantInfoService
-
Return a formatted string with all relevant information about the plants.
- PlantInteractionQuest - Class in com.csse3200.game.missions.quests
-
A
Quest
where the player has to interact with a certain amount of plants. - PlantInteractionQuest(String, Reward, int, MissionManager.MissionEvent, Set<String>, int) - Constructor for class com.csse3200.game.missions.quests.PlantInteractionQuest
-
Creates a
PlantInteractionQuest
with an expiry - PlantInteractionQuest(String, Reward, MissionManager.MissionEvent, Set<String>, int) - Constructor for class com.csse3200.game.missions.quests.PlantInteractionQuest
-
Creates a
PlantInteractionQuest
- PlantMouseHoverComponent - Class in com.csse3200.game.components.plants
-
Component for telling the PlantInfoDisplayComponent when the player has their mouse cursor hovering over a plant.
- PlantMouseHoverComponent() - Constructor for class com.csse3200.game.components.plants.PlantMouseHoverComponent
- PlantProximityComponent - Class in com.csse3200.game.components.plants
-
Component to inform the plant when the player is close enough for plant sounds to be played.
- PlantProximityComponent() - Constructor for class com.csse3200.game.components.plants.PlantProximityComponent
-
Constructor for the plant proximity component.
- play(BackgroundMusicType) - Method in class com.csse3200.game.services.sound.BackgroundMusicService
-
Begins playing loaded Music instances of the provided type.
- play(SoundFile) - Method in class com.csse3200.game.services.sound.BackgroundMusicService
-
Plays a given sound file without the specification of a looping boolean, defaults this value to false.
- play(SoundFile) - Method in class com.csse3200.game.services.sound.EffectsMusicService
- play(SoundFile) - Method in interface com.csse3200.game.services.sound.MusicService
-
A convenience method to play a sound without explicitly controlling the loop property
- play(SoundFile, boolean) - Method in class com.csse3200.game.services.sound.BackgroundMusicService
-
Plays a given sound file, checking whether it is valid to play as well as looping the playback if specified.
- play(SoundFile, boolean) - Method in class com.csse3200.game.services.sound.EffectsMusicService
- play(SoundFile, boolean) - Method in interface com.csse3200.game.services.sound.MusicService
-
Play a given SoundFile, with it optionally looping
- playCreditScreen() - Method in class com.csse3200.game.screens.MainGameScreen
-
Switch to the credit screen
- PLAYER - Enum constant in enum class com.csse3200.game.entities.EntityType
- PLAYER - Enum constant in enum class com.csse3200.game.entities.HungerEntityType
- PLAYER - Static variable in class com.csse3200.game.physics.PhysicsLayer
- PLAYER_DAMAGE - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- PLAYER_DEATH - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- PLAYER_HEALTH - Static variable in class com.csse3200.game.entities.configs.PlayerConfig
- PlayerActions - Class in com.csse3200.game.components.player
-
Action component for interacting with the player.
- PlayerActions() - Constructor for class com.csse3200.game.components.player.PlayerActions
- PlayerActions.events - Enum Class in com.csse3200.game.components.player
- PlayerAnimationController - Class in com.csse3200.game.components.player
-
This class listens to events relevant to a player entity's state and plays the animation when one of the events is triggered.
- PlayerAnimationController() - Constructor for class com.csse3200.game.components.player.PlayerAnimationController
- PlayerAnimationController.events - Enum Class in com.csse3200.game.components.player
- PlayerConfig - Class in com.csse3200.game.entities.configs
-
Defines the properties stored in player config files to be loaded by the Player Factory.
- PlayerConfig() - Constructor for class com.csse3200.game.entities.configs.PlayerConfig
- PlayerFactory - Class in com.csse3200.game.entities.factories
-
Factory to create a player entity.
- PlayerHighlightComponent - Class in com.csse3200.game.components.player
-
Component that renders a highlight on current player cursor position Is bounded by the maximum "reach" of the player.
- PlayerHighlightComponent() - Constructor for class com.csse3200.game.components.player.PlayerHighlightComponent
-
Creates the component and sets the muted boolean to false
- PlayerHighlightFactory - Class in com.csse3200.game.entities.factories
-
Factory for creating the player highlight entity
- PlayerHighlightFactory() - Constructor for class com.csse3200.game.entities.factories.PlayerHighlightFactory
- PlayerHungerService - Class in com.csse3200.game.services
- PlayerHungerService() - Constructor for class com.csse3200.game.services.PlayerHungerService
- PlayerMapService - Class in com.csse3200.game.services
- PlayerMapService() - Constructor for class com.csse3200.game.services.PlayerMapService
- PlayerStatsDisplay - Class in com.csse3200.game.components.player
-
A ui component for displaying player stats, e.g.
- PlayerStatsDisplay() - Constructor for class com.csse3200.game.components.player.PlayerStatsDisplay
- playLoseScreen(String) - Method in class com.csse3200.game.screens.MainGameScreen
-
Switch to the losing screen in case of player loss
- playSound(EffectSoundFile) - Method in class com.csse3200.game.components.plants.PlantComponent
-
Plays the given sound effect.
- playSound(EffectSoundFile, EffectSoundFile) - Method in class com.csse3200.game.components.plants.PlantComponent
-
Plays one of the given sound effects.
- playWinScreen() - Method in class com.csse3200.game.screens.MainGameScreen
-
Switch to winning screen in case of player win
- point - Variable in class com.csse3200.game.physics.raycast.RaycastHit
-
Point at which the raycast hit the fixture.
- postSolve(Contact, ContactImpulse) - Method in class com.csse3200.game.physics.PhysicsContactListener
- preSolve(Contact, Manifold) - Method in class com.csse3200.game.physics.PhysicsContactListener
- printFn - Variable in class com.csse3200.game.utils.StringDecorator
- priority - Variable in class com.csse3200.game.areas.weather.WeatherEvent
-
The priority of the
WeatherEvent
so that some weather can override others if they are important - priority - Variable in class com.csse3200.game.input.InputComponent
-
The priority that the input handler is visited in by InputService.
- PriorityTask - Interface in com.csse3200.game.ai.tasks
-
A priority task is a task that also has a priority.
- processMessage() - Method in class com.csse3200.game.ui.terminal.Terminal
-
Processes the completed message entered by the user.
- PROGRESS_UPDATED - Enum constant in enum class com.csse3200.game.entities.factories.ShipFactory.events
- ProgressBar - Class in com.csse3200.game.services
- ProgressBar() - Constructor for class com.csse3200.game.services.ProgressBar
- ProjectileAnimationController - Class in com.csse3200.game.components.combat
- ProjectileAnimationController() - Constructor for class com.csse3200.game.components.combat.ProjectileAnimationController
- ProjectileComponent - Class in com.csse3200.game.components.combat
-
The ProjectileComponent class defines the behavior of a projectile entity in the game.
- ProjectileComponent(float) - Constructor for class com.csse3200.game.components.combat.ProjectileComponent
-
Constructs a ProjectileComponent with a specified duration.
- ProjectileFactory - Class in com.csse3200.game.entities.factories
-
The ProjectileFactory class is responsible for creating different types of projectile entities used in the game.
- ProjectileFactory() - Constructor for class com.csse3200.game.entities.factories.ProjectileFactory
- pump - Variable in class com.csse3200.game.components.placeables.SprinklerComponent
-
Indicates if the 'sprinkler' is actually just a pump.
- PUMP - Enum constant in enum class com.csse3200.game.entities.EntityType
- PUMP - Enum constant in enum class com.csse3200.game.entities.HungerEntityType
- put(int, V) - Method in class com.csse3200.game.utils.SortedIntMap
-
Put key, value pair in map
Q
- Quest - Class in com.csse3200.game.missions.quests
- Quest(String, Reward) - Constructor for class com.csse3200.game.missions.quests.Quest
- Quest(String, Reward, int, boolean) - Constructor for class com.csse3200.game.missions.quests.Quest
- QUEST_EXPIRED - Enum constant in enum class com.csse3200.game.missions.MissionManager.MissionEvent
- QUEST_REWARD_COLLECTED - Enum constant in enum class com.csse3200.game.missions.MissionManager.MissionEvent
- QuestFactory - Class in com.csse3200.game.missions.quests
- QUESTGIVER - Enum constant in enum class com.csse3200.game.entities.EntityType
- QUESTGIVER - Enum constant in enum class com.csse3200.game.entities.HungerEntityType
- QUESTGIVER_INDICATOR - Enum constant in enum class com.csse3200.game.entities.EntityType
- QUESTGIVER_INDICATOR - Enum constant in enum class com.csse3200.game.entities.HungerEntityType
- QuestgiverConfig - Class in com.csse3200.game.entities.configs
-
Defines the properties stored in player config files to be loaded by the Questgiver Factory.
- QuestgiverConfig() - Constructor for class com.csse3200.game.entities.configs.QuestgiverConfig
- QuestgiverFactory - Class in com.csse3200.game.entities.factories
- QuestIndicatorComponent - Class in com.csse3200.game.components.questgiver
- QuestIndicatorComponent() - Constructor for class com.csse3200.game.components.questgiver.QuestIndicatorComponent
- QuestReward - Class in com.csse3200.game.missions.rewards
-
The QuestReward can be added as a reward to a quest so that when the quest is complete the collect() method will add the quests from the constructor to the MissionManager.
- QuestReward(List<Supplier<Quest>>, List<Supplier<Quest>>) - Constructor for class com.csse3200.game.missions.rewards.QuestReward
-
A QuestReward that adds quests to the MissionManager on collect().
R
- RADIO - Enum constant in enum class com.csse3200.game.missions.cutscenes.Cutscene.CutsceneType
- RAIN - Enum constant in enum class com.csse3200.game.services.ParticleService.ParticleEffectType
- RainStormEvent - Class in com.csse3200.game.areas.weather
- RainStormEvent(int, int, int, float) - Constructor for class com.csse3200.game.areas.weather.RainStormEvent
-
Constructs an
WeatherEvent
with a given duration, priority and countdown - random(GridPoint2, GridPoint2) - Static method in class com.csse3200.game.utils.math.RandomUtils
- random(Vector2, Vector2) - Static method in class com.csse3200.game.utils.math.RandomUtils
- RandomUtils - Class in com.csse3200.game.utils.math
- raycast(Vector2, Vector2, short, RaycastHit) - Method in class com.csse3200.game.physics.PhysicsEngine
-
Cast a ray in a straight line from one point to another, checking for a collision against colliders in the specified layers.
- raycast(Vector2, Vector2, RaycastHit) - Method in class com.csse3200.game.physics.PhysicsEngine
-
Cast a ray in a straight line from one point to another, checking for a collision against any colliders.
- raycastAll(Vector2, Vector2) - Method in class com.csse3200.game.physics.PhysicsEngine
-
Cast a ray in a straight line from one point to another, checking for all collision against colliders in the specified layers.
- raycastAll(Vector2, Vector2, short) - Method in class com.csse3200.game.physics.PhysicsEngine
-
Cast a ray in a straight line from one point to another, checking for all collision against colliders in the specified layers.
- RaycastHit - Class in com.csse3200.game.physics.raycast
-
Stores information about a raycast hit.
- RaycastHit() - Constructor for class com.csse3200.game.physics.raycast.RaycastHit
- read(Json, JsonValue) - Method in class com.csse3200.game.areas.terrain.CropTileComponent
- read(Json, JsonValue) - Method in class com.csse3200.game.areas.terrain.ShipPartTileComponent
- read(Json, JsonValue) - Method in class com.csse3200.game.areas.weather.ClimateController
- read(Json, JsonValue) - Method in class com.csse3200.game.components.combat.CombatStatsComponent
- read(Json, JsonValue) - Method in class com.csse3200.game.components.Component
- read(Json, JsonValue) - Method in class com.csse3200.game.components.items.ClueComponent
- read(Json, JsonValue) - Method in class com.csse3200.game.components.items.CoordinatesDisplay
- read(Json, JsonValue) - Method in class com.csse3200.game.components.items.WateringCanLevelComponent
- read(Json, JsonValue) - Method in class com.csse3200.game.components.npc.TamableComponent
- read(Json, JsonValue) - Method in class com.csse3200.game.components.plants.PlantComponent
- read(Json, JsonValue) - Method in class com.csse3200.game.components.player.HungerComponent
- read(Json, JsonValue) - Method in class com.csse3200.game.components.player.InventoryComponent
-
Reads the InventoryComponent from a Json object.
- read(Json, JsonValue) - Method in class com.csse3200.game.components.ship.ShipAnimationController
-
Update the entity based on the read data.
- read(Json, JsonValue) - Method in class com.csse3200.game.components.ship.ShipDisplay
- read(Json, JsonValue) - Method in class com.csse3200.game.components.ship.ShipLightComponent
- read(Json, JsonValue) - Method in class com.csse3200.game.components.ship.ShipProgressComponent
-
Update the entity based on the read data.
- read(Json, JsonValue) - Method in class com.csse3200.game.components.ship.ShipTimeSkipComponent
- read(Json, JsonValue) - Method in class com.csse3200.game.entities.Entity
-
Reads the json file and creates the entities based on the information in the json file
- read(Json, JsonValue) - Method in class com.csse3200.game.missions.MissionManager
-
Method for loading the
MissionManager
for the game - read(JsonValue) - Method in class com.csse3200.game.missions.quests.Quest
- read(JsonValue) - Method in class com.csse3200.game.missions.rewards.Reward
- readClass(Class<T>, String) - Static method in class com.csse3200.game.files.FileLoader
-
Read generic Java classes from a JSON file.
- readClass(Class<T>, String, FileLoader.Location) - Static method in class com.csse3200.game.files.FileLoader
-
Read generic Java classes from a JSON file.
- readItem(Json, JsonValue) - Method in class com.csse3200.game.entities.Entity
-
Reads the item entity from the json file
- readProgress(JsonValue) - Method in class com.csse3200.game.missions.achievements.CollectItemsAchievement
-
Read in the number of items the player has collected from a JsonValue.
- readProgress(JsonValue) - Method in class com.csse3200.game.missions.achievements.PlantCropsAchievement
-
Reads in the progress of the
PlantCropsAchievement
from a JsonValue. - readProgress(JsonValue) - Method in class com.csse3200.game.missions.Mission
-
Sets the internal progress of the
Mission
based on theJsonValue
provided. - readProgress(JsonValue) - Method in class com.csse3200.game.missions.quests.AutoQuest
-
Does nothing as
AutoQuest
s have no savable progress - readProgress(JsonValue) - Method in class com.csse3200.game.missions.quests.ClearDebrisQuest
-
Read in the amount of debris the player has cleared from a JsonValue.
- readProgress(JsonValue) - Method in class com.csse3200.game.missions.quests.FertiliseCropTilesQuest
-
Read in the amount of debris the player has cleared from a JsonValue.
- readProgress(JsonValue) - Method in class com.csse3200.game.missions.quests.FishingQuest
- readProgress(JsonValue) - Method in class com.csse3200.game.missions.quests.InventoryStateQuest
- readProgress(JsonValue) - Method in class com.csse3200.game.missions.quests.MainQuest
-
Reads the progress specified in the
JsonValue
into the questsCompleted - readProgress(JsonValue) - Method in class com.csse3200.game.missions.quests.ManageHostilesQuest
-
Reads in the progress of the
ManageHostilesQuest
from aJsonValue
- readProgress(JsonValue) - Method in class com.csse3200.game.missions.quests.MissionCompleteQuest
-
Reads the progress of the quest
- readProgress(JsonValue) - Method in class com.csse3200.game.missions.quests.OxygenLevelQuest
-
Reads in the current
OxygenLevelQuest
from aJsonValue
- readProgress(JsonValue) - Method in class com.csse3200.game.missions.quests.PlantInteractionQuest
-
Reads in the current
PlantInteractionQuest
from aJsonValue
- readProgress(JsonValue) - Method in class com.csse3200.game.missions.quests.ShipRepairQuest
-
Reads in the current
ShipRepairQuest
from aJsonValue
- readProgress(JsonValue) - Method in class com.csse3200.game.missions.quests.TameAnimalsQuest
-
Reads in the current
TameAnimalsQuest
from aJsonValue
- readReal(Json, JsonValue) - Method in class com.csse3200.game.missions.MissionManager
- readTractor(JsonValue) - Method in class com.csse3200.game.entities.Entity
- readyToPlay() - Method in class com.csse3200.game.components.player.PlayerAnimationController
-
Check if the current (non-looping) animation has completed
- REAPING_YOUR_REWARDS_QUEST_NAME - Static variable in class com.csse3200.game.missions.quests.QuestFactory
- reConfigure() - Method in class com.csse3200.game.components.placeables.SprinklerComponent
-
Called via ConnectedEntityComponent's "reconfigure" trigger - This trigger is called when a new sprinkler is placed in this sprinklers' vicinity.
- recoverExternalUI() - Method in class com.csse3200.game.components.cutscenes.CutsceneDisplay
-
Recovers the UI components that were removed back onto the screen
- recoverExternalUI() - Method in class com.csse3200.game.services.ToggleableMap
-
Recovers the UI components that were removed back onto the screen
- refreshInventory() - Method in class com.csse3200.game.components.inventory.InventoryDisplay
-
Fetch the updatedInventory and update display
- refreshRate - Variable in class com.csse3200.game.files.UserSettings.DisplaySettings
- register(Entity) - Method in class com.csse3200.game.entities.EntityService
-
Register a new entity with the entity service.
- register(InputComponent) - Method in class com.csse3200.game.input.InputService
-
Register an input handler based on its priority and reorder inputHandlers.
- register(Renderable) - Method in class com.csse3200.game.rendering.RenderService
-
Register a new renderable.
- registerCameraComponent(CameraComponent) - Static method in class com.csse3200.game.services.ServiceLocator
- registerCraftArea(GameAreaDisplay) - Static method in class com.csse3200.game.services.ServiceLocator
- registerEntityService(EntityService) - Static method in class com.csse3200.game.services.ServiceLocator
- registerGame(GdxGame) - Static method in class com.csse3200.game.services.ServiceLocator
- registerGameArea(GameArea) - Static method in class com.csse3200.game.services.ServiceLocator
- registerInputService(InputService) - Static method in class com.csse3200.game.services.ServiceLocator
- registerInventoryDisplayManager(InventoryDisplayManager) - Static method in class com.csse3200.game.services.ServiceLocator
- registerLightService(LightService) - Static method in class com.csse3200.game.services.ServiceLocator
- registerMission(EventHandler) - Method in class com.csse3200.game.missions.achievements.CollectItemsAchievement
-
Registers the Achievement with the
MissionManager
by listening to the ITEMS_COLLECTED Mission event. - registerMission(EventHandler) - Method in class com.csse3200.game.missions.achievements.PlantCropsAchievement
-
Registers the
PlantCropsAchievement
with theMissionManager
by adding a listener to the PLANT_CROPMissionManager.MissionEvent
- registerMission(EventHandler) - Method in class com.csse3200.game.missions.Mission
-
Registers the
Mission
to theMissionManager
, by adding all event listeners to the service which theMission
needs to listen to in order to update its state. - registerMission(EventHandler) - Method in class com.csse3200.game.missions.quests.AutoQuest
-
On registering this mission the
Reward
is collected. - registerMission(EventHandler) - Method in class com.csse3200.game.missions.quests.ClearDebrisQuest
-
Registers the Quest with the
MissionManager
by listening to the DEBRIS_CLEAR Mission event. - registerMission(EventHandler) - Method in class com.csse3200.game.missions.quests.FertiliseCropTilesQuest
-
Registers the
FertiliseCropTilesQuest
with theMission
by no listening to the FERTILISE_CROP event. - registerMission(EventHandler) - Method in class com.csse3200.game.missions.quests.FishingQuest
- registerMission(EventHandler) - Method in class com.csse3200.game.missions.quests.InventoryStateQuest
- registerMission(EventHandler) - Method in class com.csse3200.game.missions.quests.MainQuest
-
Registers the
MainQuest
with theMissionManager
by adding a listener to the QUEST_REWARD_COLLECTEDMissionManager.MissionEvent
- registerMission(EventHandler) - Method in class com.csse3200.game.missions.quests.ManageHostilesQuest
-
Registers the
ManageHostilesQuest
with theMissionManager
by adding a listener to the ANIMAL_DEFEATED and ANIMAL_EATENMissionManager.MissionEvent
s - registerMission(EventHandler) - Method in class com.csse3200.game.missions.quests.MissionCompleteQuest
-
Registers the mission
- registerMission(EventHandler) - Method in class com.csse3200.game.missions.quests.OxygenLevelQuest
-
Registers the
OxygenLevelQuest
with theMissionManager
by setting up listener to the hourUpdate event in the TimeService. - registerMission(EventHandler) - Method in class com.csse3200.game.missions.quests.PlantInteractionQuest
-
Registers the
PlantInteractionQuest
with theMissionManager
by adding listeners to the interaction type. - registerMission(EventHandler) - Method in class com.csse3200.game.missions.quests.ShipRepairQuest
-
Registers
ShipRepairQuest
withMissionManager
by listening to SHIP_PART_ADDED event - registerMission(EventHandler) - Method in class com.csse3200.game.missions.quests.SpaceDebrisQuest
-
Registers the Quest with the
MissionManager
by listening to the DEBRIS_CLEAR Mission event. - registerMission(EventHandler) - Method in class com.csse3200.game.missions.quests.TameAnimalsQuest
-
Register the
TameAnimalsQuest
with theMissionManager
by adding listener to the ANIMAL_TAMEDMissionManager.MissionEvent
- registerMissionManager(MissionManager) - Static method in class com.csse3200.game.services.ServiceLocator
- registerParticleService(ParticleService) - Static method in class com.csse3200.game.services.ServiceLocator
- registerPauseArea(GameAreaDisplay) - Static method in class com.csse3200.game.services.ServiceLocator
- registerPhysicsService(PhysicsService) - Static method in class com.csse3200.game.services.ServiceLocator
- registerPlanetOxygenService(PlanetOxygenService) - Static method in class com.csse3200.game.services.ServiceLocator
- registerPlantCommandService(PlantCommandService) - Static method in class com.csse3200.game.services.ServiceLocator
- registerPlantInfoService(PlantInfoService) - Static method in class com.csse3200.game.services.ServiceLocator
- registerPlayerHungerService(PlayerHungerService) - Static method in class com.csse3200.game.services.ServiceLocator
- registerPlayerMapService(PlayerMapService) - Static method in class com.csse3200.game.services.ServiceLocator
- registerQuestgiver(Entity) - Method in class com.csse3200.game.components.questgiver.QuestIndicatorComponent
-
Register the questgiver.
- registerRenderService(RenderService) - Static method in class com.csse3200.game.services.ServiceLocator
- registerResourceService(ResourceService) - Static method in class com.csse3200.game.services.ServiceLocator
- registerSaveLoadService(SaveLoadService) - Static method in class com.csse3200.game.services.ServiceLocator
-
Registers the save/load service.
- registerSoundService(SoundService) - Static method in class com.csse3200.game.services.ServiceLocator
- registerTimeService(TimeService) - Static method in class com.csse3200.game.services.ServiceLocator
- registerTimeSource(GameTime) - Static method in class com.csse3200.game.services.ServiceLocator
- registerUIService(UIService) - Static method in class com.csse3200.game.services.ServiceLocator
- REMOVE_PART - Enum constant in enum class com.csse3200.game.entities.factories.ShipFactory.events
- removeAll(Entity) - Method in class com.csse3200.game.components.player.InventoryComponent
- removeAnimation(String) - Method in class com.csse3200.game.rendering.AnimationRenderComponent
-
Remove an animation from this animator.
- removeComponent(ParticleEffectComponent) - Method in class com.csse3200.game.services.ParticleService
-
Removes a
ParticleEffectComponent
to theList
ofParticleEffectComponent
s tracked by theParticleService
so that it can render each individual effect. - removeEntity(Entity) - Method in class com.csse3200.game.areas.GameArea
- removeExternalUI() - Method in class com.csse3200.game.components.cutscenes.CutsceneDisplay
-
Removes the UI components on the screen so that cutscene is not so cluttered
- removeExternalUI() - Method in class com.csse3200.game.services.ToggleableMap
-
Removes the UI components on the screen so that cutscene is not so cluttered
- removeInventoryDisplay(InventoryDisplay) - Method in class com.csse3200.game.components.inventory.InventoryDisplayManager
-
Remove an inventoryDisplay to the manager
- removeItem(Entity) - Method in class com.csse3200.game.components.player.InventoryComponent
-
Removes an item from the Player's Inventory
- removeItem(String) - Method in class com.csse3200.game.components.player.InventoryComponent
-
Removes an item from the Player's Inventory with the given
String
name. - RemoveItemCommand - Class in com.csse3200.game.ui.terminal.commands
- RemoveItemCommand() - Constructor for class com.csse3200.game.ui.terminal.commands.RemoveItemCommand
- removeLoadableEntities(Array<Entity>) - Method in class com.csse3200.game.areas.GameArea
-
Loops through the games npcs and removes them.
- removeOccupant() - Method in class com.csse3200.game.areas.terrain.TerrainTile
-
Removes any crop tile which occupies the terrain tile.
- removeOxygen(float) - Method in interface com.csse3200.game.services.OxygenLevel
-
Remove x kilograms of oxygen from the object in question.
- removeOxygen(float) - Method in class com.csse3200.game.services.PlanetOxygenService
- removePosition(int) - Method in class com.csse3200.game.components.player.InventoryComponent
- render() - Method in class com.csse3200.game.rendering.Renderer
-
Render everything to the render service.
- render(float) - Method in class com.csse3200.game.screens.ControlsScreen
- render(float) - Method in class com.csse3200.game.screens.EndCreditsScreen
- render(float) - Method in class com.csse3200.game.screens.IntroScreen
- render(float) - Method in class com.csse3200.game.screens.LoseScreen
- render(float) - Method in class com.csse3200.game.screens.MainGameScreen
- render(float) - Method in class com.csse3200.game.screens.MainMenuScreen
- render(float) - Method in class com.csse3200.game.screens.SettingsScreen
- render(float) - Method in class com.csse3200.game.screens.WinScreen
- render(SpriteBatch) - Method in interface com.csse3200.game.rendering.Renderable
-
Render the renderable.
- render(SpriteBatch) - Method in class com.csse3200.game.rendering.RenderComponent
- render(SpriteBatch) - Method in class com.csse3200.game.rendering.RenderService
-
Trigger rendering on the given batch.
- render(SpriteBatch, float) - Method in class com.csse3200.game.components.ParticleEffectComponent
-
Renders all the effects that are being managed by the component for this entity.
- render(SpriteBatch, float) - Method in class com.csse3200.game.services.ParticleService
-
Renders the queued particle effects
- render(Matrix4) - Method in class com.csse3200.game.rendering.DebugRenderer
- Renderable - Interface in com.csse3200.game.rendering
-
Can be rendered onto the screen given a Sprite batch.
- RenderComponent - Class in com.csse3200.game.rendering
-
A generic component for rendering an entity.
- RenderComponent() - Constructor for class com.csse3200.game.rendering.RenderComponent
- Renderer - Class in com.csse3200.game.rendering
-
Core rendering system for the game.
- Renderer(CameraComponent) - Constructor for class com.csse3200.game.rendering.Renderer
-
Create a new renderer with default settings
- Renderer(CameraComponent, float, SpriteBatch, Stage, RenderService, DebugRenderer) - Constructor for class com.csse3200.game.rendering.Renderer
-
Create a renderer
- RenderFactory - Class in com.csse3200.game.entities.factories
- renderLight() - Method in class com.csse3200.game.services.LightService
-
Renders the lighting involved in the game and sets the ambient light to be based on the time of day
- renderPhysicsWorld(World) - Method in class com.csse3200.game.rendering.DebugRenderer
- RenderService - Class in com.csse3200.game.rendering
-
Globally accessible service for registering renderable components.
- RenderService() - Constructor for class com.csse3200.game.rendering.RenderService
- reportRayFixture(Fixture, Vector2, Vector2, float) - Method in class com.csse3200.game.physics.raycast.AllHitCallback
- reportRayFixture(Fixture, Vector2, Vector2, float) - Method in class com.csse3200.game.physics.raycast.SingleHitCallback
- resetExpiry() - Method in class com.csse3200.game.missions.quests.Quest
-
Resets the
Quest
's time to expiry back to the original expiry duration, and calls theQuest
'sQuest.resetState()
method. - resetState() - Method in class com.csse3200.game.missions.achievements.CollectItemsAchievement
-
Resets the number of debris cleared to 0.
- resetState() - Method in class com.csse3200.game.missions.quests.AutoQuest
-
Does nothing as
AutoQuest
s have no state to reset. - resetState() - Method in class com.csse3200.game.missions.quests.ClearDebrisQuest
-
Resets the number of debris cleared to 0.
- resetState() - Method in class com.csse3200.game.missions.quests.FertiliseCropTilesQuest
-
Resets the number of cropTiles the player has fertilised to 0.
- resetState() - Method in class com.csse3200.game.missions.quests.FishingQuest
- resetState() - Method in class com.csse3200.game.missions.quests.InventoryStateQuest
- resetState() - Method in class com.csse3200.game.missions.quests.MainQuest
-
Resets the state of the
MainQuest
by clearing the questsCompleted set. - resetState() - Method in class com.csse3200.game.missions.quests.ManageHostilesQuest
-
Resets the state of the
ManageHostilesQuest
by setting the number of hostiles killed back to 0 - resetState() - Method in class com.csse3200.game.missions.quests.MissionCompleteQuest
-
Resets the state of the quest
- resetState() - Method in class com.csse3200.game.missions.quests.OxygenLevelQuest
-
Resets the current hours back to 0.
- resetState() - Method in class com.csse3200.game.missions.quests.PlantInteractionQuest
-
Resets the number of plant interactions to 0
- resetState() - Method in class com.csse3200.game.missions.quests.Quest
-
Resets the internal state of the
Quest
, to what it was before being accepted/modified. - resetState() - Method in class com.csse3200.game.missions.quests.ShipRepairQuest
-
Resets the current ship repair progress back to 0.
- resetState() - Method in class com.csse3200.game.missions.quests.TameAnimalsQuest
-
Resets number of animals tamed back to 0
- resize(int, int) - Method in class com.csse3200.game.rendering.Renderer
-
Resize the renderer to a new screen size.
- resize(int, int) - Method in class com.csse3200.game.screens.ControlsScreen
- resize(int, int) - Method in class com.csse3200.game.screens.EndCreditsScreen
- resize(int, int) - Method in class com.csse3200.game.screens.IntroScreen
- resize(int, int) - Method in class com.csse3200.game.screens.LoseScreen
- resize(int, int) - Method in class com.csse3200.game.screens.MainGameScreen
- resize(int, int) - Method in class com.csse3200.game.screens.MainMenuScreen
- resize(int, int) - Method in class com.csse3200.game.screens.SettingsScreen
- resize(int, int) - Method in class com.csse3200.game.screens.WinScreen
- resize(int, int, float) - Method in class com.csse3200.game.components.CameraComponent
- resizePlanetAnimation() - Method in class com.csse3200.game.components.intro.IntroDisplay
- ResourceService - Class in com.csse3200.game.services
-
Service for loading resources, e.g.
- ResourceService() - Constructor for class com.csse3200.game.services.ResourceService
- ResourceService(AssetManager) - Constructor for class com.csse3200.game.services.ResourceService
-
Initialise this ResourceService to use the provided AssetManager.
- resume() - Method in class com.csse3200.game.screens.EndCreditsScreen
- resume() - Method in class com.csse3200.game.screens.LoseScreen
- resume() - Method in class com.csse3200.game.screens.MainGameScreen
- resume() - Method in class com.csse3200.game.screens.MainMenuScreen
- resume() - Method in class com.csse3200.game.screens.WinScreen
- Reward - Class in com.csse3200.game.missions.rewards
-
The `Reward` class is an abstract class representing an in-game reward which can be collected as a result of completing an Mission **(v1 only!)** or milestone **(v2 only!)**.
- Reward() - Constructor for class com.csse3200.game.missions.rewards.Reward
- REWARD_COMPLETE - Enum constant in enum class com.csse3200.game.missions.MissionManager.MissionEvent
- RIGHT - Enum constant in enum class com.csse3200.game.physics.components.PhysicsComponent.AlignX
- RIGHT - Static variable in class com.csse3200.game.utils.DirectionUtils
- RIGHT - Static variable in class com.csse3200.game.utils.math.Vector2Utils
- ROCK - Enum constant in enum class com.csse3200.game.areas.terrain.TerrainTile.TerrainCategory
- RUN - Enum constant in enum class com.csse3200.game.components.player.PlayerActions.events
- RUN_PREFIX - Static variable in class com.csse3200.game.components.npc.AnimalAnimationController
-
Run prefix to play run animation
- RUN_STOP - Enum constant in enum class com.csse3200.game.components.player.PlayerActions.events
- RunAwayTask - Class in com.csse3200.game.components.tasks
-
Runs from a target entity until they get too far away or line of sight is lost
- RunAwayTask(Entity, int, float, float, Vector2) - Constructor for class com.csse3200.game.components.tasks.RunAwayTask
- RunAwayTask(Entity, int, float, float, Vector2, boolean) - Constructor for class com.csse3200.game.components.tasks.RunAwayTask
S
- save() - Method in class com.csse3200.game.services.SaveLoadService
- save(String) - Method in class com.csse3200.game.services.SaveLoadService
-
Saves the current state of the game into a GameState
- SaveCommand - Class in com.csse3200.game.ui.terminal.commands
-
A command for saving the games current state
- SaveCommand() - Constructor for class com.csse3200.game.ui.terminal.commands.SaveCommand
- SaveGame - Class in com.csse3200.game.files
-
Reading, Writing, and applying user settings in the game.
- SaveGame.GameState - Class in com.csse3200.game.files
-
Stores game state.
- SaveLoadService - Class in com.csse3200.game.services
- SaveLoadService() - Constructor for class com.csse3200.game.services.SaveLoadService
- scaleEntity() - Method in class com.csse3200.game.rendering.AnimationRenderComponent
-
Scale the entity using the texture's ration and configured scale factor
- scaleEntity() - Method in class com.csse3200.game.rendering.DynamicTextureRenderComponent
-
Scale the entity to a width of 1 and a height matching the texture's ratio
- scaleEntity() - Method in class com.csse3200.game.rendering.TextureRenderComponent
-
Scale the entity to a width of 1 and a height matching the texture's ratio
- scaleHeight(float) - Method in class com.csse3200.game.entities.Entity
-
Set the entity's height and scale the width to maintain aspect ratio.
- scaleWidth(float) - Method in class com.csse3200.game.entities.Entity
-
Set the entity's width and scale the height to maintain aspect ratio.
- ScheduledEvent - Record Class in com.csse3200.game.events
-
Represents a scheduled event with associated information.
- ScheduledEvent(String, List<Object>, long) - Constructor for record class com.csse3200.game.events.ScheduledEvent
-
Creates an instance of a
ScheduledEvent
record class. - scheduleEvent(float, String) - Method in class com.csse3200.game.events.EventHandler
-
Schedule an event with no arguments
- scheduleEvent(float, String, T) - Method in class com.csse3200.game.events.EventHandler
-
Schedule an event with one argument
- scheduleEvent(float, String, T0, T1) - Method in class com.csse3200.game.events.EventHandler
-
Schedule an event with two arguments
- scheduleEvent(float, String, T0, T1, T2) - Method in class com.csse3200.game.events.EventHandler
-
Schedule an event with three arguments
- screenPositionToWorldPosition(Vector2) - Method in class com.csse3200.game.components.CameraComponent
-
Converts screen position vector to world position vector
- scrolled(float, float) - Method in class com.csse3200.game.input.InputComponent
- scrolled(float, float) - Method in class com.csse3200.game.input.InputDecorator
- scrolled(float, float) - Method in class com.csse3200.game.input.InputService
-
Iterates over registered input handlers in descending priority and stops as soon as the input is processed
- scrolled(float, float) - Method in class com.csse3200.game.ui.terminal.TouchTerminalInputComponent
-
Scrolling up will open the terminal and scrolling down will close the terminal.
- SCYTHE - Enum constant in enum class com.csse3200.game.components.items.ItemType
- SCYTHE - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- SEED - Enum constant in enum class com.csse3200.game.components.items.ItemType
- SEEDLING - Enum constant in enum class com.csse3200.game.components.plants.PlantComponent.GrowthStage
- ServiceLocator - Class in com.csse3200.game.services
-
A simplified implementation of the Service Locator pattern: https://martinfowler.com/articles/injection.html#UsingAServiceLocator
- set(SaveGame.GameState, String) - Static method in class com.csse3200.game.files.SaveGame
-
Set the current game state
- set(UserSettings.Settings, boolean) - Static method in class com.csse3200.game.files.UserSettings
-
Set the stored user settings
- setActions(PlayerActions) - Method in class com.csse3200.game.components.player.KeyboardPlayerInputComponent
- setActive(boolean) - Method in class com.csse3200.game.rendering.DebugRenderer
- setAdultLifeSpan(int) - Method in class com.csse3200.game.components.plants.PlantComponent
-
Set the adult life span of a plant.
- setAreaOfEffectRadius() - Method in class com.csse3200.game.components.plants.PlantComponent
-
Set the area of effect radius based on the type of plant.
- setAsBox(Vector2) - Method in class com.csse3200.game.physics.components.ColliderComponent
-
Set physics as a box with a given size.
- setAsBox(Vector2, Vector2) - Method in class com.csse3200.game.physics.components.ColliderComponent
-
Set physics as a box with a given size and local position.
- setAsBoxAligned(Vector2, PhysicsComponent.AlignX, PhysicsComponent.AlignY) - Method in class com.csse3200.game.physics.components.ColliderComponent
-
Set physics as a box with a given size.
- setBaseAttack(int) - Method in class com.csse3200.game.components.combat.CombatStatsComponent
-
Sets the entity's attack damage.
- setBlendMode(TiledMapTile.BlendMode) - Method in class com.csse3200.game.areas.terrain.TerrainTile
-
Sets the blend mode of the terrain tile
- setBodyType(BodyDef.BodyType) - Method in class com.csse3200.game.physics.components.PhysicsComponent
-
Set body type
- setBrightnessMultiplier(float) - Method in class com.csse3200.game.services.LightService
-
Sets the global ambient brightness multiplier.
- setCapacity(float) - Method in class com.csse3200.game.components.items.WateringCanLevelComponent
-
Update the max the WateringCan can hold to the parameter and keep the current level of water but adjust current level to max if the water in the can is greater than max capacity
- setCenterPosition(Vector2) - Method in class com.csse3200.game.entities.Entity
- setClimate(ClimateController) - Method in class com.csse3200.game.files.SaveGame.GameState
-
Gets the ClimateController that is stored within the GameState
- setClosed() - Method in class com.csse3200.game.ui.terminal.Terminal
-
Closes the terminal and clears the stored message.
- setCollected() - Method in class com.csse3200.game.missions.rewards.Reward
- setColor(Color) - Method in class com.csse3200.game.components.AuraLightComponent
-
Sets the color of the light
- setColor(Color) - Method in class com.csse3200.game.components.ConeLightComponent
-
Sets the color of the light
- setColourOffset(Color) - Method in class com.csse3200.game.services.LightService
-
Sets the global ambient colour offset.
- setConeDegree(float) - Method in class com.csse3200.game.components.ConeLightComponent
-
Changes the cone degree of the light
- setConstantVelocity(boolean) - Method in class com.csse3200.game.components.combat.ProjectileComponent
- setCount(Integer) - Method in class com.csse3200.game.components.inventory.ItemSlot
-
Set the item count
- setCurrentAge(float) - Method in class com.csse3200.game.components.plants.PlantComponent
- setCurrentGrowthLevel(int) - Method in class com.csse3200.game.components.plants.PlantComponent
-
Set the currentGrowthLevel of the plant.
- setCurrentLevel(float) - Method in class com.csse3200.game.components.items.WateringCanLevelComponent
-
Set the value that stores the current amount of water to the parameter --- e.g.
- setCurrentMenu(Boolean, KeyboardPlayerInputComponent.MenuTypes) - Static method in class com.csse3200.game.components.player.KeyboardPlayerInputComponent
- setCurrentWeatherEvent(WeatherEvent) - Method in class com.csse3200.game.areas.weather.ClimateController
-
Gets the current weather event that is occurring
- setCutSceneRunning(boolean) - Static method in class com.csse3200.game.services.ServiceLocator
-
Sets the cutscene status to either running or not running.
- setDamageMultiplier(float) - Method in class com.csse3200.game.components.player.PlayerActions
-
Sets damage multiplier of player to change sword and gun damage
- setDay(int) - Method in class com.csse3200.game.files.SaveGame.GameState
-
Sets the day value stored in the GameState
- setDay(int) - Method in class com.csse3200.game.services.TimeService
-
Sets the in-game day to a certain value.
- SetDayCommand - Class in com.csse3200.game.ui.terminal.commands
- SetDayCommand() - Constructor for class com.csse3200.game.ui.terminal.commands.SetDayCommand
- setDebug(DebugRenderer) - Method in class com.csse3200.game.rendering.RenderService
- setDecay() - Method in class com.csse3200.game.components.plants.PlantComponent
-
Set the plant to decaying stage.
- setDecayingPlantCount(int) - Method in class com.csse3200.game.services.plants.PlantInfoService
-
Sets the decaying plant counter to the number provided
- setDensity(float) - Method in class com.csse3200.game.physics.components.ColliderComponent
-
Set density
- setDestroyOnImpact(boolean) - Method in class com.csse3200.game.components.combat.ProjectileComponent
- setDirection(float) - Method in class com.csse3200.game.components.ConeLightComponent
-
Changes the direction of the cone light
- setDistance(float) - Method in class com.csse3200.game.components.AuraLightComponent
-
Sets the distance/spread of the light
- setDistance(float) - Method in class com.csse3200.game.components.ConeLightComponent
-
Sets the distance/spread of the light
- setDraggable(Stack) - Method in class com.csse3200.game.components.inventory.ItemSlot
- setDragItems(ArrayList<Actor>, Map<Stack, ItemSlot>) - Method in class com.csse3200.game.components.inventory.InventoryDisplay
-
Set Drag Items
- setEffectType(String) - Method in class com.csse3200.game.components.plants.PlantAreaOfEffectComponent
-
Update the current effect being executed.
- setEnabled(boolean) - Method in class com.csse3200.game.components.Component
-
Enable or disable the component.
- setEnabled(boolean) - Method in class com.csse3200.game.entities.Entity
-
Enable or disable an entity.
- setEnabled(boolean) - Method in class com.csse3200.game.physics.components.PhysicsComponent
- setEnteredMessage(String) - Method in class com.csse3200.game.ui.terminal.Terminal
-
Sets the text shown on the terminal
- setEntities(Array<Entity>) - Method in class com.csse3200.game.files.SaveGame.GameState
-
Sets the entities that are used in save/load (filtered by filterEntities() first)
- setEntity(Entity) - Method in class com.csse3200.game.components.Component
-
Set the entity to which this component belongs.
- setEntity(Entity) - Method in class com.csse3200.game.components.npc.SingleDropHandler
-
Set the entity that is dropping the item.
- setEvents(EventHandler) - Method in class com.csse3200.game.services.plants.PlantInfoService
-
Setter for the event handler.
- setFriction(float) - Method in class com.csse3200.game.physics.components.ColliderComponent
-
Set friction.
- setGameArea(GameArea) - Method in class com.csse3200.game.entities.EntitySpawner
-
Set GameArea
- setGameAreas(GameArea) - Method in class com.csse3200.game.entities.EntitiesSpawner
-
Set GameArea for all spawners
- setGameMap(GameMap) - Method in class com.csse3200.game.areas.TestGameArea
- setGrowthStage(int) - Method in class com.csse3200.game.components.plants.PlantComponent
-
Set the growth stage of a plant.
- setHarvestYields(Map<String, Integer>) - Method in class com.csse3200.game.components.plants.PlantComponent
-
Sets the harvest yield of this plant.
- setHealth(int) - Method in class com.csse3200.game.components.combat.CombatStatsComponent
-
Sets the entity's health.
- setHeldItem(int) - Method in class com.csse3200.game.components.player.InventoryComponent
-
Sets the held item for the Player.
- setHeldItemsEntity(HashMap<String, Entity>) - Method in class com.csse3200.game.components.player.InventoryComponent
-
Sets the HashMap of the String and Entity of the item in the inventory
- setHour(int) - Method in class com.csse3200.game.files.SaveGame.GameState
-
Sets the hour value stored in the GameState
- setHour(int) - Method in class com.csse3200.game.services.TimeService
-
Sets the in-game hour to a certain value.
- setHungerLevel(int) - Method in class com.csse3200.game.components.player.HungerComponent
- setId(int) - Method in class com.csse3200.game.areas.terrain.TerrainTile
-
Sets the id of the terrain tile
- setInventory(List<Entity>) - Method in class com.csse3200.game.components.player.InventoryComponent
-
Sets the player's inventory to a given list of items.
- setInventorySize(int) - Method in class com.csse3200.game.components.player.InventoryComponent
-
Sets the maximum size of the inventory.
- setIsEating() - Method in class com.csse3200.game.components.plants.PlantComponent
-
Tell the plant it is now eating an animal.
- setItemCount(HashMap<String, Integer>) - Method in class com.csse3200.game.components.player.InventoryComponent
-
Sets the HashMap of the String and the count of the item in the inventory
- setItemDescription(String) - Method in class com.csse3200.game.components.items.ItemComponent
-
Sets the price of the item
- setItemImage(Image) - Method in class com.csse3200.game.components.inventory.ItemSlot
- setItemName(String) - Method in class com.csse3200.game.components.items.ItemComponent
-
Sets the item name of the item
- setItemPlace(HashMap<Integer, String>) - Method in class com.csse3200.game.components.player.InventoryComponent
-
Sets the HashMap of the Position and the String of the item in the inventory
- setItemTexture(String) - Method in class com.csse3200.game.components.items.ItemComponent
-
Sets an Item's texture component to a given Texture
- setLayer(int) - Method in class com.csse3200.game.rendering.DynamicTextureRenderComponent
- setLayer(short) - Method in class com.csse3200.game.physics.components.ColliderComponent
-
Set the collider layer, used in collision logic
- setLoadOnStart(boolean) - Method in class com.csse3200.game.GdxGame
- setLoseReason(String) - Static method in class com.csse3200.game.components.losescreen.LoseScreenDisplay
-
Sets the reason for losing the game to display in the losing message.
- setMaxSpeed(Vector2) - Method in class com.csse3200.game.physics.components.PhysicsMovementComponent
- setMinute(int) - Method in class com.csse3200.game.files.SaveGame.GameState
-
Gets the in game minute that is stored within the GameState
- setMinute(int) - Method in class com.csse3200.game.services.TimeService
-
Sets the in-game minute to a certain value.
- setMissions(MissionManager) - Method in class com.csse3200.game.files.SaveGame.GameState
-
Gets the MissionManager that is stored within the GameState
- setMode(TractorMode) - Method in class com.csse3200.game.components.tractor.TractorActions
-
Sets the mode of the tractor entity to a given mode
- setMoveDirection(Vector2) - Method in class com.csse3200.game.components.player.PlayerActions
-
Sets the moveDirection with a copy of the provided Vector2 instance
- setMovementTask(MovementTask) - Method in class com.csse3200.game.components.tasks.ChaseTask
-
Setter for movementTask
- setMoving(boolean) - Method in interface com.csse3200.game.ai.movement.MovementController
- setMoving(boolean) - Method in class com.csse3200.game.physics.components.PhysicsMovementComponent
-
Enable/disable movement for the controller.
- setMuted(boolean) - Method in class com.csse3200.game.components.player.PlayerActions
- setMuted(boolean) - Method in class com.csse3200.game.components.tractor.TractorActions
-
Sets the tractor's actions to be muted, This should be done when exiting the tractor.
- setMuted(boolean) - Method in class com.csse3200.game.services.sound.BackgroundMusicService
-
Sets the mute status of the background music to the given boolean value.
- setMuted(boolean) - Method in class com.csse3200.game.services.sound.EffectsMusicService
- setMuted(boolean) - Method in interface com.csse3200.game.services.sound.MusicService
-
Mutes the playback of a given MusicService.
- setNearestTime(int) - Method in class com.csse3200.game.services.TimeService
-
Sets the in-game hour to the nearest future hour passed in, rounded to 0 minutes.
- setNearestTime(int, int) - Method in class com.csse3200.game.services.TimeService
-
Sets the in-game hour and minute to the nearest future value passed in.
- setNoMoreUse(boolean) - Method in class com.csse3200.game.components.plants.PlantMouseHoverComponent
-
Sets whether the plant information should no longer be used.
- setNumOfDaysAsAdult(int) - Method in class com.csse3200.game.components.plants.PlantComponent
-
Sets the number of days the plant has been an adult.
- setOccupant(Entity) - Method in class com.csse3200.game.areas.terrain.TerrainTile
-
Sets the placeable entity and sets the tile to be occupied if not null
- setOccupied() - Method in class com.csse3200.game.areas.terrain.TerrainTile
-
labels the terrain tile as being occupied (terrain tile does not store actually entity occupying it)
- setOffset(Vector2) - Method in class com.csse3200.game.rendering.AnimationEffectsComponent
-
Sets the offset for adjusting the position of the rendered animation.
- setOffsetX(float) - Method in class com.csse3200.game.areas.terrain.TerrainTile
-
Sets the x offset of the terrain tile
- setOffsetY(float) - Method in class com.csse3200.game.areas.terrain.TerrainTile
-
Sets the y offset of the terrain tile
- setOpen() - Method in class com.csse3200.game.ui.terminal.Terminal
-
Opens the terminal.
- setOxygen(float) - Method in interface com.csse3200.game.services.OxygenLevel
-
Sets the amount of oxygen present in the object in kilos.
- setOxygen(float) - Method in class com.csse3200.game.services.PlanetOxygenService
- setOxygenGoal(int) - Method in class com.csse3200.game.services.PlanetOxygenService
-
Set the maximum/goal amount of oxygen to be present on the planet
- setOxygenLevel(float) - Method in class com.csse3200.game.files.SaveGame.GameState
-
Sets the oxygenLevel value stored in the GameState
- setPause() - Method in class com.csse3200.game.components.inventory.InventoryDisplay
- setPause() - Method in class com.csse3200.game.components.inventory.ToolbarDisplay
- setPaused(boolean) - Method in class com.csse3200.game.services.TimeService
-
Changes the pause state of the game
- setPauseMenu() - Method in class com.csse3200.game.components.gamearea.GameAreaDisplay
- setPlaceableCategory(PlaceableCategory) - Method in enum class com.csse3200.game.entities.EntityType
-
Setter for the placeableCategory
- setPlaceables(Array<Entity>) - Method in class com.csse3200.game.files.SaveGame.GameState
-
Sets the entities that are used in save/load (filtered by filterPlaceables() first)
- setPlant(Entity) - Method in class com.csse3200.game.areas.terrain.CropTileComponent
-
Only to be used for loading as it can go around the achievement stuff
- setPlantDied(boolean) - Method in class com.csse3200.game.components.plants.PlantMouseHoverComponent
-
Used to signal when the plant has died.
- setPlantHealth(int) - Method in class com.csse3200.game.components.plants.PlantComponent
-
Set the current plant health
- setPlayer(Entity) - Method in class com.csse3200.game.areas.GameArea
- setPlayer(Entity) - Method in class com.csse3200.game.files.SaveGame.GameState
-
Sets the player entity stored in the GameState
- setPlayerInProximity(boolean) - Method in class com.csse3200.game.components.plants.PlantComponent
-
Indicates when the player is in the plants proximity for playing sounds or not.
- setPosition(float, float) - Method in class com.csse3200.game.entities.Entity
-
Set the entity's game position.
- setPosition(Vector2) - Method in class com.csse3200.game.entities.Entity
-
Set the entity's game position.
- setPosition(Vector2, boolean) - Method in class com.csse3200.game.entities.Entity
-
Set the entity's game position and optionally notifies listeners.
- setPosition(Entity) - Method in class com.csse3200.game.components.player.InventoryComponent
-
Add Item to the first available position in the inventory
- setPosition(Entity, int) - Method in class com.csse3200.game.components.player.InventoryComponent
-
add position of an entity into the HashList, with a specific position
- setPower(boolean) - Method in class com.csse3200.game.components.placeables.SprinklerComponent
-
Allows other sprinklers to set the power of this sprinkler.
- setPrice(int) - Method in class com.csse3200.game.components.items.ItemComponent
-
Sets the price of the item
- setPriority(int) - Method in class com.csse3200.game.input.InputComponent
- setPump() - Method in class com.csse3200.game.components.placeables.SprinklerComponent
-
Sets this sprinkler to be a pump.
- setQuitGameStatus() - Static method in class com.csse3200.game.components.maingame.PauseMenuActions
- setRadius(float) - Method in class com.csse3200.game.components.plants.PlantAreaOfEffectComponent
-
Set the radius of the area.
- setRandomInstance(Random) - Method in class com.csse3200.game.components.ship.ShipDebrisComponent
-
Sets the random instance to use.
- setRestitution(float) - Method in class com.csse3200.game.physics.components.ColliderComponent
-
Set restitution
- setScale(float, float) - Method in class com.csse3200.game.entities.Entity
-
Set the entity's scale.
- setScale(Vector2) - Method in class com.csse3200.game.entities.Entity
-
Set the entity's scale.
- setScale(Vector2) - Method in class com.csse3200.game.rendering.AnimationEffectsComponent
-
Sets the scale for adjusting the size of the rendered animation.
- setScaledCollider(Entity, float, float) - Static method in class com.csse3200.game.physics.PhysicsUtils
- setScreen(GdxGame.ScreenType) - Method in class com.csse3200.game.GdxGame
-
Sets the game's screen to a new screen of the provided type.
- setSelected() - Method in class com.csse3200.game.components.inventory.ItemSlot
-
Make the slot selected
- setSensor(boolean) - Method in class com.csse3200.game.physics.components.ColliderComponent
-
Set whether this physics component is a sensor.
- setShape(Shape) - Method in class com.csse3200.game.physics.components.ColliderComponent
-
Set shape
- setShowInfo(boolean) - Method in class com.csse3200.game.components.plants.PlantMouseHoverComponent
-
Sets whether plant information is currently being shown.
- setSounds(EffectSoundFile, EffectSoundFile, EffectSoundFile, EffectSoundFile, EffectSoundFile, EffectSoundFile, EffectSoundFile, EffectSoundFile) - Method in class com.csse3200.game.components.plants.PlantComponent
-
Sets the sound effects this plant will play.
- setSpeed(Vector2) - Method in class com.csse3200.game.components.combat.ProjectileComponent
-
Sets the speed of the projectile.
- setSpeedMultiplier(float) - Method in class com.csse3200.game.components.player.PlayerActions
-
Sets speed multiplier of player to change walking and running speed.
- setStage(Stage) - Method in class com.csse3200.game.rendering.RenderService
- setStats(PlantConfigs) - Static method in class com.csse3200.game.entities.factories.PlantFactory
-
Sets the plant statistics.
- setStun(boolean) - Method in class com.csse3200.game.components.combat.StunComponent
-
Sets the stun status of the entity.
- setStunDuration(float) - Method in class com.csse3200.game.components.combat.StunComponent
-
Sets the stun duration for the entity.
- setTame(boolean) - Method in class com.csse3200.game.components.npc.TamableComponent
-
Function is used to set the tame value of the animals.
- setTarget(Vector2) - Method in interface com.csse3200.game.ai.movement.MovementController
- setTarget(Vector2) - Method in class com.csse3200.game.components.tasks.MovementTask
-
Sets a new target position for the movement task.
- setTarget(Vector2) - Method in class com.csse3200.game.physics.components.PhysicsMovementComponent
-
Set a target to move towards.
- setTargetDirection(Vector2) - Method in class com.csse3200.game.components.combat.ProjectileComponent
-
Sets the target direction for the projectile and applies velocity to its physics body.
- setTerrainCategory(TerrainTile.TerrainCategory) - Method in class com.csse3200.game.areas.terrain.TerrainTile
-
Sets the terrain category of the terrain tile to the specified terrain category
- setTerrainComponent(TerrainComponent) - Method in class com.csse3200.game.areas.terrain.GameMap
-
Sets the TerrainComponent.
- setTexture(boolean, byte) - Method in class com.csse3200.game.components.placeables.SprinklerComponent
-
Helper method to set the texture of this sprinkler, using a given power status and orientation
- setTexture(String) - Method in class com.csse3200.game.rendering.DynamicTextureRenderComponent
- setTextureRegion(TextureRegion) - Method in class com.csse3200.game.areas.terrain.TerrainTile
-
Sets the texture region of the terrain tile
- setTiles(Array<Entity>) - Method in class com.csse3200.game.files.SaveGame.GameState
-
Sets the entities that are used in save/load (filtered by filterTiles() first)
- SetTimeCommand - Class in com.csse3200.game.ui.terminal.commands
- SetTimeCommand() - Constructor for class com.csse3200.game.ui.terminal.commands.SetTimeCommand
- setTimeScale(float) - Method in class com.csse3200.game.services.GameTime
-
Set the speed of time passing.
- SetTimeScaleCommand - Class in com.csse3200.game.ui.terminal.commands
- SetTimeScaleCommand() - Constructor for class com.csse3200.game.ui.terminal.commands.SetTimeScaleCommand
- Settings() - Constructor for class com.csse3200.game.files.UserSettings.Settings
- SETTINGS - Enum constant in enum class com.csse3200.game.GdxGame.ScreenType
- SettingsMenuDisplay - Class in com.csse3200.game.components.settingsmenu
-
Settings menu display and logic.
- SettingsMenuDisplay(GdxGame) - Constructor for class com.csse3200.game.components.settingsmenu.SettingsMenuDisplay
- SettingsScreen - Class in com.csse3200.game.screens
-
The game screen containing the settings.
- SettingsScreen(GdxGame) - Constructor for class com.csse3200.game.screens.SettingsScreen
- setTrackEntity(Entity) - Method in class com.csse3200.game.components.CameraComponent
-
Sets the entity to track by the camera.
- setTractor(Entity) - Method in class com.csse3200.game.areas.GameArea
- setTractor(Entity) - Method in class com.csse3200.game.files.SaveGame.GameState
-
Gets the Tractor entity stored within the GameState
- setUnoccupied() - Method in class com.csse3200.game.areas.terrain.CropTileComponent
-
Sets the tile to be unoccupied.
- setUnOccupied() - Method in class com.csse3200.game.areas.terrain.TerrainTile
-
labels the terrain tile as being unoccupied
- setUnselected() - Method in class com.csse3200.game.components.inventory.ItemSlot
-
Make the slot unselected
- setupPlayerAnimator(AnimationRenderComponent) - Static method in class com.csse3200.game.entities.factories.PlayerFactory
-
Registers player animations to the AnimationRenderComponent.
- setupShipAnimations() - Static method in class com.csse3200.game.entities.factories.ShipFactory
-
Adds all animations to the AnimationRenderComponent for the ship
- setupTractorAnimations() - Static method in class com.csse3200.game.entities.factories.TractorFactory
-
Adds all animations to the AnimationRenderComponent for the tractor to use
- setValues(JsonValue) - Method in class com.csse3200.game.areas.weather.ClimateController
- setVelocity(Vector2) - Method in class com.csse3200.game.components.combat.ProjectileComponent
-
Set velocity without triggering movement, used for setting knockback velocity
- setWalkDirection(Vector2) - Method in class com.csse3200.game.components.player.KeyboardPlayerInputComponent
- setWalkDirection(Vector2) - Method in class com.csse3200.game.components.tractor.KeyboardTractorInputComponent
-
Sets the movement direction of the tractor to a given direction.
- severity - Variable in class com.csse3200.game.areas.weather.WeatherEvent
-
The severity of the
WeatherEvent
which can affect the climate modifiers depending on the implementation of theWeatherEvent
. - SHALLOWWATER - Enum constant in enum class com.csse3200.game.areas.terrain.TerrainTile.TerrainCategory
- SHIP - Enum constant in enum class com.csse3200.game.entities.EntityType
- SHIP - Enum constant in enum class com.csse3200.game.entities.HungerEntityType
- SHIP_CLUE_SOLVED - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- SHIP_CRASH - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- SHIP_DEBRIS - Enum constant in enum class com.csse3200.game.entities.EntityType
- SHIP_DEBRIS - Enum constant in enum class com.csse3200.game.entities.HungerEntityType
- SHIP_EATER - Enum constant in enum class com.csse3200.game.entities.EntityType
- SHIP_EATER_ATTACK - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- SHIP_EATER_HIDE - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- SHIP_FEATURE_UNLOCKED - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- SHIP_INSTALL_PART - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- SHIP_PART - Enum constant in enum class com.csse3200.game.components.items.ItemType
- SHIP_PART_ADDED - Enum constant in enum class com.csse3200.game.missions.MissionManager.MissionEvent
- SHIP_PART_REPEAT_QUEST - Static variable in class com.csse3200.game.missions.quests.QuestFactory
- SHIP_PART_TILE - Enum constant in enum class com.csse3200.game.entities.EntityType
- SHIP_PART_TILE - Enum constant in enum class com.csse3200.game.entities.HungerEntityType
- SHIP_RATTLE - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- SHIP_REPAIRS_QUEST_NAME - Static variable in class com.csse3200.game.missions.quests.QuestFactory
- SHIP_TELEPORT - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- ShipAnimationController - Class in com.csse3200.game.components.ship
-
the ShipAnimationController
- ShipAnimationController() - Constructor for class com.csse3200.game.components.ship.ShipAnimationController
- ShipDebrisComponent - Class in com.csse3200.game.components.ship
-
Handles Ship Debris events.
- ShipDebrisComponent() - Constructor for class com.csse3200.game.components.ship.ShipDebrisComponent
- ShipDebrisFactory - Class in com.csse3200.game.entities.factories
- ShipDisplay - Class in com.csse3200.game.components.ship
- ShipDisplay() - Constructor for class com.csse3200.game.components.ship.ShipDisplay
- ShipEaterAnimationController - Class in com.csse3200.game.components.npc
- ShipEaterAnimationController() - Constructor for class com.csse3200.game.components.npc.ShipEaterAnimationController
- ShipEaterAttackPattern - Class in com.csse3200.game.components.combat.attackpatterns
-
The ShipEaterAttackPattern class defines the attack behavior of a ShipEater entity in the game.
- ShipEaterAttackPattern(float) - Constructor for class com.csse3200.game.components.combat.attackpatterns.ShipEaterAttackPattern
- ShipEaterScareComponent - Class in com.csse3200.game.components.npc
- ShipEaterScareComponent() - Constructor for class com.csse3200.game.components.npc.ShipEaterScareComponent
- ShipFactory - Class in com.csse3200.game.entities.factories
- ShipFactory() - Constructor for class com.csse3200.game.entities.factories.ShipFactory
- ShipFactory.events - Enum Class in com.csse3200.game.entities.factories
- ShipLightComponent - Class in com.csse3200.game.components.ship
-
Adds a controllable light source to the player ship.
- ShipLightComponent() - Constructor for class com.csse3200.game.components.ship.ShipLightComponent
- ShipPartTileComponent - Class in com.csse3200.game.areas.terrain
-
A tile that drops a ship part on destroy.
- ShipPartTileComponent() - Constructor for class com.csse3200.game.areas.terrain.ShipPartTileComponent
- ShipPartTileFactory - Class in com.csse3200.game.areas.terrain
- ShipProgressComponent - Class in com.csse3200.game.components.ship
- ShipProgressComponent() - Constructor for class com.csse3200.game.components.ship.ShipProgressComponent
- ShipProgressComponent.Feature - Enum Class in com.csse3200.game.components.ship
-
Ship features that can be unlocked along by repairing the ship.
- ShipRepairQuest - Class in com.csse3200.game.missions.quests
-
A
Quest
where player must repair ship to a certain level. - ShipRepairQuest(String, Reward, int) - Constructor for class com.csse3200.game.missions.quests.ShipRepairQuest
-
Creates a
ShipRepairQuest
- ShipRepairQuest(String, Reward, int, int) - Constructor for class com.csse3200.game.missions.quests.ShipRepairQuest
-
Creates a
ShipRepairQuest
with expiry - ShipTimeSkipComponent - Class in com.csse3200.game.components.ship
-
Handles allowing the player to sleep through the night by interacting with the ship once the repair threshold is reached.
- ShipTimeSkipComponent() - Constructor for class com.csse3200.game.components.ship.ShipTimeSkipComponent
- SHOOT - Enum constant in enum class com.csse3200.game.components.player.PlayerActions.events
- SHOVEL - Enum constant in enum class com.csse3200.game.components.items.ItemType
- SHOVEL - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- showAction(Tooltip) - Method in class com.csse3200.game.components.inventory.InstantTooltipManager
- showPlantInfo(String, String) - Method in class com.csse3200.game.components.plants.PlantInfoDisplayComponent
-
Display the string of plant information in the window.
- SingleDropHandler - Class in com.csse3200.game.components.npc
-
Handles the dropping one item for one entity on a specified trigger and at a specified rate.
- SingleDropHandler(Supplier<Entity>, int, BiConsumer<String, EventListener0>, String, boolean) - Constructor for class com.csse3200.game.components.npc.SingleDropHandler
-
Constructor for SingleDropHandler
- SingleHitCallback - Class in com.csse3200.game.physics.raycast
-
Cast a ray against all colliders that match the layermask.
- SingleHitCallback() - Constructor for class com.csse3200.game.physics.raycast.SingleHitCallback
- skin - Static variable in class com.csse3200.game.ui.UIComponent
- SNOW - Enum constant in enum class com.csse3200.game.areas.terrain.TerrainTile.TerrainCategory
- SOLAR_SURGE - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- SolarSurgeEvent - Class in com.csse3200.game.areas.weather
-
Represents a heat wave event within the planet's weather system.
- SolarSurgeEvent(int, int, int, float) - Constructor for class com.csse3200.game.areas.weather.SolarSurgeEvent
-
Constructs a SolarSurgeEvent with a given countdown, duration, priority and severity.
- SortedIntMap<V> - Class in com.csse3200.game.utils
-
A map sorted by the value of key with O(1) iteration.
- SortedIntMap(int) - Constructor for class com.csse3200.game.utils.SortedIntMap
-
Create a sorted intmap with the specified capacity
- SoundFile - Interface in com.csse3200.game.services.sound
- soundFolderPath - Variable in class com.csse3200.game.entities.configs.plants.BasePlantConfig
- SoundService - Class in com.csse3200.game.services.sound
- SoundService() - Constructor for class com.csse3200.game.services.sound.SoundService
-
Instantiate a new SoundService
- SOWING_YOUR_FIRST_SEEDS_QUEST_NAME - Static variable in class com.csse3200.game.missions.quests.QuestFactory
- SPACE_DEBRIS_QUEST_NAME - Static variable in class com.csse3200.game.missions.quests.QuestFactory
- SPACE_SNAPPER_CLICK_LORE - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- SPACE_SNAPPER_DECAY_LORE - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- SPACE_SNAPPER_DESTROY_LORE - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- SPACE_SNAPPER_NEARBY_LORE - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- SpaceDebrisQuest - Class in com.csse3200.game.missions.quests
-
SpaceDebrisQuest is an extension of ClearDebrisQuest that spawns new debris to be cleared
- SpaceDebrisQuest(String, Reward, int) - Constructor for class com.csse3200.game.missions.quests.SpaceDebrisQuest
-
A Quest where player is required to clear a certain amount of debris.
- SpaceGameArea - Class in com.csse3200.game.areas
-
SpaceGameArea is the area used for the initial game version
- SpaceGameArea(TerrainFactory) - Constructor for class com.csse3200.game.areas.SpaceGameArea
-
Initialise this ForestGameArea to use the provided TerrainFactory.
- spaceSnapper - Variable in class com.csse3200.game.entities.configs.plants.PlantConfigs
- SpawnCommand - Class in com.csse3200.game.ui.terminal.commands
- SpawnCommand() - Constructor for class com.csse3200.game.ui.terminal.commands.SpawnCommand
- spawnCutscene() - Method in class com.csse3200.game.missions.cutscenes.Cutscene
-
Creates the whole cutscene - to call other methods below this method
- spawnCutsceneDisplay() - Method in class com.csse3200.game.components.cutscenes.CutsceneDisplay
-
Spawns all the UI elements for the cutscene display
- spawnEntities() - Method in class com.csse3200.game.entities.EntitySpawner
-
Spawns entities onto the GameArea
- spawnEntity(Entity) - Method in class com.csse3200.game.areas.GameArea
-
Spawn entity at its current position
- spawnEntityAt(Entity, GridPoint2, boolean, boolean) - Method in class com.csse3200.game.areas.GameArea
-
Spawn entity on a given tile.
- spawnNow() - Method in class com.csse3200.game.entities.EntitiesSpawner
-
Spawns entities from all spawners without considering triggers
- spawnPlayerHighlight() - Method in class com.csse3200.game.areas.SpaceGameArea
-
Spawns the player highlight entity Is the yellow square that highlights the tile the player is hovering over
- spliterator() - Method in class com.csse3200.game.utils.SortedIntMap
- SPOOKY_FACTOR - Static variable in class com.csse3200.game.entities.configs.GhostKingConfig
- sprinkle() - Method in class com.csse3200.game.components.placeables.SprinklerComponent
-
Waters plants to the ideal amount within the aoe.
- SPRINKLER - Enum constant in enum class com.csse3200.game.entities.EntityType
- SPRINKLER - Enum constant in enum class com.csse3200.game.entities.HungerEntityType
- SprinklerComponent - Class in com.csse3200.game.components.placeables
- SprinklerComponent() - Constructor for class com.csse3200.game.components.placeables.SprinklerComponent
- SPRINKLERS - Enum constant in enum class com.csse3200.game.components.placeables.PlaceableCategory
- SPROUT - Enum constant in enum class com.csse3200.game.components.plants.PlantComponent.GrowthStage
- sproutThreshold - Variable in class com.csse3200.game.entities.configs.plants.BasePlantConfig
- stage - Variable in class com.csse3200.game.components.inventory.InstantTooltipManager
- stage - Variable in class com.csse3200.game.ui.UIComponent
- start() - Method in class com.csse3200.game.ai.tasks.DefaultTask
- start() - Method in interface com.csse3200.game.ai.tasks.Task
-
Start running this task.
- start() - Method in class com.csse3200.game.components.tasks.ChaseTask
-
Starts the chase task by initializing the movement task and triggering the "chaseStart" event.
- start() - Method in class com.csse3200.game.components.tasks.FollowTask
-
Starts the follow task by initializing the movement task and triggering the "followStart" event.
- start() - Method in class com.csse3200.game.components.tasks.MovementTask
-
Starts the movement task by setting up the movement parameters and triggering the start event.
- start() - Method in class com.csse3200.game.components.tasks.MoveToPlantTask
-
Starts the move to plant task by initialising the target plant and triggering the movement task.
- start() - Method in class com.csse3200.game.components.tasks.MoveToShipTask
-
Starts the move to ship task by initialising the target ship and triggering the movement task.
- start() - Method in class com.csse3200.game.components.tasks.PanicTask
-
Starts the panic task by initializing the movement task and triggering the "runStart" event.
- start() - Method in class com.csse3200.game.components.tasks.RunAwayTask
-
Starts the chase task by initializing the movement task and triggering the run events.
- start() - Method in class com.csse3200.game.components.tasks.WaitTask
-
Start waiting from now until duration has passed.
- start() - Method in class com.csse3200.game.components.tasks.WanderTask
-
Starts the wander task by initializing movement and waiting tasks, and triggering relevant events.
- START_EVENT - Static variable in class com.csse3200.game.services.ParticleService
- startAnimation(String) - Method in class com.csse3200.game.rendering.AnimationRenderComponent
-
Start playback of an animation.
- startAttack() - Method in class com.csse3200.game.components.combat.attackpatterns.ShipEaterAttackPattern
-
Initiates an attack loop.
- startAttack(Entity) - Method in class com.csse3200.game.components.combat.attackpatterns.AttackPatternComponent
-
Initiates an attack loop.
- startEffect() - Method in class com.csse3200.game.areas.weather.AcidShowerEvent
- startEffect() - Method in class com.csse3200.game.areas.weather.BlizzardEvent
- startEffect() - Method in class com.csse3200.game.areas.weather.RainStormEvent
- startEffect() - Method in class com.csse3200.game.areas.weather.SolarSurgeEvent
- startEffect() - Method in class com.csse3200.game.areas.weather.WeatherEvent
-
Starts the visual effect for the weather event
- startEffect(ParticleService.ParticleEffectType) - Method in class com.csse3200.game.components.ParticleEffectComponent
-
Starts a
ParticleEffect
on an entity, enabling this component to control it throughout its lifecycle - startEffect(ParticleService.ParticleEffectType) - Method in class com.csse3200.game.services.ParticleService
-
Starts a particle effect, creating an effect wrapper and adding it to the queue
- startEffect(String) - Method in class com.csse3200.game.components.npc.AnimalEffectsController
-
Starts a specific animation effect for the animal entity based on the given trigger.
- startEffectAtPosition(ParticleService.ParticleEffectType, Vector2) - Method in class com.csse3200.game.services.ParticleService
-
Starts rendering a
ParticleEffectPool.PooledEffect
at a givenVector2
position - startPeriodicSpawning() - Method in class com.csse3200.game.entities.EntitiesSpawner
-
Start periodic spawning for all spawners
- startSpawner() - Method in class com.csse3200.game.entities.EntitySpawner
-
Begin periodic spawning
- startSpawning() - Method in class com.csse3200.game.entities.FireflySpawner
-
Starts to spawn the fireflies Spawns MAX_FIREFLIES fireflies
- startTimedEffect(String, float) - Method in class com.csse3200.game.components.npc.AnimalEffectsController
-
Starts a timed animation effect for the animal entity based on the given trigger and duration.
- startTimer() - Method in class com.csse3200.game.utils.DiscordActivity
-
Start timer for discord activity
- StatReward - Class in com.csse3200.game.missions.rewards
-
A StatReward that when called collect() on adds the specified health to the current player's health stat.
- StatReward(int) - Constructor for class com.csse3200.game.missions.rewards.StatReward
-
Creates a new StatReward with a specified value to modify health by.
- status - Variable in class com.csse3200.game.ai.tasks.DefaultTask
- stop() - Method in class com.csse3200.game.ai.tasks.DefaultTask
- stop() - Method in interface com.csse3200.game.ai.tasks.Task
-
Stop the task immediately.
- stop() - Method in class com.csse3200.game.ai.tasks.TimedTask
-
Stops task and sets back to inactive priority.
- stop() - Method in class com.csse3200.game.components.tasks.ChaseTask
-
Stops the chase task and the associated movement task.
- stop() - Method in class com.csse3200.game.components.tasks.FollowTask
-
Stops the follow task and the associated movement task, and triggers the "followStop" event.
- stop() - Method in class com.csse3200.game.components.tasks.MovementTask
-
Stops the movement task and resets movement-related parameters.
- stop() - Method in class com.csse3200.game.components.tasks.MoveToPlantTask
-
Stops the move to plant task and the associated movement task.
- stop() - Method in class com.csse3200.game.components.tasks.MoveToShipTask
-
Stops the move to ship task and the associated movement task.
- stop() - Method in class com.csse3200.game.components.tasks.PanicTask
-
Stops the panic task and the associated movement task.
- stop() - Method in class com.csse3200.game.components.tasks.RunAwayTask
-
Stops the RunAwayTask and the associated movement task, and triggers the "runAwayStop" event.
- stop(SoundFile) - Method in class com.csse3200.game.services.sound.BackgroundMusicService
-
Attempts to stop playback for a given sound file.
- stop(SoundFile) - Method in class com.csse3200.game.services.sound.EffectsMusicService
- stop(SoundFile) - Method in interface com.csse3200.game.services.sound.MusicService
-
Stop a SoundFile that is currently playing.
- stop(SoundFile, long) - Method in class com.csse3200.game.services.sound.EffectsMusicService
-
Functionally similar to
stop(1), but only stops a single instance of a Sound from playing
- STOP_EVENT - Static variable in class com.csse3200.game.services.ParticleService
- stopAllEffects() - Method in class com.csse3200.game.components.ParticleEffectComponent
-
Stops all of the particle effects for this entity, freeing the effects back to their
ParticleEffectPool
s and removing them from theList
of effects being tracked. - stopAnimation() - Method in class com.csse3200.game.rendering.AnimationRenderComponent
-
Stop the currently running animation.
- stopEffect() - Method in class com.csse3200.game.areas.weather.AcidShowerEvent
- stopEffect() - Method in class com.csse3200.game.areas.weather.BlizzardEvent
- stopEffect() - Method in class com.csse3200.game.areas.weather.RainStormEvent
- stopEffect() - Method in class com.csse3200.game.areas.weather.SolarSurgeEvent
- stopEffect() - Method in class com.csse3200.game.areas.weather.WeatherEvent
-
Stops the visual effect for the weather event
- stopEffect(ParticleService.ParticleEffectType) - Method in class com.csse3200.game.components.ParticleEffectComponent
-
Stops rendering an effect on the entity, freeing the effect and giving it back to the
ParticleEffectPool
. - stopEffect(ParticleService.ParticleEffectType) - Method in class com.csse3200.game.services.ParticleService
-
Stops a particle effect, freeing the effect and removing it from the queue
- stopEffectCategory(String) - Method in class com.csse3200.game.components.ParticleEffectComponent
-
Stops all particle effects by category in the entity's list of effects
- stopEffectCategory(String) - Method in class com.csse3200.game.services.ParticleService
-
Stops all particle effects by category in the render queue
- stopMoving() - Method in class com.csse3200.game.components.player.PlayerActions
-
Stops the player from moving.
- stopMoving() - Method in class com.csse3200.game.components.tractor.TractorActions
-
Stops the player from walking.
- stopRunning() - Method in class com.csse3200.game.components.player.PlayerActions
-
Removes the velocity increase of the player.
- stopTimer() - Method in class com.csse3200.game.utils.DiscordActivity
-
Stop timer for discord activity
- STORM - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- STRATOSPHERIC_SENTINEL_QUEST_NAME - Static variable in class com.csse3200.game.missions.quests.QuestFactory
- StringDecorator<T> - Class in com.csse3200.game.utils
-
Apply a custom toString() for a class without overriding the class, using a decorator.
- StringDecorator(T, Function<T, String>) - Constructor for class com.csse3200.game.utils.StringDecorator
-
Create a string-decorated object.
- StunComponent - Class in com.csse3200.game.components.combat
-
A component that manages the stun status of an entity in a game.
- StunComponent() - Constructor for class com.csse3200.game.components.combat.StunComponent
- SUCCESS_EFFECT - Enum constant in enum class com.csse3200.game.services.ParticleService.ParticleEffectType
- SURGE - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- swapPosition(int, int) - Method in class com.csse3200.game.components.player.InventoryComponent
-
Function to get the exchange the position of two specific item in Inventory.
- SWITCH_TOOLBAR - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- switchTab() - Method in class com.csse3200.game.components.player.InventoryComponent
-
Switches the 10 item slots in the inventory where the next item is automatically added.
- SWORD - Enum constant in enum class com.csse3200.game.components.items.ItemType
T
- TamableComponent - Class in com.csse3200.game.components.npc
-
This the class for Tameable Component.
- TamableComponent(Entity, int, double, String) - Constructor for class com.csse3200.game.components.npc.TamableComponent
-
Constructor for the Tameable Component class
- TameAnimalsQuest - Class in com.csse3200.game.missions.quests
-
A
Quest
where the player must tame animals - TameAnimalsQuest(String, Reward, int) - Constructor for class com.csse3200.game.missions.quests.TameAnimalsQuest
-
Creates a
TameAnimalsQuest
- TameAnimalsQuest(String, Reward, int, int) - Constructor for class com.csse3200.game.missions.quests.TameAnimalsQuest
-
Creates a
TameAnimalsQuest
with an expiry - TAMED_ANIMAL - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- TamedFollowTask - Class in com.csse3200.game.components.tasks
- TamedFollowTask(Entity, int, float, float, float, String, Vector2) - Constructor for class com.csse3200.game.components.tasks.TamedFollowTask
- tamingProbability - Variable in class com.csse3200.game.entities.configs.BaseAnimalConfig
- tamingThreshold - Variable in class com.csse3200.game.entities.configs.BaseAnimalConfig
- tap(float, float, int, int) - Method in class com.csse3200.game.input.InputComponent
- tap(float, float, int, int) - Method in class com.csse3200.game.input.InputService
-
Iterates over registered input handlers in descending priority and stops as soon as the input is processed
- Task - Interface in com.csse3200.game.ai.tasks
-
An AI task can be started and stopped at any time.
- Task.Status - Enum Class in com.csse3200.game.ai.tasks
- TaskRunner - Interface in com.csse3200.game.ai.tasks
- TELEPORT - Enum constant in enum class com.csse3200.game.components.ship.ShipProgressComponent.Feature
- TELEPORT_DEVICE - Enum constant in enum class com.csse3200.game.components.items.ItemType
- TELEPORT_EFFECT - Enum constant in enum class com.csse3200.game.services.ParticleService.ParticleEffectType
- Terminal - Class in com.csse3200.game.ui.terminal
-
State tracker for a debug terminal.
- Terminal() - Constructor for class com.csse3200.game.ui.terminal.Terminal
- Terminal(Map<String, Command>) - Constructor for class com.csse3200.game.ui.terminal.Terminal
- TerminalDisplay - Class in com.csse3200.game.ui.terminal
-
A ui component for displaying the debug terminal.
- TerminalDisplay() - Constructor for class com.csse3200.game.ui.terminal.TerminalDisplay
- terrain - Variable in class com.csse3200.game.areas.GameArea
- TerrainComponent - Class in com.csse3200.game.areas.terrain
-
Render a tiled terrain for a given tiled map and orientation.
- TerrainComponent(OrthographicCamera, TiledMap, TiledMapRenderer, TerrainComponent.TerrainOrientation, float) - Constructor for class com.csse3200.game.areas.terrain.TerrainComponent
- TerrainComponent.TerrainOrientation - Enum Class in com.csse3200.game.areas.terrain
- TerrainCropTileFactory - Class in com.csse3200.game.areas.terrain
- TerrainFactory - Class in com.csse3200.game.areas.terrain
-
Factory for creating game terrains.
- TerrainFactory(CameraComponent) - Constructor for class com.csse3200.game.areas.terrain.TerrainFactory
-
Create a terrain factory with Orthogonal orientation.
- TerrainFactory(CameraComponent, TerrainComponent.TerrainOrientation) - Constructor for class com.csse3200.game.areas.terrain.TerrainFactory
-
Create a terrain factory
- TerrainTile - Class in com.csse3200.game.areas.terrain
-
Custom terrain tile implementation for tiled map terrain that stores additional properties we may want to have in the game, such as audio, walking speed, traversability by AI, etc.
- TerrainTile(TextureRegion, TerrainTile.TerrainCategory) - Constructor for class com.csse3200.game.areas.terrain.TerrainTile
- TerrainTile.TerrainCategory - Enum Class in com.csse3200.game.areas.terrain
- TEST_TRACK_1 - Enum constant in enum class com.csse3200.game.services.sound.BackgroundSoundFile
- TEST_TRACK_2 - Enum constant in enum class com.csse3200.game.services.sound.BackgroundSoundFile
- TestGameArea - Class in com.csse3200.game.areas
- TestGameArea() - Constructor for class com.csse3200.game.areas.TestGameArea
- TextureRenderComponent - Class in com.csse3200.game.rendering
-
Render a static texture.
- TextureRenderComponent(Texture) - Constructor for class com.csse3200.game.rendering.TextureRenderComponent
- TextureRenderComponent(String) - Constructor for class com.csse3200.game.rendering.TextureRenderComponent
- THE_THUNDERLORDS_BLESSING_QUEST_NAME - Static variable in class com.csse3200.game.missions.quests.QuestFactory
- TILE - Enum constant in enum class com.csse3200.game.entities.EntityType
- TILE - Enum constant in enum class com.csse3200.game.entities.HungerEntityType
- tileCoordinatesToVector(GridPoint2) - Method in class com.csse3200.game.areas.terrain.GameMap
-
Converts a GridPoint2 instance into a Vector2 instance representing the same TerrainTile position on the map layer.
- tileToWorldPosition(int, int) - Method in class com.csse3200.game.areas.terrain.TerrainComponent
- tileToWorldPosition(GridPoint2) - Method in class com.csse3200.game.areas.terrain.TerrainComponent
- TILLING - Enum constant in enum class com.csse3200.game.components.tractor.TractorMode
- TimedTask - Class in com.csse3200.game.ai.tasks
-
A task that runs for a set amount of time (depending on priority).
- TimedTask(String, float, int) - Constructor for class com.csse3200.game.ai.tasks.TimedTask
-
Constructs a TimedTask with specified parameters.
- TimeService - Class in com.csse3200.game.services
- TimeService() - Constructor for class com.csse3200.game.services.TimeService
-
Constructs a basic TimeService instance to track the in-game time
- timeSource - Variable in class com.csse3200.game.rendering.AnimationRenderComponent
- ToggleableMap - Class in com.csse3200.game.services
- ToggleableMap() - Constructor for class com.csse3200.game.services.ToggleableMap
- toggleIsOpen() - Method in class com.csse3200.game.ui.terminal.Terminal
-
Toggles between the terminal being open and closed.
- toggleLight() - Method in class com.csse3200.game.components.AuraLightComponent
-
Toggles the light between an on and off state
- toggleLight() - Method in class com.csse3200.game.components.ConeLightComponent
-
Toggles the light between an on and off state
- toggleLight() - Method in class com.csse3200.game.components.ship.ShipLightComponent
-
Toggles the light between an on and off state, if the feature is unlocked.
- toggleOpen() - Method in class com.csse3200.game.components.inventory.InventoryDisplay
-
Toggle the inventory open, and changes the window visibility
- toggleOpen() - Method in class com.csse3200.game.components.inventory.ToolbarDisplay
-
Toggle Toolbar to open state
- toggleOpen() - Method in class com.csse3200.game.components.items.CoordinatesDisplay
-
Opens and closes the UI.
- toggleOpen() - Method in class com.csse3200.game.components.questgiver.MissionDisplay
-
Toggles the visibility of the main mission ui.
- toggleOpen() - Method in class com.csse3200.game.components.ship.ShipDisplay
- toggleOpen(Boolean) - Method in class com.csse3200.game.services.ToggleableMap
-
Toggles the map open or closed and updates the display.
- togglePauseAnimation() - Method in class com.csse3200.game.rendering.AnimationRenderComponent
- togglePauseAnimations(boolean) - Method in class com.csse3200.game.entities.Entity
- ToolbarDisplay - Class in com.csse3200.game.components.inventory
-
Display the UI for the toolbar
- ToolbarDisplay() - Constructor for class com.csse3200.game.components.inventory.ToolbarDisplay
- TOP - Enum constant in enum class com.csse3200.game.physics.components.PhysicsComponent.AlignY
- toString() - Method in class com.csse3200.game.components.Component
- toString() - Method in class com.csse3200.game.components.inventory.ItemSlot
- toString() - Method in class com.csse3200.game.entities.Entity
- toString() - Method in record class com.csse3200.game.events.ScheduledEvent
-
Returns a string representation of this record class.
- toString() - Method in class com.csse3200.game.utils.StringDecorator
- TOUCH - Enum constant in enum class com.csse3200.game.input.InputFactory.InputType
- TouchAttackComponent - Class in com.csse3200.game.components.combat
-
When this entity touches a valid enemy's hitbox, deal damage to them and apply a knockback.
- TouchAttackComponent(short) - Constructor for class com.csse3200.game.components.combat.TouchAttackComponent
-
Create a component which attacks entities on collision, without knockback.
- TouchAttackComponent(short, float) - Constructor for class com.csse3200.game.components.combat.TouchAttackComponent
-
Create a component which attacks entities on collision, with knockback.
- TouchAttackComponent(short, float, float) - Constructor for class com.csse3200.game.components.combat.TouchAttackComponent
- touchDown(float, float, int, int) - Method in class com.csse3200.game.input.InputComponent
- touchDown(float, float, int, int) - Method in class com.csse3200.game.input.InputService
-
Iterates over registered input handlers in descending priority and stops as soon as the input is processed
- touchDown(int, int, int, int) - Method in class com.csse3200.game.components.player.TouchPlayerInputComponent
-
Triggers the player attack.
- touchDown(int, int, int, int) - Method in class com.csse3200.game.input.InputComponent
- touchDown(int, int, int, int) - Method in class com.csse3200.game.input.InputDecorator
- touchDown(int, int, int, int) - Method in class com.csse3200.game.input.InputService
-
Iterates over registered input handlers in descending priority and stops as soon as the input is processed
- touchDragged(int, int, int) - Method in class com.csse3200.game.input.InputComponent
- touchDragged(int, int, int) - Method in class com.csse3200.game.input.InputDecorator
- touchDragged(int, int, int) - Method in class com.csse3200.game.input.InputService
-
Iterates over registered input handlers in descending priority and stops as soon as the input is processed
- TouchInputFactory - Class in com.csse3200.game.input
- TouchInputFactory() - Constructor for class com.csse3200.game.input.TouchInputFactory
- TouchPlayerInputComponent - Class in com.csse3200.game.components.player
-
Input handler for the player for keyboard and touch (mouse) input.
- TouchPlayerInputComponent() - Constructor for class com.csse3200.game.components.player.TouchPlayerInputComponent
- TouchTerminalInputComponent - Class in com.csse3200.game.ui.terminal
-
Input handler for the debug terminal for keyboard and touch (mouse) input.
- TouchTerminalInputComponent() - Constructor for class com.csse3200.game.ui.terminal.TouchTerminalInputComponent
- TouchTerminalInputComponent(Terminal) - Constructor for class com.csse3200.game.ui.terminal.TouchTerminalInputComponent
- TouchTractorInputComponent - Class in com.csse3200.game.components.tractor
-
Almost certain this class does nothing but is needs as when you make a InputController it makes both May need to be updated later to better match the Keyboard verison.
- TouchTractorInputComponent() - Constructor for class com.csse3200.game.components.tractor.TouchTractorInputComponent
-
Constructor for the tractor, sets same priority as the player's input constructor
- touchUp(int, int, int, int) - Method in class com.csse3200.game.components.player.KeyboardPlayerInputComponent
- touchUp(int, int, int, int) - Method in class com.csse3200.game.input.InputComponent
- touchUp(int, int, int, int) - Method in class com.csse3200.game.input.InputDecorator
- touchUp(int, int, int, int) - Method in class com.csse3200.game.input.InputService
-
Iterates over registered input handlers in descending priority and stops as soon as the input is processed
- TRACTOR - Enum constant in enum class com.csse3200.game.entities.EntityType
- TRACTOR - Enum constant in enum class com.csse3200.game.entities.HungerEntityType
- TRACTOR_GO_BRRRRRR - Static variable in class com.csse3200.game.missions.quests.QuestFactory
- TRACTOR_HONK - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- TRACTOR_START_UP - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- TractorActions - Class in com.csse3200.game.components.tractor
- TractorActions() - Constructor for class com.csse3200.game.components.tractor.TractorActions
- TractorAnimationController - Class in com.csse3200.game.components.tractor
-
This way of controlling the animations was adopted from PlayerActions and PlayerAnimationController which was written by Team 2
- TractorAnimationController() - Constructor for class com.csse3200.game.components.tractor.TractorAnimationController
- TractorFactory - Class in com.csse3200.game.entities.factories
- TractorFactory() - Constructor for class com.csse3200.game.entities.factories.TractorFactory
- TractorMode - Enum Class in com.csse3200.game.components.tractor
- trigger(String) - Method in class com.csse3200.game.events.EventHandler
-
Trigger an event with no arguments
- trigger(String, T) - Method in class com.csse3200.game.events.EventHandler
-
Trigger an event with one argument
- trigger(String, T0, T1) - Method in class com.csse3200.game.events.EventHandler
-
Trigger an event with one argument
- trigger(String, T0, T1, T2) - Method in class com.csse3200.game.events.EventHandler
-
Trigger an event with one argument
- triggerActivePriority() - Method in class com.csse3200.game.ai.tasks.TimedTask
-
Sets the priority of the task to the active priority when triggered by an event.
- triggerActivePriority() - Method in class com.csse3200.game.components.tasks.PanicTask
- triggerEarlyUpdate() - Method in class com.csse3200.game.components.Component
-
Used to trigger the component to early-update itself.
- TriggerHostilesReward - Class in com.csse3200.game.missions.rewards
-
A
Reward
for triggering hostiles into the game - TriggerHostilesReward(List<Entity>) - Constructor for class com.csse3200.game.missions.rewards.TriggerHostilesReward
-
Creates a
TriggerHostilesReward
- triggerHotKeySelection(int) - Method in class com.csse3200.game.components.player.KeyboardPlayerInputComponent
-
Sets the players current held item to that in the provided index of the inventory
- triggerSwitchToolbar() - Method in class com.csse3200.game.components.player.KeyboardPlayerInputComponent
- triggerUpdate() - Method in class com.csse3200.game.components.Component
-
Used to trigger the component to update itself.
- TriggerWeatherReward - Class in com.csse3200.game.missions.rewards
-
TriggerWeatherReward is a Reward that when collected will add the provided WeatherEvents to the ClimateController.
- TriggerWeatherReward(List<WeatherEvent>) - Constructor for class com.csse3200.game.missions.rewards.TriggerWeatherReward
-
A TriggerWeatherReward with a list of WeatherEvent objects.
- turnOff() - Method in class com.csse3200.game.components.placeables.LightController
- turnOn() - Method in class com.csse3200.game.components.placeables.LightController
- type - Variable in class com.csse3200.game.entities.configs.plants.BasePlantConfig
U
- UI - Static variable in class com.csse3200.game.input.InputLayer
- UIComponent - Class in com.csse3200.game.ui
-
A generic component for rendering onto the ui.
- UIComponent() - Constructor for class com.csse3200.game.ui.UIComponent
- uiScale - Variable in class com.csse3200.game.files.UserSettings.Settings
-
ui Scale.
- UIService - Class in com.csse3200.game.ui
- UIService() - Constructor for class com.csse3200.game.ui.UIService
- UNFREEZE - Enum constant in enum class com.csse3200.game.components.player.PlayerActions.events
- unloadAssets(String[]) - Method in class com.csse3200.game.services.ResourceService
-
Disposes of assets and all of their dependencies from the resource manager
- unlockLevel - Variable in enum class com.csse3200.game.components.ship.ShipProgressComponent.Feature
- unMute() - Method in class com.csse3200.game.components.player.PlayerHighlightComponent
-
Unmutes the player highlight (highlight ON)
- unPause() - Method in class com.csse3200.game.services.sound.BackgroundMusicService
-
Unpauses current music if it is paused.
- unpauseGame() - Method in class com.csse3200.game.entities.EntityService
- unPauseGame() - Method in class com.csse3200.game.services.ToggleableMap
-
Unpauses the game
- unregister(Entity) - Method in class com.csse3200.game.entities.EntityService
-
Unregister an entity with the entity service.
- unregister(InputComponent) - Method in class com.csse3200.game.input.InputService
-
Unregister an input handler
- unregister(Renderable) - Method in class com.csse3200.game.rendering.RenderService
-
Unregister a renderable.
- UP - Static variable in class com.csse3200.game.utils.DirectionUtils
- UP - Static variable in class com.csse3200.game.utils.math.Vector2Utils
- update() - Method in class com.csse3200.game.ai.tasks.AITaskComponent
-
On update, run the current highest priority task.
- update() - Method in class com.csse3200.game.ai.tasks.DefaultTask
- update() - Method in interface com.csse3200.game.ai.tasks.Task
-
Run one frame of the task.
- update() - Method in class com.csse3200.game.ai.tasks.TimedTask
-
Increment running time every update.
- update() - Method in class com.csse3200.game.areas.terrain.CropTileComponent
-
Decreases water content in the tile by a constant amount.
- update() - Method in class com.csse3200.game.components.AuraLightComponent
-
Called every frame draw to ensure that the position of the light is the same as the entity
- update() - Method in class com.csse3200.game.components.CameraComponent
-
Updates the camera's position based on the tracked entity's position.
- update() - Method in class com.csse3200.game.components.combat.attackpatterns.ShipEaterAttackPattern
- update() - Method in class com.csse3200.game.components.combat.ProjectileComponent
-
Updates the projectile's behavior, destroying it once its impact animation is finished.
- update() - Method in class com.csse3200.game.components.Component
-
Called once per frame of the game, and should be used for most component logic.
- update() - Method in class com.csse3200.game.components.ConeLightComponent
-
Called every frame draw to ensure that the position of the light is the same as the entity
- update() - Method in class com.csse3200.game.components.controlsmenu.ControlsMenuDisplay
- update() - Method in class com.csse3200.game.components.endcredits.EndCreditsDisplay
- update() - Method in class com.csse3200.game.components.gamearea.GameAreaDisplay
- update() - Method in class com.csse3200.game.components.intro.IntroDisplay
- update() - Method in class com.csse3200.game.components.losescreen.LoseScreenDisplay
- update() - Method in class com.csse3200.game.components.maingame.mainmenu.MainMenuDisplay
- update() - Method in class com.csse3200.game.components.npc.FireflyScareComponent
- update() - Method in class com.csse3200.game.components.npc.HostileAnimationController
-
Trigger animation when active animation is finished
- update() - Method in class com.csse3200.game.components.npc.ShipEaterAnimationController
- update() - Method in class com.csse3200.game.components.placeables.DialogueComponent
- update() - Method in class com.csse3200.game.components.placeables.LightController
- update() - Method in class com.csse3200.game.components.plants.PlantInfoDisplayComponent
- update() - Method in class com.csse3200.game.components.plants.PlantMouseHoverComponent
-
Called once per frame of the game, and should be used for most component logic.
- update() - Method in class com.csse3200.game.components.player.OpenPauseComponent
- update() - Method in class com.csse3200.game.components.player.PlayerActions
- update() - Method in class com.csse3200.game.components.player.PlayerAnimationController
- update() - Method in class com.csse3200.game.components.player.PlayerHighlightComponent
-
Updates player highlight
- update() - Method in class com.csse3200.game.components.questgiver.MissionDisplay
- update() - Method in class com.csse3200.game.components.settingsmenu.SettingsMenuDisplay
- update() - Method in class com.csse3200.game.components.tasks.ChaseTask
-
Updates the chase task by updating the movement task and restarting it if necessary.
- update() - Method in class com.csse3200.game.components.tasks.FollowTask
-
Updates the follow task by updating the movement task and stopping it if the entity is too close to the target.
- update() - Method in class com.csse3200.game.components.tasks.MovementTask
-
Updates the movement task by checking if the target has been reached and handling movement changes.
- update() - Method in class com.csse3200.game.components.tasks.MoveToPlantTask
-
Updates the move to plant task by checking if the current target is dead.
- update() - Method in class com.csse3200.game.components.tasks.MoveToShipTask
-
Stop moving to the ship if already there.
- update() - Method in class com.csse3200.game.components.tasks.PanicTask
-
Updates the panic task by checking if movement has finished, and if so, restarting the movement task.
- update() - Method in class com.csse3200.game.components.tasks.RunAwayTask
-
Updates the RunAwayTask by updating the movement task and restarting it if necessary.
- update() - Method in class com.csse3200.game.components.tasks.WaitTask
-
Update by checking if current time is endTime and handle task finish
- update() - Method in class com.csse3200.game.components.tasks.WanderTask
-
Updates the wander task by handling task switching based on the current task's status.
- update() - Method in class com.csse3200.game.components.tractor.TractorActions
- update() - Method in class com.csse3200.game.components.winscreen.WinScreenDisplay
- update() - Method in class com.csse3200.game.entities.Entity
-
Perform an update on all components.
- update() - Method in class com.csse3200.game.entities.EntityIndicator
-
Updates the indicator postion on the UI
- update() - Method in class com.csse3200.game.entities.EntityService
-
Update all registered entities.
- update() - Method in class com.csse3200.game.events.EventHandler
-
Update the event handler, processing and triggering scheduled events that have reached their scheduled execution time.
- update() - Method in class com.csse3200.game.physics.components.PhysicsMovementComponent
- update() - Method in class com.csse3200.game.physics.PhysicsEngine
- update() - Method in class com.csse3200.game.rendering.BlinkComponent
-
Updates the entity's blinking effect over time, interpolating color opacity.
- update() - Method in class com.csse3200.game.services.PlanetOxygenService
-
Perform the update on the oxygen present by applying the recalculated hour delta.
- update() - Method in class com.csse3200.game.services.TimeService
-
Tracks the in-game time stored in the time service.
- UPDATE_INVENTORY - Static variable in class com.csse3200.game.components.player.InventoryComponent
-
String representing the event that the inventory has been updated
- updateClearInfo() - Method in class com.csse3200.game.services.plants.PlantInfoService
-
Trigger the 'clearInfo' event to update the plant info ui.
- updateClimate() - Method in class com.csse3200.game.areas.weather.ClimateController
-
Updates the values of the game's climate based on current weather events.
- updateDiscordStatus(String) - Method in class com.csse3200.game.utils.DiscordActivity
-
Update discord status message
- updateDisplay() - Method in class com.csse3200.game.services.GameTimeDisplay
-
Updates the display to show the current game time and transition effects.
- updateDisplay() - Method in class com.csse3200.game.services.OxygenDisplay
-
Updates the display, showing the oxygen bar in the top of the main game screen.
- updateDisplay() - Method in class com.csse3200.game.services.ProgressBar
-
Updates the display dependent on what day it is.
- updateDisplay(int) - Method in class com.csse3200.game.services.HungerBar
-
Updates the display, showing the hunger bar in the top of the main game screen.
- updateDisplays() - Method in class com.csse3200.game.components.inventory.InventoryDisplayManager
-
Update the position of the displays
- updateExpiry() - Method in class com.csse3200.game.missions.quests.Quest
-
Decrements the duration to expiry of the quest by 1, if the
Quest
can expire. - updateGrowthStage() - Method in class com.csse3200.game.components.plants.PlantComponent
-
Update the growth stage of a plant based on its current growth level.
- updateIndicator() - Method in class com.csse3200.game.entities.EntityIndicator
-
Calculates where the entity should be positioned along the edge of the screen
- updateInfo() - Method in class com.csse3200.game.components.plants.PlantMouseHoverComponent
-
Used to update the information being shown in the Plant information widget.
- updateInventory() - Method in class com.csse3200.game.components.inventory.ToolbarDisplay
-
Updates the player's inventory toolbar on the ui.
- updateLargeImage(String) - Method in class com.csse3200.game.utils.DiscordActivity
-
Update discord activity large image
- updateMaxHealth() - Method in class com.csse3200.game.components.plants.PlantComponent
-
Update the maximum health of the plant based on its current growth stage.
- updatePlayerHealthUI(int) - Method in class com.csse3200.game.components.player.PlayerStatsDisplay
-
Updates the player's health on the ui.
- updatePlayerHealthUI(int) - Method in class com.csse3200.game.services.HealthDisplay
-
Updates the display, showing the health bar in the top of the main game screen.
- updatePosition() - Method in class com.csse3200.game.components.player.PlayerHighlightComponent
-
Updates the position of the player highlight to the current player cursor position Handles translating mouse pos to world pos And "locking" it to the closest tile Indicates which tile the player is currently going to act on
- updateProgressBar(String) - Method in class com.csse3200.game.services.ProgressBar
-
Updates which array the images are pulled from based on the progress of the quests
- updateSelected(boolean) - Method in class com.csse3200.game.components.inventory.ItemFrame
- updateSelected(int) - Method in class com.csse3200.game.components.inventory.InventoryDisplay
-
Updates displayed number at top of inventory to represent what slot is selected
- updateSmallImage(String) - Method in class com.csse3200.game.utils.DiscordActivity
-
Update discord activity small image
- updateState() - Method in class com.csse3200.game.missions.achievements.CollectItemsAchievement
-
Updating the state of the CollectItemsAchievement.
- updateState(String) - Method in class com.csse3200.game.missions.achievements.PlantCropsAchievement
-
Increments the number of plants the player has planted.
- updateTexture() - Method in class com.csse3200.game.components.plants.PlantComponent
-
Update the texture of the plant based on its current growth stage.
- updateTime() - Method in class com.csse3200.game.areas.weather.WeatherEvent
-
Updates the duration or countdown timer for the weather event.
- use(Entity, Vector2) - Method in class com.csse3200.game.components.items.ItemActions
-
Uses the item at the given position
- USE - Enum constant in enum class com.csse3200.game.components.player.PlayerActions.events
- UserSettings - Class in com.csse3200.game.files
-
Reading, Writing, and applying user settings in the game.
- UserSettings.DisplaySettings - Class in com.csse3200.game.files
-
Stores chosen display settings.
- UserSettings.Settings - Class in com.csse3200.game.files
-
Stores game settings, can be serialised/deserialised.
V
- validSaveFile() - Method in class com.csse3200.game.services.SaveLoadService
-
Check to see if there is a valid save file stored if not return false
- validSaveFile(String) - Method in class com.csse3200.game.services.SaveLoadService
- valueOf(String) - Static method in enum class com.csse3200.game.ai.tasks.Task.Status
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.csse3200.game.areas.terrain.TerrainComponent.TerrainOrientation
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.csse3200.game.areas.terrain.TerrainTile.TerrainCategory
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.csse3200.game.components.items.ItemType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.csse3200.game.components.placeables.PlaceableCategory
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.csse3200.game.components.plants.PlantComponent.GrowthStage
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.csse3200.game.components.player.KeyboardPlayerInputComponent.MenuTypes
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.csse3200.game.components.player.PlayerActions.events
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.csse3200.game.components.player.PlayerAnimationController.events
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.csse3200.game.components.ship.ShipProgressComponent.Feature
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.csse3200.game.components.tractor.TractorMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.csse3200.game.entities.EntityType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.csse3200.game.entities.factories.ShipFactory.events
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.csse3200.game.entities.HungerEntityType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.csse3200.game.files.FileLoader.Location
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.csse3200.game.GdxGame.ScreenType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.csse3200.game.input.InputFactory.InputType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.csse3200.game.missions.cutscenes.Cutscene.CutsceneType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.csse3200.game.missions.MissionManager.MissionEvent
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.csse3200.game.physics.components.PhysicsComponent.AlignX
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.csse3200.game.physics.components.PhysicsComponent.AlignY
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.csse3200.game.screens.MainGameScreen.ScreenType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.csse3200.game.services.ParticleService.ParticleEffectType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.csse3200.game.services.sound.BackgroundMusicType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.csse3200.game.services.sound.BackgroundSoundFile
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.csse3200.game.services.sound.EffectSoundFile
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.csse3200.game.ai.tasks.Task.Status
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.csse3200.game.areas.terrain.TerrainComponent.TerrainOrientation
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.csse3200.game.areas.terrain.TerrainTile.TerrainCategory
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.csse3200.game.components.items.ItemType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.csse3200.game.components.placeables.PlaceableCategory
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.csse3200.game.components.plants.PlantComponent.GrowthStage
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.csse3200.game.components.player.KeyboardPlayerInputComponent.MenuTypes
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.csse3200.game.components.player.PlayerActions.events
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.csse3200.game.components.player.PlayerAnimationController.events
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.csse3200.game.components.ship.ShipProgressComponent.Feature
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.csse3200.game.components.tractor.TractorMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.csse3200.game.entities.EntityType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.csse3200.game.entities.factories.ShipFactory.events
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.csse3200.game.entities.HungerEntityType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.csse3200.game.files.FileLoader.Location
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.csse3200.game.GdxGame.ScreenType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.csse3200.game.input.InputFactory.InputType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.csse3200.game.missions.cutscenes.Cutscene.CutsceneType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.csse3200.game.missions.MissionManager.MissionEvent
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.csse3200.game.physics.components.PhysicsComponent.AlignX
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.csse3200.game.physics.components.PhysicsComponent.AlignY
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.csse3200.game.screens.MainGameScreen.ScreenType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.csse3200.game.services.ParticleService.ParticleEffectType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.csse3200.game.services.sound.BackgroundMusicType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.csse3200.game.services.sound.BackgroundSoundFile
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.csse3200.game.services.sound.EffectSoundFile
-
Returns an array containing the constants of this enum class, in the order they are declared.
- Vector2Utils - Class in com.csse3200.game.utils.math
-
Contains additional utility constants and functions for common Vector2 operations.
- vectorToDirection(Vector2) - Static method in class com.csse3200.game.utils.DirectionUtils
- vectorToTileCoordinates(Vector2) - Method in class com.csse3200.game.areas.terrain.GameMap
-
Converts a Vector2 instance into a GridPoint2 instance representing the same TerrainTile position on the map layer.
- vsync - Variable in class com.csse3200.game.files.UserSettings.Settings
W
- WaitTask - Class in com.csse3200.game.components.tasks
-
Task that does nothing other than waiting for a given time.
- WaitTask(float) - Constructor for class com.csse3200.game.components.tasks.WaitTask
- WALK_PREFIX - Static variable in class com.csse3200.game.components.npc.AnimalAnimationController
-
Walk prefix to play walk animation
- WanderTask - Class in com.csse3200.game.components.tasks
-
Wander around by moving a random position within a range of the starting position.
- WanderTask(Vector2, float) - Constructor for class com.csse3200.game.components.tasks.WanderTask
- WATER_CROP - Enum constant in enum class com.csse3200.game.missions.MissionManager.MissionEvent
- WATER_REPEAT_QUEST - Static variable in class com.csse3200.game.missions.quests.QuestFactory
- WATERING_CAN - Enum constant in enum class com.csse3200.game.components.items.ItemType
- WATERING_CAN - Enum constant in enum class com.csse3200.game.services.sound.EffectSoundFile
- WateringCanLevelComponent - Class in com.csse3200.game.components.items
- WateringCanLevelComponent() - Constructor for class com.csse3200.game.components.items.WateringCanLevelComponent
-
Constructor that will set the watering can level values to default values - The max the watering can will be set to 50 - The current amount of water in the can will be 0
- WateringCanLevelComponent(float) - Constructor for class com.csse3200.game.components.items.WateringCanLevelComponent
-
Constructor with parameter to change the max level capacity The current ammount will still begin at 0
- WEATHER_EVENT - Static variable in class com.csse3200.game.services.ParticleService
- WeatherEvent - Class in com.csse3200.game.areas.weather
-
Represents a Weather Event like Acid Shower or Solar Surge.
- WeatherEvent(int, int, int, float) - Constructor for class com.csse3200.game.areas.weather.WeatherEvent
-
Constructs an
WeatherEvent
with a given duration, priority and countdown - width - Variable in class com.csse3200.game.files.UserSettings.DisplaySettings
- WIN - Enum constant in enum class com.csse3200.game.screens.MainGameScreen.ScreenType
- WinReward - Class in com.csse3200.game.missions.rewards
-
A
Reward
that will trigger the win screen when collected. - WinReward() - Constructor for class com.csse3200.game.missions.rewards.WinReward
- WinScreen - Class in com.csse3200.game.screens
-
The game screen for the winning scenario
- WinScreen(GdxGame) - Constructor for class com.csse3200.game.screens.WinScreen
- WINSCREEN - Enum constant in enum class com.csse3200.game.GdxGame.ScreenType
- WinScreenDisplay - Class in com.csse3200.game.components.winscreen
-
The display User Interface component for the winning screen
- WinScreenDisplay(GdxGame) - Constructor for class com.csse3200.game.components.winscreen.WinScreenDisplay
-
Creates a new WinScreenDisplay instance.
- WORLD_TILE_SIZE - Static variable in class com.csse3200.game.areas.terrain.TerrainFactory
-
The tile size constant used for each tile in the TiledMap class
- write(Json) - Method in class com.csse3200.game.areas.terrain.CropTileComponent
-
Writes in json summary of croptile state.
- write(Json) - Method in class com.csse3200.game.areas.terrain.ShipPartTileComponent
- write(Json) - Method in class com.csse3200.game.areas.weather.ClimateController
- write(Json) - Method in class com.csse3200.game.areas.weather.WeatherEvent
- write(Json) - Method in class com.csse3200.game.components.combat.CombatStatsComponent
- write(Json) - Method in class com.csse3200.game.components.Component
- write(Json) - Method in class com.csse3200.game.components.ConeLightComponent
-
Writes to the json in order to store the lights state
- write(Json) - Method in class com.csse3200.game.components.items.ClueComponent
- write(Json) - Method in class com.csse3200.game.components.items.WateringCanLevelComponent
- write(Json) - Method in class com.csse3200.game.components.npc.TamableComponent
-
Writes to the json boolean of tamed.
- write(Json) - Method in class com.csse3200.game.components.plants.PlantComponent
- write(Json) - Method in class com.csse3200.game.components.player.HungerComponent
- write(Json) - Method in class com.csse3200.game.components.player.InventoryComponent
-
Writes the InventoryComponent to a Json object.
- write(Json) - Method in class com.csse3200.game.components.ship.ShipAnimationController
-
Store the current animation of the ship in the passed-in json object.
- write(Json) - Method in class com.csse3200.game.components.ship.ShipDisplay
- write(Json) - Method in class com.csse3200.game.components.ship.ShipLightComponent
- write(Json) - Method in class com.csse3200.game.components.ship.ShipProgressComponent
-
Store the progress data on the ship in the passed-in json object.
- write(Json) - Method in class com.csse3200.game.components.ship.ShipTimeSkipComponent
- write(Json) - Method in class com.csse3200.game.components.tractor.TractorActions
-
Writes to the json in order to store the tractor's state, used to save the game
- write(Json) - Method in class com.csse3200.game.entities.Entity
-
Writes to the json info about entities.
- write(Json) - Method in class com.csse3200.game.missions.MissionManager
-
Writes the
MissionManager
to a Json object for saving - write(Json) - Method in class com.csse3200.game.missions.quests.Quest
- write(Json, Integer) - Method in class com.csse3200.game.missions.achievements.Achievement
-
Used to write the
Achievement
for saving. - writeClass(Object, String) - Static method in class com.csse3200.game.files.FileLoader
-
Write generic Java classes to a JSON file.
- writeClass(Object, String, FileLoader.Location) - Static method in class com.csse3200.game.files.FileLoader
-
Write generic Java classes to a JSON file.
- writeItem(Json) - Method in class com.csse3200.game.entities.Entity
-
Writes the item to the json file
Z
- ZERO - Static variable in class com.csse3200.game.utils.math.GridPoint2Utils
- zoom(float, float) - Method in class com.csse3200.game.input.InputComponent
- zoom(float, float) - Method in class com.csse3200.game.input.InputService
-
Iterates over registered input handlers in descending priority and stops as soon as the input is processed
- zoomScale - Variable in class com.csse3200.game.files.UserSettings.DisplaySettings
- zoomScale - Variable in class com.csse3200.game.files.UserSettings.Settings
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form