mirror of
https://github.com/zoriya/Bomberman.git
synced 2026-06-09 04:14:58 +00:00
fixing abstract Window.hpp
This commit is contained in:
@@ -42,4 +42,10 @@ Image RAY::Texture::toImage(void) const
|
||||
const ::Texture &RAY::Texture::getTexture(void) const
|
||||
{
|
||||
return this->_texture;
|
||||
}
|
||||
|
||||
bool RAY::Texture::unload()
|
||||
{
|
||||
UnloadTexture(this->_texture);
|
||||
return true;
|
||||
}
|
||||
@@ -35,14 +35,14 @@ namespace RAY
|
||||
Texture &operator=(const Texture &) = default;
|
||||
|
||||
//! @brief Texture destructor, will unload ressources
|
||||
~Texture();
|
||||
~Texture() override;
|
||||
|
||||
//! @brief load ressources from file
|
||||
//! @param filename: path of input
|
||||
bool load(const std::string &filename);
|
||||
|
||||
//! @brief unload ressources
|
||||
bool unload();
|
||||
bool unload() override;
|
||||
|
||||
//! @brief get image
|
||||
::Image toImage(void) const;
|
||||
|
||||
Reference in New Issue
Block a user