mirror of
https://github.com/zoriya/Bomberman.git
synced 2026-05-28 16:43:29 +00:00
fix merge
This commit is contained in:
@@ -48,4 +48,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,7 +35,7 @@ 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
|
||||
|
||||
@@ -96,7 +96,7 @@ namespace RAY {
|
||||
|
||||
//! @brief draw rectangle
|
||||
//! @param drawable The drawable to render on screen
|
||||
void draw(Drawables::IDrawable &drawable);
|
||||
void draw(Drawables::IDrawable &drawable) override;
|
||||
|
||||
//! @brief draw texture at position
|
||||
//! @param texture The object to render
|
||||
|
||||
Reference in New Issue
Block a user