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

#include <match_play_overlay.h>

Public Attributes

PlayerID activePlayer = 0
 
PlayerID nextSwitch = 0
 
float power = 0.0f
 
bool charging = false
 
ImU32 homeColor = IM_COL32(220, 60, 60, 255)
 
ImU32 awayColor = IM_COL32(60, 110, 220, 255)
 

Detailed Description

What the play-mode overlay shows this frame (presentation only).

Member Data Documentation

◆ activePlayer

PlayerID MatchPlayOverlayState::activePlayer = 0

The human's active footballer and who a switch would pick next.

◆ awayColor

ImU32 MatchPlayOverlayState::awayColor = IM_COL32(60, 110, 220, 255)

◆ charging

bool MatchPlayOverlayState::charging = false

◆ homeColor

ImU32 MatchPlayOverlayState::homeColor = IM_COL32(220, 60, 60, 255)

Radar dot colours of the two sides.

◆ nextSwitch

PlayerID MatchPlayOverlayState::nextSwitch = 0

◆ power

float MatchPlayOverlayState::power = 0.0f

Filled share of the power bar while a button is held.


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