-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
discussionmissingA feature is absent from BWAPI4J but not the original C++ BWAPI.A feature is absent from BWAPI4J but not the original C++ BWAPI.
Description
Thanks to @SonkoMagnus for mentioning the lack of BWAPI C++'s UnitFilter equivalent in BWAPI4J. Example:
Unit supplyBuilder =
u->getClosestUnit(GetType == supplyProviderType.whatBuilds().first
&& (IsIdle || IsGatheringMinerals)
&& IsOwned);where getClosestUnit is declared as:
Unit UnitInterface::getClosestUnit(const UnitFilter &pred, int radius) constAs per @SonkoMagnus's suggestion, we could use Predicate as the equivalent.
Metadata
Metadata
Assignees
Labels
discussionmissingA feature is absent from BWAPI4J but not the original C++ BWAPI.A feature is absent from BWAPI4J but not the original C++ BWAPI.