mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
- CheckStyle.
This commit is contained in:
@@ -295,7 +295,7 @@ public class Card extends GameEntity implements Comparable<Card> {
|
||||
public final void setFlip(final boolean isFlip0) {
|
||||
this.isFlip = isFlip0;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Checks if this is transformable (i.e. Licids.)
|
||||
*
|
||||
@@ -304,7 +304,7 @@ public class Card extends GameEntity implements Comparable<Card> {
|
||||
public final String isTransformable() {
|
||||
return this.otherTransformable;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets wether or not this card is transformable, but non-flip and not doublefaced.
|
||||
*
|
||||
|
||||
@@ -788,11 +788,11 @@ public class GameAction {
|
||||
public final void checkStateEffects() {
|
||||
this.checkStateEffects(false);
|
||||
}
|
||||
|
||||
|
||||
public final void checkStaticAbilities() {
|
||||
// remove old effects
|
||||
AllZone.getStaticEffects().clearStaticEffects();
|
||||
|
||||
|
||||
// search for cards with static abilities
|
||||
final CardList allCards = AllZoneUtil.getCardsInGame();
|
||||
final CardList cardsWithStAbs = new CardList();
|
||||
@@ -804,7 +804,7 @@ public class GameAction {
|
||||
}
|
||||
|
||||
cardsWithStAbs.reverse(); // roughly timestamp order
|
||||
|
||||
|
||||
// apply continuous effects
|
||||
for (int layer = 4; layer < 11; layer++) {
|
||||
for (final Card card : cardsWithStAbs) {
|
||||
@@ -957,7 +957,7 @@ public class GameAction {
|
||||
} // if isAura
|
||||
|
||||
if (c.isCreature()) {
|
||||
if(c.isEnchanting()) {
|
||||
if (c.isEnchanting()) {
|
||||
c.unEnchantEntity(c.getEnchanting());
|
||||
checkAgain = true;
|
||||
}
|
||||
|
||||
@@ -47,7 +47,7 @@ public class StaticAbilityContinuous {
|
||||
*
|
||||
* @param stAb
|
||||
* a StaticAbility
|
||||
*
|
||||
*
|
||||
*/
|
||||
public static void applyContinuousAbility(final StaticAbility stAb) {
|
||||
final HashMap<String, String> params = stAb.getMapParams();
|
||||
|
||||
@@ -140,7 +140,7 @@ public class CardPanelHeavy extends CardPanelBase {
|
||||
if (c.isFlip()) {
|
||||
this.changeStateButton.setVisible(true);
|
||||
this.changeStateButton.setText("Flip");
|
||||
} else if(c.isDoubleFaced()) {
|
||||
} else if (c.isDoubleFaced()) {
|
||||
this.changeStateButton.setVisible(true);
|
||||
this.changeStateButton.setText("Transform");
|
||||
} else {
|
||||
|
||||
@@ -104,7 +104,7 @@ public class CardPanelLite extends CardPanelBase {
|
||||
if (c.isFlip()) {
|
||||
this.bChangeState.setVisible(true);
|
||||
this.bChangeState.setText("Flip");
|
||||
} else if(c.isDoubleFaced()) {
|
||||
} else if (c.isDoubleFaced()) {
|
||||
this.bChangeState.setVisible(true);
|
||||
this.bChangeState.setText("Transform");
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user