Thunderbots Project
Loading...
Searching...
No Matches
shoot_or_pass_play.h
1#pragma once
2
3#include "proto/parameters.pb.h"
4#include "software/ai/hl/stp/play/play.h"
5#include "software/ai/hl/stp/play/shoot_or_pass/shoot_or_pass_play_fsm.h"
6
10class ShootOrPassPlay : public Play
11{
12 public:
13 ShootOrPassPlay(TbotsProto::AiConfig config);
14
15 void getNextTactics(TacticCoroutine::push_type &yield,
16 const WorldPtr &world_ptr) override;
17 void updateTactics(const PlayUpdate &play_update) override;
18 std::vector<std::string> getState() override;
19
20 private:
21 FSM<ShootOrPassPlayFSM> fsm;
23};
Definition play.h:34
Definition shoot_or_pass_play.h:11
void updateTactics(const PlayUpdate &play_update) override
Definition shoot_or_pass_play.cpp:23
std::vector< std::string > getState() override
Definition shoot_or_pass_play.cpp:28
void getNextTactics(TacticCoroutine::push_type &yield, const WorldPtr &world_ptr) override
Definition shoot_or_pass_play.cpp:13
Definition play_fsm.h:25
Definition shoot_or_pass_play_fsm.h:25