示例#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);
 }