src/main/java/yugiohgame/Cards/SpellCard.java
<reponame>LazaroMagalski/yugioh-javapackage yugiohgame.Cards;

public class SpellCard extends Card {
        private String effect;
        private int modifier;

        public SpellCard(String anId, String anImageId, String effect, int modifier) {
            super(anId,anImageId);
            this.effect = effect;
            this.modifier = modifier;
        }


        public String getEffect() { return effect;   }

        public int getModifier() { return modifier; }

        @Override
        public String toString() {
            return super.toString()+" "+effect+" "+modifier+"\n";
        }
}
