TorchCraftAI
A bot for machine learning research on StarCraft: Brood War
microscenarioproviderfixed.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 "microscenarioprovider.h"
11 
12 namespace cherrypi {
13 
15  public:
18  MicroScenarioProviderFixed(std::string const& scenarioName);
19 
20  void loadScenario(std::string const& scenarioName);
21  void loadScenario(FixedScenario const&);
22 
23  // List the names of all available scenarios
24  static std::vector<std::string> listScenarios();
25 
26  protected:
28 };
29 
30 } // namespace cherrypi
FixedScenario getFixedScenario() override
Definition: microscenarioproviderfixed.cpp:48
Definition: microscenarioproviderfixed.h:14
void loadScenario(std::string const &scenarioName)
Definition: microscenarioproviderfixed.cpp:30
Definition: microscenarioprovider.h:18
MicroScenarioProviderFixed()
Definition: microscenarioproviderfixed.h:16
Definition: scenariospecification.h:57
Main namespace for bot-related code.
Definition: areainfo.cpp:17
static std::vector< std::string > listScenarios()
Definition: microscenarioproviderfixed.cpp:39