class
cDragInputProjectileToolStrategy
Base classes
- class cToolStrategy
Public static variables
-
static const uint32_
t STRATEGY_ID
Public functions
- auto OnMouseDown(cSpaceToolData* pTool, const Vector3& playerPosition) -> void override
- auto OnHit(cSpaceToolData* pTool, const Vector3& position, SpaceToolHit hitType, int) -> bool override
- auto WhileFiring(cSpaceToolData* pTool, const Vector3& aimPoint, int) -> bool override
- auto ProcessCost(int useCost) -> int override
- Function called to calculate the sporebucks cost of firing the tool.
Function documentation
int Simulator:: cDragInputProjectileToolStrategy:: ProcessCost(int useCost) override
Function called to calculate the sporebucks cost of firing the tool.
It receives the value of the