void InformationManager::update() { updateUnitInfo(); updateBaseLocationInfo(); map.setUnitData(BWAPI::Broodwar); map.setBuildingData(BWAPI::Broodwar); }
void UnitInfoManager::onFrame() { updateUnitInfo(); drawUnitInformation(100, 100); drawSelectedUnitDebugInfo(); }