MCPcopy Create free account
hub / github.com/OpenApoc/OpenApoc / getCanThrow

Method getCanThrow

game/state/shared/aequipment.cpp:1028–1034  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1026 return valid;
1027}
1028bool AEquipment::getCanThrow(const TileMap &map, int strength, Vec3<float> startPos,
1029 Vec3<int> target)
1030{
1031 float nothing1 = 0.0f;
1032 float nothing2 = 0.0f;
1033 return getVelocityForThrow(map, strength, startPos, target, nothing1, nothing2);
1034}
1035
1036bool AEquipment::getVelocityForThrow(const TileMap &map, int strength, Vec3<float> startPos,
1037 Vec3<int> target, float &velocityXY, float &velocityZ) const

Callers 2

executeAIActionMethod · 0.80
getGrenadeDecisionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected