public void Build(Building b) { this.building = b; }
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); }
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); }
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); }
public void Build(Building b) { this.house = b; }