moved faceDown property from Card to CardState

This commit is contained in:
betasteward 2015-03-12 22:09:12 -04:00
parent d7b9a4a979
commit 9ad8530dee
61 changed files with 378 additions and 224 deletions

View file

@ -860,7 +860,7 @@ public abstract class AbilityImpl implements Ability {
return false;
}
} else if (object instanceof PermanentCard) {
if (((PermanentCard)object).isFaceDown()&& !this.getWorksFaceDown()) {
if (((PermanentCard)object).isFaceDown(game)&& !this.getWorksFaceDown()) {
return false;
}
}