|
Player12
An open source football management simulator
|
Role, duty and in-possession spot of one outfield slot. Slots are matched by their out-of-possession position (anchor, lineup coordinates: own goal at x = 0), so they survive reordering of the lineup and return when a formation is used again.
More...
#include <tactics.h>
Public Attributes | |
| Vector2F | anchor {0.0f, 0.0f} |
| TacticalRole | role = TacticalRole::Standard |
| RoleDuty | duty = RoleDuty::Support |
| Vector2F | possessionOffset {0.0f, 0.0f} |
Role, duty and in-possession spot of one outfield slot. Slots are matched by their out-of-possession position (anchor, lineup coordinates: own goal at x = 0), so they survive reordering of the lineup and return when a formation is used again.
| Vector2F SlotInstruction::anchor {0.0f, 0.0f} |
| RoleDuty SlotInstruction::duty = RoleDuty::Support |
| Vector2F SlotInstruction::possessionOffset {0.0f, 0.0f} |
Shift of the slot while his side has the ball (lineup coordinates).
| TacticalRole SlotInstruction::role = TacticalRole::Standard |