TorchCraftAI
A bot for machine learning research on StarCraft: Brood War
staticdefencefocusfire.h
1 /*
2  * Copyright (c) 2017-present, Facebook, Inc.
3  *
4  * This source code is licensed under the MIT license found in the
5  * LICENSE file in the root directory of this source tree.
6  */
7 
8 #pragma once
9 
10 #include "module.h"
11 
12 namespace cherrypi {
13 
14 struct Unit;
15 
16 /**
17  * This module issues direct attack commands to static defence (sunken
18  * colonies, spore colonies, cannons and turrets) in order to focus fire and
19  * kill targets more efficiently.
20  */
22  public:
23  virtual void step(State* s) override;
24 };
25 
26 } // namespace cherrypi
Game state.
Definition: state.h:42
This module issues direct attack commands to static defence (sunken colonies, spore colonies...
Definition: staticdefencefocusfire.h:21
virtual void step(State *s) override
Definition: staticdefencefocusfire.cpp:20
replayer::Unit Unit
Definition: state.h:36
Main namespace for bot-related code.
Definition: areainfo.cpp:17
Interface for bot modules.
Definition: module.h:30