Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bwapi/bwapi
/ isFlying
Method
isFlying
bwapi/BWAPILIB/Source/Unit.cpp:253–256 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
251
return this->getOrder() == Orders::Follow;
252
}
253
bool UnitInterface::isFlying() const
254
{
255
return this->getType().isFlyer() || this->isLifted();
256
}
257
258
bool UnitInterface::isHoldingPosition() const
259
{
Callers
6
hasPath
Method · 0.95
canAttackUnit
Function · 0.80
WeaponCanHit
Function · 0.80
getUnitsInWeaponRange
Method · 0.80
isInWeaponRange
Method · 0.80
Filters.cpp
File · 0.80
Calls
3
isFlyer
Method · 0.80
isLifted
Method · 0.80
getType
Method · 0.45
Tested by
no test coverage detected