Added SpriteBatch:isEmpty() and SpriteBatch:isFull()

This commit is contained in:
Alex Szpakowski
2013-03-01 17:32:38 -04:00
parent 34f291f26e
commit d3cdb7d609
4 changed files with 41 additions and 2 deletions
@@ -37,10 +37,13 @@ int w_SpriteBatch_addq(lua_State *L);
int w_SpriteBatch_set(lua_State *L);
int w_SpriteBatch_setq(lua_State *L);
int w_SpriteBatch_clear(lua_State *L);
int w_SpriteBatch_lock(lua_State *L);
int w_SpriteBatch_unlock(lua_State *L);
int w_SpriteBatch_bind(lua_State *L);
int w_SpriteBatch_unbind(lua_State *L);
int w_SpriteBatch_setImage(lua_State *L);
int w_SpriteBatch_getImage(lua_State *L);
int w_SpriteBatch_setColor(lua_State *L);
int w_SpriteBatch_isEmpty(lua_State *L);
int w_SpriteBatch_isFull(lua_State *L);
extern "C" int luaopen_spritebatch(lua_State *L);