Methods
checkEvents()
Update the builders counters
- Source:
findStructuresByFilter()
Get the buildable structures passing a filter.
- Source:
findStructureWithClass()
Get the first buildable structure with a given class
TODO when several available, choose the best one
- Source:
init()
Initialization at start of game
- Source:
numberMissingRoom()
Return the number of unbuildables due to missing room
- Source:
resetMissingRoom()
Reset the unbuildables due to missing room
- Source:
setUnbuildable()
Time is the duration in second that we will wait before checking again if it is buildable
- Source: