Example #1
0
        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();
            }
        }
Example #2
0
 public HatcheryBuildingStep(HatcheryType type) : base(UnitType.Zerg_Hatchery)
 {
     HatcheryType = type;
 }
Example #3
0
 public static ConstructBuildingStep Hatchery(HatcheryType type) => new HatcheryBuildingStep(type);