//I think both different levels are different cards for easy making public MogiCard Clone() { MogiCard card = new MogiCard(); card.attackPoint = this.attackPoint; card.level = this.level; card.hp = this.hp; card.cardInfo = this.cardInfo; card.manaCost = this.manaCost; card.features = this.features; return(card); }
public override void Init(Card info, CardDisplay display, CardMotion motion, bool isController) { MogiCard cardInfo = (MogiCard)info; attackPoint = cardInfo.attackPoint; HPRemain = maxHP = cardInfo.hp; this.display = display; this.motion = motion; this.info = info; this.isController = isController; base.Init(info, display, motion, isController); AddInitEvent(); }