mirror of
https://github.com/zoriya/Bomberman.git
synced 2025-12-20 13:25:10 +00:00
image have been enhance, so it can now be drawn on a window
This commit is contained in:
@@ -21,6 +21,12 @@ namespace RAY {
|
||||
{
|
||||
}
|
||||
|
||||
Texture::Texture(const Image &image):
|
||||
_texture(LoadTextureFromImage(image)),
|
||||
_resourcePath("IMAGE")
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Texture &Texture::operator=(const Texture &other)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user