Exemplo n.º 1
0
 public void Build(Building b)
 {
     this.building = b;
 }
Exemplo n.º 2
0
 public void BuildHyacyntFarm()
 {
     this.house = new HyacyntFarm(new LoadModel(StaticHelpers.StaticHelper.Content.Load<Model>("Models/h1"), new Vector3(this.model.Position.X, this.model.Position.Y - this.model.BoundingSphere.Radius * 2, this.model.Position.Z), Vector3.Zero, new Vector3(this.model.Scale.X+1f,this.model.Scale.Y+1f,this.model.Scale.Z+1f), StaticHelpers.StaticHelper.Device, this.model.light), 1000, 100, 10, 10,500);
 }
Exemplo n.º 3
0
 public void BuildAntGranary()
 {
     this.house = new ChelidoniumFarm(new LoadModel(StaticHelpers.StaticHelper.Content.Load<Model>("Models/kopiec"), new Vector3(this.model.Position.X, this.model.Position.Y - this.model.BoundingSphere.Radius * 2, this.model.Position.Z), Vector3.Zero, this.model.Scale, StaticHelpers.StaticHelper.Device, this.model.light),1000,100,10,10,500);
 }
Exemplo n.º 4
0
 public void BuildDicentraFarm()
 {
     this.house = new DicentraFarm(new LoadModel(StaticHelpers.StaticHelper.Content.Load<Model>("Models/h2"), new Vector3(this.model.Position.X, this.model.Position.Y - this.model.BoundingSphere.Radius*2, this.model.Position.Z), Vector3.Zero, this.model.Scale/2, StaticHelpers.StaticHelper.Device, this.model.light), 1000, 100, 10, 10, 500);
 }
Exemplo n.º 5
0
 public void Build(Building b)
 {
     this.house = b;
 }