//-CrewMember API internal void constructionStep(float inBuildPoints) { if (!XUtils.isValid(gameObject)) { return; } _buildPoints.changeValue(inBuildPoints); if (!_buildPoints.isValueMaximum()) { return; } createBuilding(); XUtils.Destroy(gameObject); }