Esempio n. 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);
        }
Esempio n. 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);
        }
Esempio n. 3
0
 /// <summary>
 /// Create the Handler
 /// </summary>
 /// <param name="scene"></param>
 public UnitHandler(Fenrir.Src.InGame.Components.Scene scene)
 {
     this.scene = scene;
 }
Esempio n. 4
0
 /// <summary>
 /// Create the Handler
 /// </summary>
 /// <param name="scene"></param>
 public UnitHandler(Fenrir.Src.InGame.Components.Scene scene)
 {
     this.scene = scene;
 }