Player12
An open source football management simulator
Loading...
Searching...
No Matches
MatchScenario Struct Reference

#include <match_scenario.h>

Public Attributes

std::vector< MatchScenarioPlayer > players
 
std::uint32_t carrierId = 0
 
Vector2F ballPosition {MatchTuning::Pitch::CENTRE, MatchTuning::Pitch::CENTRE}
 

Detailed Description

A fully-specified, deterministic snapshot of players and ball that the match engine can load. Used by the headless scenario suite to exercise pass, shot, and carry decisions without organic full-match states. The renderer never sees this path; it only consumes the read-only MatchRenderSnapshot.

Member Data Documentation

◆ ballPosition

◆ carrierId

std::uint32_t MatchScenario::carrierId = 0

◆ players

std::vector<MatchScenarioPlayer> MatchScenario::players

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