mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
- CheckStyle.
This commit is contained in:
@@ -58,7 +58,9 @@ public class ViewWinLose {
|
|||||||
control = new QuestWinLose(this, match);
|
control = new QuestWinLose(this, match);
|
||||||
break;
|
break;
|
||||||
case Draft:
|
case Draft:
|
||||||
if (!Singletons.getModel().getGauntletMini().isGauntletDraft()) break;
|
if (!Singletons.getModel().getGauntletMini().isGauntletDraft()) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
case Sealed:
|
case Sealed:
|
||||||
control = new LimitedWinLose(this, match);
|
control = new LimitedWinLose(this, match);
|
||||||
break;
|
break;
|
||||||
@@ -68,8 +70,9 @@ public class ViewWinLose {
|
|||||||
default: // will catch it after switch
|
default: // will catch it after switch
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if( null == control)
|
if (null == control) {
|
||||||
control = new ControlWinLose(this, match);
|
control = new ControlWinLose(this, match);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
pnlLeft.setOpaque(false);
|
pnlLeft.setOpaque(false);
|
||||||
|
|||||||
@@ -66,8 +66,8 @@ public enum CDock implements ICDoc {
|
|||||||
private GameState game;
|
private GameState game;
|
||||||
private Player player;
|
private Player player;
|
||||||
|
|
||||||
public void onGameStarts(GameState game0, Player player0)
|
public void onGameStarts(GameState game0, Player player0) {
|
||||||
{
|
|
||||||
game = game0;
|
game = game0;
|
||||||
player = player0;
|
player = player0;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -36,9 +36,9 @@ public enum CPlayers implements ICDoc {
|
|||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public void update() {
|
public void update() {
|
||||||
for(Player p : Singletons.getModel().getGame().getRegisteredPlayers())
|
for (Player p : Singletons.getModel().getGame().getRegisteredPlayers()) {
|
||||||
VPlayers.SINGLETON_INSTANCE.updatePlayerLabels(p);
|
VPlayers.SINGLETON_INSTANCE.updatePlayerLabels(p);
|
||||||
|
}
|
||||||
VPlayers.SINGLETON_INSTANCE.updateStormLabel();
|
VPlayers.SINGLETON_INSTANCE.updateStormLabel();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user