World of Might and Magic  0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
GameFactory.h
См. документацию.
1 #pragma once
2 
3 #include <memory>
4 #include <string>
5 
6 #include "src/Application/Game.h"
7 
8 namespace Application {
9 
10 class GameFactory {
11  public:
12  std::shared_ptr<Game> CreateGame(const std::string &command_line);
13 
14  private:
15  std::shared_ptr<const Configuration> CreateConfiguration(const std::string &command_line);
16 };
17 
18 } // namespace Application
Game.h
Application
Definition: Configuration.h:5
Application::GameFactory
Definition: GameFactory.h:10
Application::GameFactory::CreateConfiguration
std::shared_ptr< const Configuration > CreateConfiguration(const std::string &command_line)
Definition: GameFactory.cpp:10
Application::GameFactory::CreateGame
std::shared_ptr< Game > CreateGame(const std::string &command_line)
Definition: GameFactory.cpp:17
string
GLsizei const GLchar *const * string
Definition: SDL_opengl_glext.h:691