Simulator::cAbductToolStrategy class

Base classes

class cDefaultBeamTool

Public static variables

static const uint32_t STRATEGY_ID

Public functions

auto OnHit(cSpaceToolData* pTool, const Vector3& position, cSpaceToolData::SpaceToolHit hitType, int) -> bool override
auto OnMouseUp(cSpaceToolData* pTool) -> bool override
auto GetAimPoint() -> Vector3 override
Returns the coordinates of the position where the tool is aiming.

Function documentation

Vector3 Simulator::cAbductToolStrategy::GetAimPoint() override

Returns the coordinates of the position where the tool is aiming.

Returns The coordinates of the position where the tool is aiming.

The default implementation uses the method cGameViewManager::GetWorldMousePosition(), ignoring the player UFO.