#include <shadow_enemy_tactic.h>
|
|
std::optional< RobotId > | last_execution_robot |
| |
The ShadowEnemyTactic will shadow and mark the robot specified in the given EnemyThreat. It will choose to either block the enemy's shot on net or the pass it would receive from another enemy.
◆ accept()
Accepts a Tactic Visitor and calls the visit function on itself
- Parameters
-
Implements Tactic.
◆ updateControlParams()
| void updateControlParams |
( |
std::optional< EnemyThreat > |
enemy_threat, |
|
|
double |
shadow_distance |
|
) |
| |
Updates the control parameters for this ShadowEnemyTactic
- Parameters
-
| enemy_threat | The EnemyThreat indicating which enemy to shadow |
| shadow_distance | How far from the enemy the robot will shadow. This is the distance between the center of the enemy robot and the center of the robot shadowing it |
The documentation for this class was generated from the following files:
- src/software/ai/hl/stp/tactic/shadow_enemy/shadow_enemy_tactic.h
- src/software/ai/hl/stp/tactic/shadow_enemy/shadow_enemy_tactic.cpp