Esempio n. 1
0
 public VideoMain(Game1 game ,Main main)
 {
     this.main = main;
     this.mainGame = game;
 }
Esempio n. 2
0
        protected override void Initialize()
        {
            loadScreen = new LoadScreen(this, this);
            gameScreen = new GameScreen(this, this);
            main = new Main(this, this);
            cutScenes = new CutScenes(this, this);

            //Crea Camara Statica
            objCamara = new Camara1(this, new Vector3(0, 0, 100), new Vector3(0, 0, 1), Vector3.Up);

            //Create Options Menu
            controls = new Controls(this, this);

               // this.Components.Add(loadScreen);
              // this.Components.Add(cutScenes);

            setState(GameStates.CUTSCENE);

            base.Initialize();
        }