public static BaseType ToBaseType(this HatcheryType ht) { switch (ht) { case HatcheryType.NaturalExp: return(BaseType.Natural); case HatcheryType.ThirdExp: return(BaseType.Third); default: throw new ArgumentOutOfRangeException(); } }
public HatcheryBuildingStep(HatcheryType type) : base(UnitType.Zerg_Hatchery) { HatcheryType = type; }
public static ConstructBuildingStep Hatchery(HatcheryType type) => new HatcheryBuildingStep(type);