Example #1
0
 /// <summary>
 /// Duration이 0이면 지속시간이 없음
 /// 생성자에선 초기화만 할것.
 /// </summary>
 public Condition(Unit attackedUnit, float duration)
 {
     this.attackedUnit = attackedUnit;
     this.duration     = duration;
     this.remainTime   = this.duration;
 }