Exemplo n.º 1
0
 public void SetTimer(float fStartTime, float fRandomTime, float fMinIntervalTime, int nRepeatCount)
 {
     SetRelTimer(fStartTime - NcTimerTool.GetEngineTime(), fRandomTime, fMinIntervalTime, nRepeatCount);
 }
Exemplo n.º 2
0
 public void SetTimer(float fStartTime, float fRandomTime, float fMinIntervalTime)
 {
     SetRelTimer(fStartTime - NcTimerTool.GetEngineTime(), fRandomTime, fMinIntervalTime);
 }
Exemplo n.º 3
0
 public bool IsUpdateTimer()
 {
     return(this.m_fLastEngineTime != NcTimerTool.GetEngineTime());
 }
Exemplo n.º 4
0
 // --------------------------------------------------------------------------
 public void SetTimer(float fStartTime, float fRandomTime, object arg)
 {
     SetRelTimer(fStartTime - NcTimerTool.GetEngineTime(), fRandomTime, arg);
 }
Exemplo n.º 5
0
 public void Reset(float fElapsedTime)
 {
     this.m_fCurrentTime    = fElapsedTime;
     this.m_fLastEngineTime = NcTimerTool.GetEngineTime() - 1E-06f;
     this.UpdateTimer();
 }