示例#1
0
 internal LandPlan(LandBuilderContribution _contrib, ULVFactory factory, Location _loc, SIZE _size)
     : base(factory.create(new Cube(_loc, _size.x, _size.y, 0)))
 {
     this.contrib = _contrib;
     this.loc     = _loc;
     this.size    = _size;
 }
示例#2
0
 internal CommercialStructurePlan(
     CommercialStructureContribution _contrib,
     ULVFactory factory, Location _loc)
     : base(factory.create(Cube.createExclusive(_loc, new Distance(_contrib.size.x, _contrib.size.y, 0))))
 {
     this.contrib = _contrib;
     this.loc     = _loc;
 }
示例#3
0
 internal VarHeightBuildingPlan(
     VarHeightBuildingContribution contrib,
     ULVFactory factory, Location _loc, int h)
     : base(factory.create(new Cube(_loc, contrib.size, 0)))
 {
     this.contrib = contrib;
     this.loc     = _loc;
     this.h       = h;
 }