Esempio n. 1
0
 internal LandPlan(LandBuilderContribution _contrib, IULVFactory factory, Location _loc, Size _size)
     : base(factory.create(new Cube(_loc, _size.Width, _size.Height, 0)))
 {
     this.contrib = _contrib;
     this.loc     = _loc;
     this.size    = _size;
 }
 internal CommercialStructurePlan(
     CommercialStructureContribution _contrib,
     IULVFactory factory, Location _loc)
     : base(factory.create(Cube.CreateExclusive(_loc, new Distance(_contrib.Size.x, _contrib.Size.y, 0))))
 {
     this.contrib = _contrib;
     this.loc     = _loc;
 }
 internal VarHeightBuildingPlan(
     VarHeightBuildingContribution contrib,
     IULVFactory factory, Location _loc, int h)
     : base(factory.create(new Cube(_loc, contrib.Size, 0)))
 {
     this.contrib = contrib;
     this.loc     = _loc;
     this.h       = h;
 }