◆ ShootOrPassPlayFSM()
Creates a shoot or pass play FSM
- Parameters
-
| ai_config | the play config for this play FSM |
◆ lookForPass()
| void lookForPass |
( |
const Update & |
event | ) |
|
Action that looks for a pass
- Parameters
-
◆ passCompleted()
| bool passCompleted |
( |
const Update & |
event | ) |
|
Guard on whether the pass has completed
- Parameters
-
- Returns
- whether the pass has completed
◆ passFound()
| bool passFound |
( |
const Update & |
event | ) |
|
Guard to check if a pass has been found
- Parameters
-
- Returns
- whether a pass has been found
◆ shouldAbortPass()
| bool shouldAbortPass |
( |
const Update & |
event | ) |
|
Guard on whether to abort the pass
- Parameters
-
- Returns
- whether the pass should be aborted
◆ startLookingForPass()
| void startLookingForPass |
( |
const Update & |
event | ) |
|
Action to restart looking for a pass
- Parameters
-
◆ takePass()
| void takePass |
( |
const Update & |
event | ) |
|
Action to take a pass
- Parameters
-
◆ tookShot()
| bool tookShot |
( |
const Update & |
event | ) |
|
Guard on whether a shot has been taken
- Parameters
-
- Returns
- whether the shot has been taken
◆ updateOffensivePositioningTactics()
| void updateOffensivePositioningTactics |
( |
const WorldPtr |
world, |
|
|
unsigned int |
num_tactics, |
|
|
const std::vector< Point > & |
existing_receiver_positions = {}, |
|
|
const std::optional< Point > & |
pass_origin_override = std::nullopt |
|
) |
| |
Updates the offensive positioning tactics
- Parameters
-
| world | the world |
| num_tactics | the number of tactics to assign |
| existing_receiver_positions | A set of positions of existing receiver positions that should be taken into account when assigning additional offensive tactics. |
| pass_origin_override | An optional point that the pass origin should be overridden to |
The documentation for this struct was generated from the following files:
- src/software/ai/hl/stp/play/shoot_or_pass/shoot_or_pass_play_fsm.h
- src/software/ai/hl/stp/play/shoot_or_pass/shoot_or_pass_play_fsm.cpp