mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
Fixing of tabs as required
This commit is contained in:
@@ -376,11 +376,11 @@ public class FControlGameEventHandler extends IGameEventVisitor.Base<Void> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Void visit(GameEventManaBurn event) {
|
public Void visit(GameEventManaBurn event) {
|
||||||
return processPlayer(event.player, livesUpdate);
|
return processPlayer(event.player, livesUpdate);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Void visit(final GameEventPlayerPoisoned event) {
|
public Void visit(final GameEventPlayerPoisoned event) {
|
||||||
return processPlayer(event.receiver, livesUpdate);
|
return processPlayer(event.receiver, livesUpdate);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -77,8 +77,8 @@ public class EventVisualizer extends IGameEventVisitor.Base<SoundEffectType> imp
|
|||||||
@Override
|
@Override
|
||||||
public SoundEffectType visit(final GameEventPlayerLivesChanged event) { return event.newLives < event.oldLives ? SoundEffectType.LifeLoss : SoundEffectType.LifeGain; }
|
public SoundEffectType visit(final GameEventPlayerLivesChanged event) { return event.newLives < event.oldLives ? SoundEffectType.LifeLoss : SoundEffectType.LifeGain; }
|
||||||
@Override
|
@Override
|
||||||
public SoundEffectType visit(final GameEventManaBurn event) { return SoundEffectType.ManaBurn; }
|
public SoundEffectType visit(final GameEventManaBurn event) { return SoundEffectType.ManaBurn; }
|
||||||
@Override
|
@Override
|
||||||
public SoundEffectType visit(final GameEventPlayerPoisoned event) { return SoundEffectType.Poison; }
|
public SoundEffectType visit(final GameEventPlayerPoisoned event) { return SoundEffectType.Poison; }
|
||||||
@Override
|
@Override
|
||||||
public SoundEffectType visit(final GameEventShuffle event) { return SoundEffectType.Shuffle; }
|
public SoundEffectType visit(final GameEventShuffle event) { return SoundEffectType.Shuffle; }
|
||||||
|
|||||||
Reference in New Issue
Block a user