mirror of
https://github.com/zoriya/Bomberman.git
synced 2025-12-20 21:35:12 +00:00
change window draw function to IDrawable
This commit is contained in:
@@ -146,12 +146,7 @@ void RAY::Window::setTitle(const std::string &title)
|
||||
this->_title = title;
|
||||
}
|
||||
|
||||
void RAY::Window::draw(RAY::Drawables::ADrawable2D &drawable)
|
||||
{
|
||||
drawable.drawOn(*this);
|
||||
}
|
||||
|
||||
void RAY::Window::draw(RAY::Drawables::ADrawable3D &drawable)
|
||||
void RAY::Window::draw(RAY::Drawables::IDrawable &drawable)
|
||||
{
|
||||
drawable.drawOn(*this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user