Esempio n. 1
0
 public bool Finshed(TimerCom timerCom)
 {
     return(timerCom._currentTime < 1);
 }
Esempio n. 2
0
 public void Reset(TimerCom timerCom)
 {
     Initlise(timerCom);
 }
Esempio n. 3
0
 public void Calclate(TimerCom timerCom, double deltaTime)
 {
     timerCom._currentTime -= deltaTime;
 }
Esempio n. 4
0
 public void Initlise(TimerCom timerCom)
 {
     timerCom._currentTime = timerCom.EndTime;
 }
Esempio n. 5
0
 public bool Finshed(TimerCom timerCom)
 {
     return(timerCom._currentTime > timerCom.EndTime);
 }
Esempio n. 6
0
 public void Initlise(TimerCom timerCom)
 {
     timerCom._currentTime = 0;
 }