Player12
An open source football management simulator
Loading...
Searching...
No Matches
MatchTuning::Stoppage Struct Referencefinal

#include <match_tuning.h>

Static Public Attributes

static constexpr float FIRST_HALF_BASE_MINUTES = 1.5f
 
static constexpr float SECOND_HALF_BASE_MINUTES = 2.5f
 
static constexpr float EXTRA_TIME_BASE_MINUTES = 0.5f
 
static constexpr float MINUTES_PER_GOAL = 0.7f
 
static constexpr float MINUTES_PER_SUBSTITUTION = 0.3f
 
static constexpr float MINUTES_PER_CARD = 0.3f
 
static constexpr float MINUTES_PER_INJURY = 1.2f
 
static constexpr float MINUTES_PER_PENALTY = 0.5f
 
static constexpr int MIN_ADDED_MINUTES = 1
 
static constexpr int MAX_ADDED_MINUTES = 12
 
static constexpr float MAX_OVERRUN_MINUTES = 1.5f
 

Member Data Documentation

◆ EXTRA_TIME_BASE_MINUTES

constexpr float MatchTuning::Stoppage::EXTRA_TIME_BASE_MINUTES = 0.5f
staticconstexpr

◆ FIRST_HALF_BASE_MINUTES

constexpr float MatchTuning::Stoppage::FIRST_HALF_BASE_MINUTES = 1.5f
staticconstexpr

◆ MAX_ADDED_MINUTES

constexpr int MatchTuning::Stoppage::MAX_ADDED_MINUTES = 12
staticconstexpr

◆ MAX_OVERRUN_MINUTES

constexpr float MatchTuning::Stoppage::MAX_OVERRUN_MINUTES = 1.5f
staticconstexpr

◆ MIN_ADDED_MINUTES

constexpr int MatchTuning::Stoppage::MIN_ADDED_MINUTES = 1
staticconstexpr

◆ MINUTES_PER_CARD

constexpr float MatchTuning::Stoppage::MINUTES_PER_CARD = 0.3f
staticconstexpr

◆ MINUTES_PER_GOAL

constexpr float MatchTuning::Stoppage::MINUTES_PER_GOAL = 0.7f
staticconstexpr

◆ MINUTES_PER_INJURY

constexpr float MatchTuning::Stoppage::MINUTES_PER_INJURY = 1.2f
staticconstexpr

◆ MINUTES_PER_PENALTY

constexpr float MatchTuning::Stoppage::MINUTES_PER_PENALTY = 0.5f
staticconstexpr

◆ MINUTES_PER_SUBSTITUTION

constexpr float MatchTuning::Stoppage::MINUTES_PER_SUBSTITUTION = 0.3f
staticconstexpr

◆ SECOND_HALF_BASE_MINUTES

constexpr float MatchTuning::Stoppage::SECOND_HALF_BASE_MINUTES = 2.5f
staticconstexpr

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