public void SetMapTileArchitecture(Architecture architecture) { if (!architecture.AutoRefillFoodInLongViewArea) { architecture.AddBaseSupplyingArchitecture(); } foreach (Point point in architecture.ViewArea.Area) { if (!this.PositionOutOfRange(point)) { this.MapTileData[point.X, point.Y].AddHighViewingArchitecture(architecture); } } foreach (Point point in architecture.LongViewArea.Area) { if (!this.PositionOutOfRange(point)) { this.MapTileData[point.X, point.Y].AddViewingArchitecture(architecture); } } }