public static void LoadGame() { DataContractSerializer dcSerializer = new DataContractSerializer(typeof(CompleteGame)); try { using (FileStream fstream = new FileStream(RutaXMLCompleto, FileMode.Open)) { JuegoCompleto = (CompleteGame)dcSerializer.ReadObject(fstream); Estados.CargarItems(JuegoCompleto.ItemsJugador); Estados.cargarJefes(JuegoCompleto.Bosses); Estados.cargarJugadorCompleto(JuegoCompleto.Jugador, JuegoCompleto.VidaPlayer); } } catch (FileNotFoundException) { print("Error al Cargar"); } }