Esempio n. 1
0
 public CardInfo(Card card, Player owner) {
   this.card = card;
   this.hp = card.getMaxHP();
   this.summonDelay = card.getSummonSpeed();
   this.status = new CardStatus();
   this.owner = owner;
   this.effects = new HashMap<SkillType, List<SkillEffect>>();
   this.skillUseInfos = new ArrayList<SkillUseInfo>();
   for (CardSkill cardSkill : card.getAllSkills()) {
     this.skillUseInfos.add(new SkillUseInfo(this, cardSkill));
   }
   this.cachedPosition = -1;
   this.deadOnce = false;
 }
Esempio n. 2
0
 public CardSkill getExtraSkill() {
   return card.getExtraSkill();
 }