mirror of
https://github.com/zoriya/Bomberman.git
synced 2025-12-20 13:25:10 +00:00
singleton for window
This commit is contained in:
@@ -34,6 +34,12 @@ bool RAY::Texture::load(const std::string &filename)
|
||||
return true;
|
||||
}
|
||||
|
||||
bool RAY::Texture::unload()
|
||||
{
|
||||
UnloadTexture(this->_texture);
|
||||
return true;
|
||||
}
|
||||
|
||||
Image RAY::Texture::toImage(void) const
|
||||
{
|
||||
return GetTextureData(_texture);
|
||||
|
||||
Reference in New Issue
Block a user