Player12
An open source football management simulator
Loading...
Searching...
No Matches
MatchRules::TackleContext Struct Reference

#include <match_rules.h>

Public Attributes

float defending = 0.5f
 
float dribbling = 0.5f
 
float defenderPhysicality = 0.5f
 
float carrierPhysicality = 0.5f
 
float pressing = 0.5f
 
float riskTaking = 0.5f
 
float exposure = 0.0f
 
bool shielding = false
 
bool sliding = false
 
bool fromBehind = false
 
bool inPenaltyArea = false
 
bool defenderBooked = false
 

Detailed Description

Everything that decides a ground challenge on a dribbler.

Member Data Documentation

◆ carrierPhysicality

float MatchRules::TackleContext::carrierPhysicality = 0.5f

◆ defenderBooked

bool MatchRules::TackleContext::defenderBooked = false

◆ defenderPhysicality

float MatchRules::TackleContext::defenderPhysicality = 0.5f

◆ defending

float MatchRules::TackleContext::defending = 0.5f

◆ dribbling

float MatchRules::TackleContext::dribbling = 0.5f

◆ exposure

float MatchRules::TackleContext::exposure = 0.0f

Share of the touch the ball is still away from the carrier's foot.

◆ fromBehind

bool MatchRules::TackleContext::fromBehind = false

◆ inPenaltyArea

bool MatchRules::TackleContext::inPenaltyArea = false

◆ pressing

float MatchRules::TackleContext::pressing = 0.5f

Team pressing instruction in [0, 1].

◆ riskTaking

float MatchRules::TackleContext::riskTaking = 0.5f

Team risk-taking instruction in [0, 1].

◆ shielding

bool MatchRules::TackleContext::shielding = false

The carrier is shielding the ball at walking pace.

◆ sliding

bool MatchRules::TackleContext::sliding = false

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