Exemplo n.º 1
0
 protected override void UpdateCore(float elapseSeconds, float realElapseSeconds)
 {
     if (CurrentWork.WorkStatus == WorkStatus.Running)
     {
         CurrentWork.Update(elapseSeconds, realElapseSeconds);
     }
     if (CurrentWork.WorkStatus == WorkStatus.Complete)
     {
         if (CurrentWorkIndex + 1 < Works.Count)
         {
             CurrentWorkIndex++;
             CurrentWork.Start();
         }
     }
 }
Exemplo n.º 2
0
 protected override void StartCore()
 {
     base.StartCore();
     CurrentWork.Start();
 }