예제 #1
0
 public static Briefing GetRandomBriefing()
 {
     return(BriefingManager.GetRandomBriefing());
 }
예제 #2
0
 static GameManager()
 {
     GetAllCables();
     BriefingManager.GetAllBriefings();
 }
        /// <summary>
        /// Load graphics content for the game.
        /// </summary>
        public override void LoadContent()
        {
            if (content == null)
                content = new ContentManager(ScreenManager.Game.Services, "Content");

            this.briefingManager = new BriefingManager(content);

            // A real game would probably have more content than this sample, so
            // it would take longer to load. We simulate that by delaying for a
            // while, giving you a chance to admire the beautiful loading screen.
            Thread.Sleep(1000);

            // once the load has finished, we use ResetElapsedTime to tell the game's
            // timing mechanism that we have just finished a very long frame, and that
            // it should not try to catch up.
            ScreenManager.Game.ResetElapsedTime();
        }