예제 #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;
 }
예제 #2
0
 public CardSkill getExtraSkill() {
   return card.getExtraSkill();
 }