Player12
An open source football management simulator
Loading...
Searching...
No Matches
PlayerRig::ActionInput Struct Reference

#include <match_player_rig.h>

Public Attributes

float speed = 0.0f
 
float turnRate = 0.0f
 
Event event = Event::NONE
 
bool goalkeeper = false
 
bool diving = false
 
bool holding = false
 
bool keeperSet = false
 
bool throwIn = false
 
Mood mood = Mood::NONE
 

Detailed Description

Engine state of one player in one frame, reduced to what poses need.

Member Data Documentation

◆ diving

bool PlayerRig::ActionInput::diving = false

◆ event

Event PlayerRig::ActionInput::event = Event::NONE

◆ goalkeeper

bool PlayerRig::ActionInput::goalkeeper = false

◆ holding

bool PlayerRig::ActionInput::holding = false

A keeper with the ball in his hands.

◆ keeperSet

bool PlayerRig::ActionInput::keeperSet = false

A keeper set for a shot (ball close, play live).

◆ mood

Mood PlayerRig::ActionInput::mood = Mood::NONE

◆ speed

float PlayerRig::ActionInput::speed = 0.0f

◆ throwIn

bool PlayerRig::ActionInput::throwIn = false

Waiting to take a throw-in with the ball in his hands.

◆ turnRate

float PlayerRig::ActionInput::turnRate = 0.0f

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