◆ OffensePlayFSM()
Creates an offense play FSM
- Parameters
-
| ai_config | the play config for this play FSM |
◆ enemyHasPossession()
| bool enemyHasPossession |
( |
const Update & |
event | ) |
|
Guard to check whether the enemy team has possession of the ball
- Parameters
-
- Returns
- whether the enemy team has possession of the ball
◆ setTactics()
| void setTactics |
( |
const Update & |
event, |
|
|
int |
num_shoot_or_pass, |
|
|
int |
num_defenders |
|
) |
| |
Helper function to set the tactics for the play depending on the specified number of attackers and defenders to setup
- Parameters
-
◆ setupDefensiveStrategy()
| void setupDefensiveStrategy |
( |
const Update & |
event | ) |
|
Action to configure the play for defensive gameplay
- Parameters
-
◆ setupOffensiveStrategy()
| void setupOffensiveStrategy |
( |
const Update & |
event | ) |
|
Action to configure the play for offensive gameplay
- Parameters
-
The documentation for this struct was generated from the following files:
- src/software/ai/hl/stp/play/offense/offense_play_fsm.h
- src/software/ai/hl/stp/play/offense/offense_play_fsm.cpp