|
Player12
An open source football management simulator
|
Observable facts behind a player's injury risk. More...
#include <medical_centre.h>
Public Attributes | |
| int | age = 25 |
| int | days_since_injury = -1 |
| int | days_since_match = -1 |
| float | condition = 100.0f |
| float | workload_ratio = 1.0f |
| float | staff_prevention = 1.0f |
Observable facts behind a player's injury risk.
| int InjuryRiskInputs::age = 25 |
| float InjuryRiskInputs::condition = 100.0f |
| int InjuryRiskInputs::days_since_injury = -1 |
Since the last injury began; -1 = none.
| int InjuryRiskInputs::days_since_match = -1 |
-1 = no match played yet.
| float InjuryRiskInputs::staff_prevention = 1.0f |
| float InjuryRiskInputs::workload_ratio = 1.0f |
Acute:chronic load.