|
Porytiles
|
Use case for creating a primary Tileset. More...
#include <create_primary_tileset.hpp>
Public Member Functions | |
| CreatePrimaryTileset (std::unique_ptr< TilesetRepo > tileset_repo, std::unique_ptr< PrimaryTilesetCompiler > compiler, std::unique_ptr< AssetGenerator > asset_generator) | |
| Constructs a CreatePrimaryTileset use case with the given repositories and services. | |
| Result< void > | create (const std::string &tileset_name) const |
| Creates the primary Tileset with the given tileset name. | |
Use case for creating a primary Tileset.
Definition at line 16 of file create_primary_tileset.hpp.
|
inline |
Constructs a CreatePrimaryTileset 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. |
| asset_generator | A pointer to the AssetGenerator for this use case. |
Definition at line 25 of file create_primary_tileset.hpp.
| Result< void > porytiles2::CreatePrimaryTileset::create | ( | const std::string & | tileset_name | ) | const |
Creates the primary Tileset with the given tileset name.
| tileset_name | The name of the primary Tileset to create. |
Definition at line 13 of file create_primary_tileset.cpp.