FSO.LotView.Components.TerrainComponent.TerrainComponent C# (CSharp) Method

TerrainComponent() public method

public TerrainComponent ( Rectangle size ) : System
size Microsoft.Xna.Framework.Rectangle
return System
        public TerrainComponent(Rectangle size)
        {
            this.Size = size;
            this.Effect = WorldContent.GrassEffect;
            LotType = LotTypes.Snow; //(LotTypes)(new Random()).Next(4);

            UpdateLotType();
            GenerateGrassStates();
        }