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:
Bill Meltsner
2011-10-04 12:33:34 -04:00
parent 4cb247b3ea
commit 14348f6146
13 changed files with 233 additions and 40 deletions
+2 -2
View File
@@ -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: