mirror of
https://github.com/libAthena/athena.git
synced 2025-12-09 05:27:50 +00:00
* Refactor Stream and *Reader classes
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
#ifndef SSPRITEFILEREADER_HPP
|
||||
#define SSPRITEFILEREADER_HPP
|
||||
|
||||
#include "Athena/BinaryReader.hpp"
|
||||
#include "Athena/MemoryReader.hpp"
|
||||
|
||||
namespace Athena
|
||||
{
|
||||
@@ -29,9 +29,9 @@ class SpriteFile;
|
||||
namespace io
|
||||
{
|
||||
|
||||
class SpriteFileReader : public BinaryReader
|
||||
class SpriteFileReader : public MemoryReader
|
||||
{
|
||||
BINARYREADER_BASE();
|
||||
MEMORYREADER_BASE();
|
||||
public:
|
||||
SpriteFileReader(atUint8* data, atUint64 length);
|
||||
SpriteFileReader(const std::string& filepath);
|
||||
|
||||
Reference in New Issue
Block a user