checkstyle

This commit is contained in:
jendave
2011-11-17 15:56:13 +00:00
parent d389c0e8c3
commit 0bb457fd76
4 changed files with 8 additions and 8 deletions

View File

@@ -869,7 +869,7 @@ public class Card extends GameEntity implements Comparable<Card> {
public final boolean getCreatureAttackedThisTurn() {
return this.creatureAttackedThisTurn;
}
/**
* <p>
* Setter for the field <code>creatureAttackedLastTurn</code>.
@@ -892,7 +892,7 @@ public class Card extends GameEntity implements Comparable<Card> {
public final boolean getCreatureAttackedLastHumanTurn() {
return this.creatureAttackedLastHumanTurn;
}
/**
* <p>
* Setter for the field <code>creatureAttackedLastTurn</code>.
@@ -926,7 +926,7 @@ public class Card extends GameEntity implements Comparable<Card> {
*/
public final void setCreatureBlockedThisCombat(final boolean b) {
this.creatureBlockedThisCombat = b;
if(b) {
if (b) {
setCreatureBlockedThisTurn(true);
}
}
@@ -941,7 +941,7 @@ public class Card extends GameEntity implements Comparable<Card> {
public final boolean getCreatureBlockedThisCombat() {
return this.creatureBlockedThisCombat;
}
/**
* <p>
* Setter for the field <code>creatureBlockedThisTurn</code>.

View File

@@ -126,7 +126,7 @@ public class GameAction {
copied.setUnearthed(c.isUnearthed());
}
if (c.wasSuspendCast()) {
copied = GameAction.addSuspendTriggers(c);
}

View File

@@ -382,10 +382,10 @@ public class Phase extends MyObservable implements java.io.Serializable {
c.setDealtDmgToComputerThisTurn(false);
c.setRegeneratedThisTurn(0);
c.clearMustBlockCards();
if(AllZone.getPhase().isPlayerTurn(AllZone.getComputerPlayer())) {
if (AllZone.getPhase().isPlayerTurn(AllZone.getComputerPlayer())) {
c.setCreatureAttackedLastComputerTurn(c.getCreatureAttackedThisTurn());
}
if(AllZone.getPhase().isPlayerTurn(AllZone.getHumanPlayer())) {
if (AllZone.getPhase().isPlayerTurn(AllZone.getHumanPlayer())) {
c.setCreatureAttackedLastHumanTurn(c.getCreatureAttackedThisTurn());
}
c.setCreatureAttackedThisTurn(false);

View File

@@ -315,7 +315,7 @@ public class TriggerHandler {
AllZone.getGameAction().checkStateEffects(true);
this.clearSuppression("Always");
*/
// AP
allCards = playerAP.getAllCards();
allCards.addAll(AllZoneUtil.getCardsIn(Constant.Zone.Stack).getController(playerAP));