|
Player12
An open source football management simulator
|
Legacy grid-based strategy weights, retained by the Strategy API. More...
#include <strategy.h>
Public Attributes | |
| float | attackWeight = 0.5f |
| float | defenseWeight = 0.5f |
| int | movementRadius = 1 |
Legacy grid-based strategy weights, retained by the Strategy API.
getAttackWeight()/getDefenseWeight() evaluate these within movementRadius grid cells. The live MatchEngine does not call those methods: extend its player behavior through tactical slot instructions and RoleProfile instead.
| float RoleWeights::attackWeight = 0.5f |
Tendency to engage in offensive actions
| float RoleWeights::defenseWeight = 0.5f |
Tendency to engage in defensive actions
| int RoleWeights::movementRadius = 1 |
Distance from lineup position