Пример #1
0
 public PTimer(PTimerManager manager, TimerTask task)
 {
     m_manager = manager;
     m_manager.AddTimer(this);
     m_task = task;
     m_timeRemainingInSeconds = m_intervalInSeconds;
 }
Пример #2
0
 public PTimer(PTimerManager manager, TimerTask task)
 {
     m_manager = manager;
     m_manager.AddTimer(this);
     m_task = task;
     m_timeRemainingInSeconds = m_intervalInSeconds;
 }
Пример #3
0
 public MyGame(int screenWidth, int screenHeight)
 {
     m_graphics = new GraphicsDeviceManager(this);
     m_graphics.PreferredBackBufferWidth = screenWidth;
     m_graphics.PreferredBackBufferHeight = screenHeight;
     m_timerManager = new PTimerManager();
 }
Пример #4
0
 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();
 }
Пример #6
0
 public MyGame()
 {
     m_graphics     = new GraphicsDeviceManager(this);
     m_timerManager = new PTimerManager();
 }