.................

This commit is contained in:
2025-11-11 22:19:18 -05:00
parent 7e1b8c8b04
commit d7c481a20b
8 changed files with 32 additions and 4 deletions
+6 -1
View File
@@ -29,6 +29,11 @@ namespace anm2ed::anm2
texture = Texture(this->path);
}
Spritesheet::Spritesheet(const std::filesystem::path& directory, const std::filesystem::path& path)
: Spritesheet(directory.string(), path.string())
{
}
XMLElement* Spritesheet::to_element(XMLDocument& document, int id)
{
auto element = document.NewElement("Spritesheet");
@@ -60,4 +65,4 @@ namespace anm2ed::anm2
bool Spritesheet::is_valid() { return texture.is_valid(); }
}
}