Package com.csse3200.game.services.sound
Enum Class EffectSoundFile
- All Implemented Interfaces:
SoundFile
,Serializable
,Comparable<EffectSoundFile>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionA filepath that is to be loaded into the sound system.static EffectSoundFile
Returns the enum constant of this class with the specified name.static EffectSoundFile[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TRACTOR_HONK
-
TRACTOR_START_UP
-
SHOVEL
-
HOE
-
SCYTHE
-
WATERING_CAN
-
FISHING_CAST
-
FISHING_CATCH
-
PLACE
-
GATE_INTERACT
-
IMPACT
-
ATTACK_MISS
-
ATTACK_HIT
-
GUN_ATTACK
-
INVENTORY_OPEN
-
ACID_BURN
-
BLIZZARD
-
LIGHTNING_STRIKE
-
SOLAR_SURGE
-
STORM
-
SURGE
-
HOTKEY_SELECT
-
SWITCH_TOOLBAR
-
DRAG_ITEM
-
DROP_ITEM
-
DELETE_ITEM
-
CHICKEN_FEED
-
COW_FEED
-
ASTROLOTL_FEED
-
TAMED_ANIMAL
-
COW_DEATH
-
OXYGEN_EAT_DEATH
-
DRAGONFLY_DEATH
-
DEATH_BATS
-
PLAYER_DEATH
-
GUN_RELOAD
-
PLAYER_DAMAGE
-
BAT_ATTACK
-
OXYGEN_ATTACK
-
DRAGONFLY_ATTACK_PLANT
-
DRAGONFLY_ATTACK_PLAYER
-
CHICKEN_DEATH
-
GOD_DID
-
SHIP_CRASH
-
SHIP_RATTLE
-
LEGO_BREAK
-
PLANT_CLICK
-
PLANT_DECAY
-
PLANT_DESTROY
-
PLANT_NEARBY
-
ALOE_VERA_CLICK_LORE
-
ALOE_VERA_DECAY_LORE
-
ALOE_VERA_DESTROY_LORE
-
ALOE_VERA_NEARBY_LORE
-
COSMIC_COB_CLICK_LORE
-
COSMIC_COB_DECAY_LORE
-
COSMIC_COB_DESTROY_LORE
-
COSMIC_COB_NEARBY_LORE
-
HAMMER_PLANT_CLICK_LORE
-
HAMMER_PLANT_DECAY_LORE
-
HAMMER_PLANT_DESTROY_LORE
-
HAMMER_PLANT_NEARBY_LORE
-
DEADLY_NIGHTSHADE_CLICK_LORE
-
DEADLY_NIGHTSHADE_DECAY_LORE
-
DEADLY_NIGHTSHADE_DESTROY_LORE
-
DEADLY_NIGHTSHADE_NEARBY_LORE
-
SPACE_SNAPPER_CLICK_LORE
-
SPACE_SNAPPER_DECAY_LORE
-
SPACE_SNAPPER_DESTROY_LORE
-
SPACE_SNAPPER_NEARBY_LORE
-
ATOMIC_ALGAE_CLICK_LORE
-
ATOMIC_ALGAE_DECAY_LORE
-
ATOMIC_ALGAE_DESTROY_LORE
-
ATOMIC_ALGAE_NEARBY_LORE
-
SHIP_CLUE_SOLVED
-
SHIP_INSTALL_PART
-
SHIP_FEATURE_UNLOCKED
-
SHIP_TELEPORT
-
SHIP_EATER_ATTACK
-
SHIP_EATER_HIDE
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getFilePath
Description copied from interface:SoundFile
A filepath that is to be loaded into the sound system. Every enum that implements the SoundFile interface must have a private filePath variable to store this property.- Specified by:
getFilePath
in interfaceSoundFile
- Returns:
- a String filepath
-