public PTimer(PTimerManager manager, TimerTask task) { m_manager = manager; m_manager.AddTimer(this); m_task = task; m_timeRemainingInSeconds = m_intervalInSeconds; }
public MyGame(int screenWidth, int screenHeight) { m_graphics = new GraphicsDeviceManager(this); m_graphics.PreferredBackBufferWidth = screenWidth; m_graphics.PreferredBackBufferHeight = screenHeight; m_timerManager = new PTimerManager(); }
public MyGame() { m_graphics = new GraphicsDeviceManager(this); m_timerManager = new PTimerManager(); }