mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
- NetBeans settings loss related to expanding tabs is killing me :\
This commit is contained in:
@@ -408,18 +408,18 @@ public enum CMatchUI implements ICDoc, IMenuProvider {
|
|||||||
uiEvents.post(uiEvent);
|
uiEvents.post(uiEvent);
|
||||||
}
|
}
|
||||||
|
|
||||||
public class MatchUiEventVisitor implements IUiEventVisitor<Void> {
|
public class MatchUiEventVisitor implements IUiEventVisitor<Void> {
|
||||||
@Override
|
@Override
|
||||||
public Void visit(UiEventBlockerAssigned event) {
|
public Void visit(UiEventBlockerAssigned event) {
|
||||||
updateSingleCard(event.blocker);
|
updateSingleCard(event.blocker);
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Void visit(UiEventAttackerDeclared event) {
|
public Void visit(UiEventAttackerDeclared event) {
|
||||||
updateSingleCard(event.attacker);
|
updateSingleCard(event.attacker);
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Void visit(UiEventCardPhased event) {
|
public Void visit(UiEventCardPhased event) {
|
||||||
|
|||||||
@@ -36,44 +36,44 @@ package forge.sound;
|
|||||||
public enum SoundEffectType {
|
public enum SoundEffectType {
|
||||||
// Sounds must be listed in alphabetic order.
|
// Sounds must be listed in alphabetic order.
|
||||||
|
|
||||||
AddCounter("add_counter.wav", true),
|
AddCounter("add_counter.wav", true),
|
||||||
Artifact("artifact.wav", false),
|
Artifact("artifact.wav", false),
|
||||||
ArtifactCreature("artifact_creature.wav", false),
|
ArtifactCreature("artifact_creature.wav", false),
|
||||||
BlackLand("black_land.wav", false),
|
BlackLand("black_land.wav", false),
|
||||||
Block("block.wav", false),
|
Block("block.wav", false),
|
||||||
BlueLand("blue_land.wav", false),
|
BlueLand("blue_land.wav", false),
|
||||||
Creature("creature.wav", false),
|
Creature("creature.wav", false),
|
||||||
Damage("damage.wav", true),
|
Damage("damage.wav", true),
|
||||||
Destroy("destroy.wav", true),
|
Destroy("destroy.wav", true),
|
||||||
Discard("discard.wav", false),
|
Discard("discard.wav", false),
|
||||||
Draw("draw.wav", false),
|
Draw("draw.wav", false),
|
||||||
Enchantment("enchant.wav", false),
|
Enchantment("enchant.wav", false),
|
||||||
EndOfTurn("end_of_turn.wav", false),
|
EndOfTurn("end_of_turn.wav", false),
|
||||||
Equip("equip.wav", false),
|
Equip("equip.wav", false),
|
||||||
Exile("exile.wav", false),
|
Exile("exile.wav", false),
|
||||||
FlipCoin("flip_coin.wav", false),
|
FlipCoin("flip_coin.wav", false),
|
||||||
GreenLand("green_land.wav", false),
|
GreenLand("green_land.wav", false),
|
||||||
Instant("instant.wav", false),
|
Instant("instant.wav", false),
|
||||||
LifeGain("life_gain.wav", true),
|
LifeGain("life_gain.wav", true),
|
||||||
LifeLoss("life_loss.wav", true),
|
LifeLoss("life_loss.wav", true),
|
||||||
LoseDuel("lose_duel.wav", false),
|
LoseDuel("lose_duel.wav", false),
|
||||||
ManaBurn("mana_burn.wav", false),
|
ManaBurn("mana_burn.wav", false),
|
||||||
OtherLand("other_land.wav", false),
|
OtherLand("other_land.wav", false),
|
||||||
Phasing("phasing.wav", true),
|
Phasing("phasing.wav", true),
|
||||||
Planeswalker("planeswalker.wav", false),
|
Planeswalker("planeswalker.wav", false),
|
||||||
Poison("poison.wav", true),
|
Poison("poison.wav", true),
|
||||||
RedLand("red_land.wav", false),
|
RedLand("red_land.wav", false),
|
||||||
Regen("regeneration.wav", false),
|
Regen("regeneration.wav", false),
|
||||||
RemoveCounter("remove_counter.wav", true),
|
RemoveCounter("remove_counter.wav", true),
|
||||||
Sacrifice("sacrifice.wav", true),
|
Sacrifice("sacrifice.wav", true),
|
||||||
ScriptedEffect("", false), // Plays the effect defined by SVar:SoundEffect
|
ScriptedEffect("", false), // Plays the effect defined by SVar:SoundEffect
|
||||||
Shuffle("shuffle.wav", false),
|
Shuffle("shuffle.wav", false),
|
||||||
Sorcery("sorcery.wav", false),
|
Sorcery("sorcery.wav", false),
|
||||||
Tap("tap.wav", false),
|
Tap("tap.wav", false),
|
||||||
Token("token.wav", true),
|
Token("token.wav", true),
|
||||||
Untap("untap.wav", true),
|
Untap("untap.wav", true),
|
||||||
WhiteLand("white_land.wav", false),
|
WhiteLand("white_land.wav", false),
|
||||||
WinDuel("win_duel.wav", false);
|
WinDuel("win_duel.wav", false);
|
||||||
|
|
||||||
private final String resourceFileName;
|
private final String resourceFileName;
|
||||||
private final boolean isSync;
|
private final boolean isSync;
|
||||||
|
|||||||
Reference in New Issue
Block a user