public ActiveList(MyGame theGame, float updateTickInSeconds)
 {
     m_theGame = theGame;
     m_timer = new PTimer(theGame.TimerManager, OnUpdate);
     m_timer.Interval = updateTickInSeconds;
 }
Exemple #2
0
 internal void RemoveTimer(PTimer timer)
 {
     m_timers.Remove(timer);
 }
Exemple #3
0
 internal void AddTimer(PTimer timer)
 {
     m_timers.Add(timer);
 }
 public ActiveList(MyGame theGame, float updateTickInSeconds)
 {
     m_theGame        = theGame;
     m_timer          = new PTimer(theGame.TimerManager, OnUpdate);
     m_timer.Interval = updateTickInSeconds;
 }
Exemple #5
0
 internal void RemoveTimer(PTimer timer)
 {
     m_timers.Remove(timer);
 }
Exemple #6
0
 internal void AddTimer(PTimer timer)
 {
     m_timers.Add(timer);
 }