holesome/src/sprites/tiling/tileset_config.hpp

22 lines
456 B
C++
Raw Normal View History

2023-06-11 13:24:27 +02:00
#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