Beispiel #1
0
    // 카드 소환
    public static void summon(CardSoldier card, Coordinate coord)
    {
        CardsOnField.Add(coord, new CardManager(card, coord));

        //애니메이션
    }
Beispiel #2
0
 public static void expectEffectsWhenSomeoneUseEffect(CardSoldier main, Ability ability)
 {
 }
Beispiel #3
0
 // 누가 움직였을 때 조건 검색.
 public static void expectEffectsWhenSomeoneMoved(CardSoldier main, Coordinate beforeCor, Coordinate afterCor)
 {
 }
Beispiel #4
0
 // 누군가 공격당했을 때 조건 검색.
 public static void expectEffectsWhenSomeoneAttacked(CardSoldier main, CardSoldier target)
 {
 }
 // 생성자
 public CardManager(CardSoldier card, Coordinate coordinate)
 {
     this.currentCoordinate = coordinate;
     initSoldier(card);
 }
 // 군카 초기화
 private void initSoldier(CardSoldier card)
 {
     initUnit(card);
     stat.Add("leadershipConsumption", card.leadershipConsumption);
     stat.Add("pointConsumption", card.pointConsumption);
 }