Beispiel #1
0
        /// <summary>
        /// Load a basic level
        /// </summary>
        public void LoadLevel()
        {
            FenrirGame.Instance.Properties.RequestNewGameState(GameState.LoadGame);
            this.camera = new Components.Camera();
            this.scene  = new Components.Scene();
            this.hud    = new Components.Hud();

            this.scene.InitializeWorld();

            FenrirGame.Instance.Properties.RequestNewGameState(GameState.InGame);
        }
Beispiel #2
0
        /// <summary>
        /// Load a basic level
        /// </summary>
        public void LoadLevel()
        {
            FenrirGame.Instance.Properties.RequestNewGameState(GameState.LoadGame);
            this.camera = new Components.Camera();
            this.scene = new Components.Scene();
            this.hud = new Components.Hud();

            this.scene.InitializeWorld();

            FenrirGame.Instance.Properties.RequestNewGameState(GameState.InGame);
        }