public static void SaveWorld() { TerrainData worlddata = new TerrainData { terrain = Terrain.Tiles, terrainbiomes = Terrain.TerrainBiomes, fluidDict = FluidManager.Instance.GetDict(), logicDict = LogicManager.Instance.GetDict() }; EntitiesData entitydata = new EntitiesData(Player.Instance.data, PlayerInventory.Instance.Items, EntityManager.GetAllEntities()); Serialization.SaveWorld(worldname, worlddata, entitydata); }