|
Porytiles
|
Use case for importing a primary Tileset. More...
#include <import_primary_tileset.hpp>
Public Member Functions | |
| ImportPrimaryTileset (std::unique_ptr< TilesetRepo > tileset_repo, std::unique_ptr< PrimaryTilesetCompiler > compiler, std::unique_ptr< DomainConfig > config) | |
| Constructs an ImportPrimaryTileset use case with the given repositories and services. | |
| Result< void > | import (const std::string &tileset_name) const |
| Imports the primary Tileset with the given tileset name. | |
Use case for importing a primary Tileset.
Definition at line 16 of file import_primary_tileset.hpp.
|
inline |
Constructs an ImportPrimaryTileset use case with the given repositories and services.
| tileset_repo | A pointer to the TilesetRepo for this use case |
| compiler | A pointer to the PrimaryTilesetCompiler for this use case |
| config | A pointer to the Config for this use case |
Definition at line 25 of file import_primary_tileset.hpp.
| Result< void > porytiles2::ImportPrimaryTileset::import | ( | const std::string & | tileset_name | ) | const |
Imports the primary Tileset with the given tileset name.
| tileset_name | The name of the primary Tileset to import |
Definition at line 11 of file import_primary_tileset.cpp.