mirror of
https://github.com/love2d/love.git
synced 2026-08-16 16:20:42 +02:00
Create DrawQable class, make Image and Canvas DrawQable, and make love.graphics.drawq take a DrawQable as its first argument
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
|
||||
// LOVE
|
||||
#include <graphics/Volatile.h>
|
||||
#include <graphics/Drawable.h>
|
||||
#include <graphics/DrawQable.h>
|
||||
#include <common/StringMap.h>
|
||||
|
||||
namespace love
|
||||
@@ -31,7 +31,7 @@ namespace love
|
||||
namespace graphics
|
||||
{
|
||||
|
||||
class Image : public Drawable, public Volatile
|
||||
class Image : public DrawQable, public Volatile
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user