mirror of https://github.com/libAthena/athena.git
21 lines
399 B
C++
21 lines
399 B
C++
#pragma once
|
|
|
|
#include "athena/MemoryReader.hpp"
|
|
|
|
namespace athena::Sakura {
|
|
class SpriteFile;
|
|
} // namespace athena::Sakura
|
|
|
|
namespace athena {
|
|
namespace io {
|
|
|
|
class SpriteFileReader : public MemoryCopyReader {
|
|
public:
|
|
SpriteFileReader(atUint8* data, atUint64 length);
|
|
SpriteFileReader(const std::string& filepath);
|
|
|
|
Sakura::SpriteFile* readFile();
|
|
};
|
|
} // namespace io
|
|
} // namespace athena
|