moved info from CardImpl to CardState and PermanentImpl + created InfoEffect for displaying rule info on Card

This commit is contained in:
betasteward 2015-03-10 14:57:55 -04:00
parent eb86378bc1
commit fe2cd395a6
55 changed files with 333 additions and 94 deletions

View file

@ -701,6 +701,11 @@ public class Spell implements StackObject, Card {
return card.getRules();
}
@Override
public List<String> getRules(Game game) {
return card.getRules(game);
}
@Override
public String getExpansionSetCode() {
return card.getExpansionSetCode();
@ -900,7 +905,7 @@ public class Spell implements StackObject, Card {
}
@Override
public void addInfo(String key, String value) {
public void addInfo(String key, String value, Game game) {
// do nothing
}