예제 #1
0
        public void PlatformUpdatePaused()
        {
            if (Paused)
            {
                timeSource.Suspend();
            }
            else
            {
                timeSource.Resume();
            }

            MobilePlatformUpdatePaused();
        }
예제 #2
0
        void PlatformStartGame()
        {
            if (timeSource != null)
            {
                timeSource.Invalidate();
            }

            timeSource = new GameViewTimeSource(this, 60.0f);

            CreateFrameBuffer();

            timeSource.Resume();
        }