Player12
An open source football management simulator
Loading...
Searching...
No Matches
match_scenario.h
Go to the documentation of this file.
1// -----------------------------------------------------------------------------
2// Football Management Project
3// Copyright (c) 2025 - 2026 Flavio Milinanni. All Rights Reserved.
4//
5// This file is part of the Football Management Project.
6// See the LICENSE file in the project root.
7// -----------------------------------------------------------------------------
8
9#pragma once
10
11#include <cstdint>
12#include <vector>
13
14#include "global/types.h"
15#include "model/match_tuning.h"
16
26
34{
35 std::vector<MatchScenarioPlayer> players;
36 std::uint32_t carrierId = 0;
38};
Definition match_scenario.h:21
std::uint32_t playerId
Definition match_scenario.h:22
bool makingRun
Definition match_scenario.h:24
Vector2F position
Definition match_scenario.h:23
Definition match_scenario.h:34
Vector2F ballPosition
Definition match_scenario.h:37
std::uint32_t carrierId
Definition match_scenario.h:36
std::vector< MatchScenarioPlayer > players
Definition match_scenario.h:35
static constexpr float CENTRE
Definition match_tuning.h:37
A simple 2D float vector for pitch coordinates.
Definition types.h:84