(A1) change render method to now allow arbitary render targets. This is for drawing child elements on a grid
This commit is contained in:
parent
3b86089128
commit
1d852f875b
11 changed files with 24 additions and 17 deletions
|
|
@ -28,7 +28,8 @@ class UIDrawable
|
|||
{
|
||||
public:
|
||||
void render();
|
||||
virtual void render(sf::Vector2f) = 0;
|
||||
//virtual void render(sf::Vector2f) = 0;
|
||||
virtual void render(sf::Vector2f, sf::RenderTarget&) = 0;
|
||||
virtual PyObjectsEnum derived_type() = 0;
|
||||
|
||||
// Mouse input handling - callable object, methods to find event's destination
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue