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