예제 #1
0
 public MyGame()
 {
     m_graphics     = new GraphicsContext();
     m_stopWatch    = new Stopwatch();
     m_timerManager = new PTimerManager(this);
 }
예제 #2
0
 public PTimer(PTimerManager manager, TimerTask task)
 {
     m_manager = manager;
     m_manager.AddTimer(this);
     m_task = task;
 }
예제 #3
0
 public PTimer(PTimerManager manager, TimerTask task)
 {
     m_manager = manager;
     m_manager.AddTimer(this);
     m_task = task;
 }
예제 #4
0
        VertexBuffer m_unitVB; //Might need to move this to a static context eventually

        #endregion Fields

        #region Constructors

        public MyGame()
        {
            m_graphics = new GraphicsContext();
            m_stopWatch = new Stopwatch();
             			m_timerManager = new PTimerManager(this);
        }