public void activateAugment() { if (!wasActivated && activateTime) { switch (augmentCard.getType()) { case 0: activateAugmentMonster(); break; case 1: activateAugmentField(); break; case 2: activateAugmentLord(); break; default: break; } } }
public void activateEffect() { switch (augment.getType()) { case 0: MonsterCard m = monster.GetComponent <ThisMonsterCard>().getMonsterCard(); augment.activateEffect(m); break; case 1: FieldMonsterZone f = zone.GetComponent <FieldMonsterZone>(); augment.activateEffect(f); break; case 2: Lord l = lord.GetComponent <ThisLord>().getLord(); augment.activateEffect(l); break; default: break; } thisAugment.setWasActivated(true); }