Player12
An open source football management simulator
Loading...
Searching...
No Matches
match_play_controller.h File Reference
#include <SDL3/SDL.h>
#include <array>
#include <cstdint>
#include "model/match_engine.h"

Go to the source code of this file.

Classes

struct  PlayScreenBasis
 
class  MatchPlayController
 
struct  MatchPlayController::Options
 

Enumerations

enum class  PlayAutoSwitch : std::uint8_t { OFF , ASSISTED , AUTO }
 

Enumeration Type Documentation

◆ PlayAutoSwitch

enum class PlayAutoSwitch : std::uint8_t
strong

How freely control moves between team-mates (Settings::play_auto_switch).

Enumerator
OFF 

Only the ball carrier is taken automatically; the rest is manual.

ASSISTED 

Also the receiver of a pass, and the best placed defender once the stick has been idle for a moment.

AUTO 

Control always follows the best placed team-mate.