Ejemplo n.º 1
0
 private void LoadSave(Save save)
 {
     Status.LoadState(save.Hp, save.Items);
     foreach (var item in Converter.Convert(save.Tiles, save.CenterX, save.CenterY))
     {
         Manager.AddBlockTile(item, false);
     }
     foreach (var item in Converter.Convert(save.Fluids, save.CenterX, save.CenterY))
     {
         Manager.AddFluid(item);
     }
     MoveScene(save.CenterX / 20 * 20, -(save.CenterY / 20 * 20));
 }