示例#1
0
 public PTimer(PTimerManager manager, TimerTask task)
 {
     m_manager = manager;
     m_manager.AddTimer(this);
     m_task = task;
     m_timeRemainingInSeconds = m_intervalInSeconds;
 }
 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();
 }