mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 18:28:00 +00:00
- Sound System: Added the Instant and Sorcery sounds.
This commit is contained in:
@@ -50,8 +50,12 @@ public class SoundUtils {
|
|||||||
Sounds.Creature.play();
|
Sounds.Creature.play();
|
||||||
} else if (source.isArtifact()) {
|
} else if (source.isArtifact()) {
|
||||||
Sounds.Artifact.play();
|
Sounds.Artifact.play();
|
||||||
|
} else if (source.isInstant()) {
|
||||||
|
Sounds.Instant.play();
|
||||||
} else if (source.isPlaneswalker()) {
|
} else if (source.isPlaneswalker()) {
|
||||||
Sounds.Planeswalker.play();
|
Sounds.Planeswalker.play();
|
||||||
|
} else if (source.isSorcery()) {
|
||||||
|
Sounds.Sorcery.play();
|
||||||
} else if (source.isEnchantment()) {
|
} else if (source.isEnchantment()) {
|
||||||
Sounds.Enchantment.play();
|
Sounds.Enchantment.play();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -45,17 +45,20 @@ public enum Sounds {
|
|||||||
Damage("res/sound/damage.wav"), /* NOT IMPLEMENTED YET */
|
Damage("res/sound/damage.wav"), /* NOT IMPLEMENTED YET */
|
||||||
Discard("res/sound/discard.wav"), /* NOT IMPLEMENTED YET */
|
Discard("res/sound/discard.wav"), /* NOT IMPLEMENTED YET */
|
||||||
Draw("res/sound/draw.wav"),
|
Draw("res/sound/draw.wav"),
|
||||||
Enchant("res/sound/enchant.wav"), /* NOT IMPLEMENTED YET */
|
Enchantment("res/sound/enchant.wav"), /* NOT IMPLEMENTED YET */
|
||||||
EndOfTurn("res/sound/end_of_turn.wav"),
|
EndOfTurn("res/sound/end_of_turn.wav"),
|
||||||
FlipCoin("res/sound/flip_coin.wav"),
|
FlipCoin("res/sound/flip_coin.wav"),
|
||||||
GreenLand("res/sound/green_land.wav"),
|
GreenLand("res/sound/green_land.wav"),
|
||||||
|
Hit("res/sound/hit.wav"),
|
||||||
|
Instant("res/sound/instant.wav"),
|
||||||
LoseDuel("res/sound/lose_duel.wav"),
|
LoseDuel("res/sound/lose_duel.wav"),
|
||||||
OtherLand("res/sound/other_land.wav"),
|
OtherLand("res/sound/other_land.wav"),
|
||||||
Planeswalker("res/sound/planeswalker.wav"),
|
Planeswalker("res/sound/planeswalker.wav"),
|
||||||
Poison("res/sound/poison.wav"), /* NOT IMPLEMENTED YET */
|
Poison("res/sound/poison.wav"),
|
||||||
RedLand("res/sound/red_land.wav"),
|
RedLand("res/sound/red_land.wav"),
|
||||||
Regen("res/sound/regeneration.wav"), /* NOT IMPLEMENTED YET */
|
Regen("res/sound/regeneration.wav"), /* NOT IMPLEMENTED YET */
|
||||||
Sacrifice("res/sound/sacrifice.wav"), /* NOT IMPLEMENTED YET */
|
Sacrifice("res/sound/sacrifice.wav"), /* NOT IMPLEMENTED YET */
|
||||||
|
Sorcery("res/sound/sorcery.wav"),
|
||||||
Shuffle("res/sound/shuffle.wav"),
|
Shuffle("res/sound/shuffle.wav"),
|
||||||
Tap("res/sound/tap.wav"),
|
Tap("res/sound/tap.wav"),
|
||||||
Untap("res/sound/untap.wav"),
|
Untap("res/sound/untap.wav"),
|
||||||
|
|||||||
Reference in New Issue
Block a user