mirror of
https://github.com/devZoGok/vb01.git
synced 2026-08-26 19:43:30 +00:00
21 lines
353 B
C++
21 lines
353 B
C++
#ifndef IMAGE_ASSET_H
|
|
#define IMAGE_ASSET_H
|
|
|
|
#include "asset.h"
|
|
|
|
namespace vb01{
|
|
struct ImageAsset : public Asset{
|
|
ImageAsset(std::string path, u8 *image, int width, int height){
|
|
this->path = path;
|
|
this->image = image;
|
|
this->width = width;
|
|
this->height = height;
|
|
}
|
|
|
|
u8 *image;
|
|
int width, height;
|
|
};
|
|
}
|
|
|
|
#endif
|