public void Populate() { #region colorread FactoryColor.Read(); ColorArea = FactoryColor.Areas; FactoryCoast.Read(); ColorCoast = FactoryCoast.Area; FactoryMountains.Read(); ColorMountains = FactoryMountains.Mountains; #endregion #region items FactoryItems.Read(); Items = FactoryItems.Items; FactoryItemCoasts.Read(); ItemsCoasts = FactoryItemCoasts.CoastsAll; FactorySmoothItems.Read(); Smooths = FactorySmoothItems.SmoothsAll; #endregion #region Textures FactoryTextureArea.Read(); TextureArea = FactoryTextureArea.Textures; FactoryTextureSmooth.Read(); SmoothTextures = FactoryTextureSmooth.Smooth; FactoryCliff.Read(); Cliffs = FactoryCliff.Cliffs; #endregion }
public void Populate() { #region Textures if (FactoryTextureArea != null) { FactoryTextureArea.Read(); CollectionAreaTexture = FactoryTextureArea.Textures; } if (FactoryTextureSmooth != null) { FactoryTextureSmooth.Read(); CollectionAreaTransitionTexture = FactoryTextureSmooth.Smooth; } if (FactoryCliff != null) { FactoryCliff.Read(); CollectionAreaTransitionCliffTexture = FactoryCliff.CollectionAreaCliffs; } #endregion #region colorread if (FactoryColor != null) { FactoryColor.Read(); CollectionColorArea = FactoryColor.Areas; } if (CollectionColorArea != null) { CollectionColorArea.InitializeSeaches(); } if (FactoryCoast != null) { FactoryCoast.Read(); CollectionColorCoast = FactoryCoast.Area; } if (FactoryMountains != null) { FactoryMountains.Read(); CollectionColorMountains = FactoryMountains.Mountains; } #endregion #region items if (FactoryItems != null) { FactoryItems.Read(); CollectionAreaItems = FactoryItems.Items; } if (FactoryItemCoasts != null) { FactoryItemCoasts.Read(); CollectionAreaItemsCoasts = FactoryItemCoasts.CoastsAll; } if (FactorySmoothItems != null) { FactorySmoothItems.Read(); CollectionAreaTransitionItems = FactorySmoothItems.SmoothsAll; } #endregion #region Merging Data MergingData(); #endregion //Merging Data }