Exemplo n.º 1
0
        public Actor(MyGame theGame)
        {
            m_theGame = theGame;

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