コード例 #1
0
 /// <summary>
 /// Create a new IsWaitingConditional.
 /// </summary>
 /// <param name="_cooldown">The cooldown resource to check if is waiting.</param>
 public IsWaitingConditional(Cooldown _cooldown)
 {
     cooldown = _cooldown;
     _Bool    = IsWaitingTest;
 }
コード例 #2
0
 public override void Sanitize()
 {
     waitSomeTimeCooldown = new Cooldown(minTimeToWaitBetweenMvmt, maxTimeToWaitBetweenMvmt);
     base.Sanitize();
 }