Player12
An open source football management simulator
Loading...
Searching...
No Matches
MatchEngine::ControlledShot Struct Reference

Public Attributes

bool active = false
 
std::optional< float > aimMetres
 
float power = 0.0f
 

Detailed Description

Aim and power of the controlled player's shot being struck.

Member Data Documentation

◆ active

bool MatchEngine::ControlledShot::active = false

◆ aimMetres

std::optional<float> MatchEngine::ControlledShot::aimMetres

Aimed crossing point (metres from the goal's centre), if aimed.

◆ power

float MatchEngine::ControlledShot::power = 0.0f

The documentation for this struct was generated from the following file: