You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the Strategist created in #12, we now are able to issue orders to units. All unit wrappers can call upon the Strategist's getUnitOrder(BWAPI::UnitType type) method to retrieve the next possible build to perform. A Worker should only be asking for a build order when they are not busy. Any build that fails should not be discarded, but retried(possibly double checking that a building does not already exist in that location).
To retrieve a building location, you can use BWEB to retrieve a location. BWEB's functions for onUnitDiscover, onUnitMorph, etc. should also be added to Module to properly keep track of what is where in the map as well.
The text was updated successfully, but these errors were encountered:
With the Strategist created in #12, we now are able to issue orders to units. All unit wrappers can call upon the Strategist's
getUnitOrder(BWAPI::UnitType type)
method to retrieve the next possible build to perform. A Worker should only be asking for a build order when they are not busy. Any build that fails should not be discarded, but retried(possibly double checking that a building does not already exist in that location).To retrieve a building location, you can use
BWEB
to retrieve a location.BWEB
's functions foronUnitDiscover
,onUnitMorph
, etc. should also be added to Module to properly keep track of what is where in the map as well.The text was updated successfully, but these errors were encountered: