public Grass(Point2D location) : base(location, 11, 1) { this.TillableBehavior = new TillablePercentDone(); this.CompositeRenderer = new ComponentRenderer(); this.CompositeRenderer.RenderQueue.Add(new StaticTexture(AssetManager.GetTextureIndex(this.GetRandomDirtTexture()), RenderLayer.DirtBase)); this.CompositeRenderer.RenderQueue.Add(new StaticTexture(AssetManager.GetTextureIndex(this.GetRandomGrassTexture()), RenderLayer.GrassBase)); }
public Dirt(Point2D location) : base(location, 10, 0) { this.TillableBehavior = new TillablePercentDone(); this.CompositeRenderer = new ComponentRenderer(); this.CompositeRenderer.RenderQueue.Add(new StaticTexture(Dirt.GetTextureID(), RenderLayer.DirtBase)); }