Exemplo n.º 1
0
 public PTimer(PTimerManager manager, TimerTask task)
 {
     m_manager = manager;
     m_manager.AddTimer(this);
     m_task = task;
     m_timeRemainingInSeconds = m_intervalInSeconds;
 }
Exemplo n.º 2
0
 public PTimer(PTimerManager manager, TimerTask task)
 {
     m_manager = manager;
     m_manager.AddTimer(this);
     m_task = task;
     m_timeRemainingInSeconds = m_intervalInSeconds;
 }
Exemplo n.º 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();
 }
Exemplo n.º 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();
 }
Exemplo n.º 6
0
 public MyGame()
 {
     m_graphics     = new GraphicsDeviceManager(this);
     m_timerManager = new PTimerManager();
 }