|
Player12
An open source football management simulator
|
Broadcast minute labels shared by the live match and its report. More...
Functions | |
| std::string | minuteLabel (float matchMinutes, int period, bool addedTime) |
| Label of a match clock reading (minutes since kick-off). | |
| std::string | clockLabel (float matchMinutes, int period, bool addedTime) |
| Running clock with seconds: "67:23", "45+2:10" in added time (minutes beyond the regulation end of the half). | |
| std::string | minuteLabel (const MatchReportEvent &event) |
| Label of a stored event (whole minutes elapsed, see its doc). | |
Broadcast minute labels shared by the live match and its report.
The label names the minute being played: "1'" during the first minute, "45'" up to the half, then "45+N'" in first-half added time, "46'".."90'" and "90+N'"; in extra time "91'".."105+N'" and "106'".."120+N'". Live events and stored report events of the same moment get the same label.
| std::string MatchClock::clockLabel | ( | float | matchMinutes, |
| int | period, | ||
| bool | addedTime | ||
| ) |
Running clock with seconds: "67:23", "45+2:10" in added time (minutes beyond the regulation end of the half).
| std::string MatchClock::minuteLabel | ( | const MatchReportEvent & | event | ) |
Label of a stored event (whole minutes elapsed, see its doc).
| std::string MatchClock::minuteLabel | ( | float | matchMinutes, |
| int | period, | ||
| bool | addedTime | ||
| ) |
Label of a match clock reading (minutes since kick-off).