Esempio n. 1
0
 public Dirt(Point2D location) : base(location, 10, 0)
 {
     this.CompositeRenderer = new ComponentRenderer();
     this.CompositeRenderer.RenderQueue.Visuals.Add(new StaticTexture(Dirt.GetTextureID(), RenderLayer.DirtBase));
 }
Esempio n. 2
0
 public Dirt(Point2D location, int dimension) : base(location, dimension, 10, 0)
 {
     this.AddComponent(new TillablePercentDone(.07F));
     this.GetExactComponent <ComponentRenderer>().RenderQueue.Add(
         new StaticTexture(Dirt.GetTextureID(), RenderLayer.DirtBase));
 }
Esempio n. 3
0
 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));
 }