Example #1
0
        public Actor(MyGame theGame)
        {
            m_theGame = theGame;

            //Sets the entity's ID to a unique ID.
            _ID = currentID;
            ++currentID;
            m_parent = null;
        }
 public ActiveList(MyGame theGame, float updateTickInSeconds)
 {
     m_theGame = theGame;
     m_timer = new PTimer(theGame.TimerManager, OnUpdate);
     m_timer.Interval = updateTickInSeconds;
 }
 public ActiveList(MyGame theGame, float updateTickInSeconds)
 {
     m_theGame        = theGame;
     m_timer          = new PTimer(theGame.TimerManager, OnUpdate);
     m_timer.Interval = updateTickInSeconds;
 }
Example #4
0
 public PTimerManager(MyGame game)
 {
     m_game = game;
 }
Example #5
0
 public PTimerManager(MyGame game)
 {
     m_game = game;
 }