mirror of
https://github.com/ApfelTeeSaft/vb01.git
synced 2026-08-26 19:33:45 +00:00
23 lines
454 B
C++
23 lines
454 B
C++
#ifndef IMAGE_READER_H
|
|
#define IMAGE_READER_H
|
|
|
|
#include "util.h"
|
|
#include "imageAsset.h"
|
|
#include "abstractAssetReader.h"
|
|
|
|
namespace vb01{
|
|
class ImageReader : public AbstractAssetReader{
|
|
public:
|
|
static ImageReader* getSingleton();
|
|
inline void setFlip(bool flip){this->flip = flip;}
|
|
inline bool isFlip(){return flip;}
|
|
Asset* readAsset(std::string);
|
|
private:
|
|
ImageReader(){}
|
|
|
|
bool flip = false;
|
|
};
|
|
}
|
|
|
|
#endif
|