// Probably with type protected virtual BW.Unit requestUnit(IAIModule module) { var unit = module.YieldUnit(); bwapi.Broodwar.printf("Unit transferred from : " + module.ToString()); return unit; }
// #region ModuleInteraction protected virtual void transferUnitTo(BW.Unit unit, IAIModule module) { module.ReceiveUnit(unit); bwapi.Broodwar.printf("Unit transferred to : " + module.ToString()); }