mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 10:18:01 +00:00
reflow the PhaseIndicator switch statement
Signed-off-by: Jamin W. Collins <jamin.collins@gmail.com>
This commit is contained in:
@@ -79,32 +79,32 @@ public class PhaseIndicator extends JPanel {
|
|||||||
//========== Custom class handling
|
//========== Custom class handling
|
||||||
public PhaseLabel getLabelFor(final PhaseType s) {
|
public PhaseLabel getLabelFor(final PhaseType s) {
|
||||||
switch (s) {
|
switch (s) {
|
||||||
case UPKEEP:
|
case UPKEEP:
|
||||||
return this.getLblUpkeep();
|
return this.getLblUpkeep();
|
||||||
case DRAW:
|
case DRAW:
|
||||||
return this.getLblDraw();
|
return this.getLblDraw();
|
||||||
case MAIN1:
|
case MAIN1:
|
||||||
return this.getLblMain1();
|
return this.getLblMain1();
|
||||||
case COMBAT_BEGIN:
|
case COMBAT_BEGIN:
|
||||||
return this.getLblBeginCombat();
|
return this.getLblBeginCombat();
|
||||||
case COMBAT_DECLARE_ATTACKERS:
|
case COMBAT_DECLARE_ATTACKERS:
|
||||||
return this.getLblDeclareAttackers();
|
return this.getLblDeclareAttackers();
|
||||||
case COMBAT_DECLARE_BLOCKERS:
|
case COMBAT_DECLARE_BLOCKERS:
|
||||||
return this.getLblDeclareBlockers();
|
return this.getLblDeclareBlockers();
|
||||||
case COMBAT_DAMAGE:
|
case COMBAT_DAMAGE:
|
||||||
return this.getLblCombatDamage();
|
return this.getLblCombatDamage();
|
||||||
case COMBAT_FIRST_STRIKE_DAMAGE:
|
case COMBAT_FIRST_STRIKE_DAMAGE:
|
||||||
return this.getLblFirstStrike();
|
return this.getLblFirstStrike();
|
||||||
case COMBAT_END:
|
case COMBAT_END:
|
||||||
return this.getLblEndCombat();
|
return this.getLblEndCombat();
|
||||||
case MAIN2:
|
case MAIN2:
|
||||||
return this.getLblMain2();
|
return this.getLblMain2();
|
||||||
case END_OF_TURN:
|
case END_OF_TURN:
|
||||||
return this.getLblEndTurn();
|
return this.getLblEndTurn();
|
||||||
case CLEANUP:
|
case CLEANUP:
|
||||||
return this.getLblCleanup();
|
return this.getLblCleanup();
|
||||||
default:
|
default:
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user