BryanSWeber / CUNYAIModule

CUNYBot, an AI that plays complete games of Starcraft.
MIT License
6 stars 3 forks source link

Generalize this function and its ilk #171

Closed BryanSWeber closed 5 years ago

BryanSWeber commented 5 years ago
                CUNYAIModule::buildorder.announceBuildingAttempt(building);
                Stored_Unit& morphing_unit = CUNYAIModule::friendly_player_model.units_.unit_map_.find(unit)->second;
                morphing_unit.phase_ = "Building";
                morphing_unit.updateStoredUnit(unit);
                return true;
BryanSWeber commented 5 years ago

Need to enumerate all the phases now.

BryanSWeber commented 5 years ago

Done as of a6f2c324d06165bb20005ae9bf459b9ac00f4cb9