|
Player12
An open source football management simulator
|
#include "model/opposition_report.h"#include <algorithm>#include <cmath>#include <format>#include <utility>#include "model/data_hub.h"#include "model/world_rng.h"Functions | |
| const char * | oppositionInstructionKey (OppositionInstruction instruction) |
| std::string | formationLabel (std::span< const PlayerRole > starters) |
| OppositionReport | buildOppositionReport (const OppositionInput &input) |
| Strategy | applyCounter (const Strategy &strategy, const CounterTactic &counter) |
| Strategy applyCounter | ( | const Strategy & | strategy, |
| const CounterTactic & | counter | ||
| ) |
Applies a counter's slider shift to a tactic.
| OppositionReport buildOppositionReport | ( | const OppositionInput & | input | ) |
Builds the report (pure and deterministic).
| std::string formationLabel | ( | std::span< const PlayerRole > | starters | ) |
Formation label from the roles of a starting XI ("4-4-2").
| const char * oppositionInstructionKey | ( | OppositionInstruction | instruction | ) |
Language key of an instruction.