public HQsBuilding_v1(HQsBuilding v0) { this.team = v0.team; this.currentLevel = v0.currentLevel; this.normalizedProgress = v0.normalizedProgress; this.state = v0.state; this.info = v0.info; this.costs = v0.costs; this.mStaffNumber = v0.mStaffNumber; this.mDateProgressStarted = v0.mDateProgressStarted; this.mDateProgressEnd = v0.mDateProgressEnd; }
public HQsBuilding_v1(HQsBuildingInfo inBuilding) { this.info = inBuilding; this.name = this.info.name; // this.costs.Start(this); }