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 PTimerManager(MyGame game) { m_game = game; }