holesome/src/sprites/tiling/tileset_config.hpp

21 lines
456 B
C++

#ifndef HOLESOME_TILESET_CONFIG_HPP
#define HOLESOME_TILESET_CONFIG_HPP
#include <string>
#include <vector>
struct TileSetConfig
{
std::string sheetName;
std::vector<int> tileIndices = {};
TileSetConfig() = default;
TileSetConfig(std::string sheetName, std::vector<int> tileIndices)
{
this->sheetName = std::move(sheetName);
this->tileIndices = std::move(tileIndices);
}
};
#endif //HOLESOME_TILESET_CONFIG_HPP