コード例 #1
0
ファイル: TurnAction.cs プロジェクト: MasterScott/Raid-1
 public TurnAction(int attackCount, Constants.Target attackTarget, List <EffectToApply> effectsToApply, List <BuffToApply> buffsToApply, List <DebuffToApply> debuffsToApply)
 {
     this.AttackCount    = attackCount;
     this.AttackTarget   = attackTarget;
     this.EffectsToApply = effectsToApply;
     this.BuffsToApply   = buffsToApply;
     this.DebuffsToApply = debuffsToApply;
 }
コード例 #2
0
 public BuffToApply(Constants.Buff buff, int duration, Constants.Target target)
 {
     this.Buff     = buff;
     this.Duration = duration;
     this.Target   = target;
 }
コード例 #3
0
ファイル: EffectToApply.cs プロジェクト: MasterScott/Raid-1
 public EffectToApply(Constants.Effect effect, Constants.Target target, Constants.TimeInTurn whenToApply)
 {
     this.Effect      = effect;
     this.Target      = target;
     this.WhenToApply = whenToApply;
 }
コード例 #4
0
 public DebuffToApply(Constants.Debuff debuff, int duration, Constants.Target target)
 {
     this.Debuff   = debuff;
     this.Duration = duration;
     this.Target   = target;
 }