public override void Initialize(bool addToManagers) { // Generated Initialize LoadStaticContent(ContentManagerName); if (!FlatRedBall.FlatRedBallServices.IsLoaded<FlatRedBall.Math.Geometry.ShapeCollection>(@"content/screens/menuprincipal/alternativas.shcx", ContentManagerName)) { } Alternativas = FlatRedBall.FlatRedBallServices.Load<FlatRedBall.Math.Geometry.ShapeCollection>(@"content/screens/menuprincipal/alternativas.shcx", ContentManagerName); if (!FlatRedBall.FlatRedBallServices.IsLoaded<FlatRedBall.Scene>(@"content/screens/menuprincipal/scenefile.scnx", ContentManagerName)) { } SceneFile = FlatRedBall.FlatRedBallServices.Load<FlatRedBall.Scene>(@"content/screens/menuprincipal/scenefile.scnx", ContentManagerName); KursorInstance = new TesisEconoFight.Entities.Kursor(ContentManagerName, false); KursorInstance.Name = "KursorInstance"; PostInitialize(); base.Initialize(addToManagers); if (addToManagers) { AddToManagers(); } }
public override void Initialize(bool addToManagers) { // Generated Initialize LoadStaticContent(ContentManagerName); if (!FlatRedBall.FlatRedBallServices.IsLoaded<FlatRedBall.Math.Geometry.ShapeCollection>(@"content/screens/glosariosistemasjuego/opciones.shcx", ContentManagerName)) { } Opciones = FlatRedBall.FlatRedBallServices.Load<FlatRedBall.Math.Geometry.ShapeCollection>(@"content/screens/glosariosistemasjuego/opciones.shcx", ContentManagerName); if (!FlatRedBall.FlatRedBallServices.IsLoaded<FlatRedBall.Scene>(@"content/screens/glosariosistemasjuego/scenefile.scnx", ContentManagerName)) { } SceneFile = FlatRedBall.FlatRedBallServices.Load<FlatRedBall.Scene>(@"content/screens/glosariosistemasjuego/scenefile.scnx", ContentManagerName); if (!FlatRedBall.FlatRedBallServices.IsLoaded<FlatRedBall.Graphics.Animation.AnimationChainList>(@"content/screens/glosariosistemasjuego/animacionpantalla.achx", ContentManagerName)) { } AnimacionPantalla = FlatRedBall.FlatRedBallServices.Load<FlatRedBall.Graphics.Animation.AnimationChainList>(@"content/screens/glosariosistemasjuego/animacionpantalla.achx", ContentManagerName); KursorInstance = new TesisEconoFight.Entities.Kursor(ContentManagerName, false); KursorInstance.Name = "KursorInstance"; Pantalla = SceneFile.Sprites.FindByName("glosario sistema de juegos 11"); PostInitialize(); base.Initialize(addToManagers); if (addToManagers) { AddToManagers(); } }