Removed love.touch.getTouchCount and love.touch.getTouch. Added love.touch.getTouchIDs and love.touch.getPosition.

love.touch.getTouchIDs returns an array of all currently active touch IDs. love.touch.getPosition takes an active touch ID and returns the current position of that touch.

--HG--
branch : minor
This commit is contained in:
Alex Szpakowski
2015-02-17 18:33:59 -04:00
parent 482b61187f
commit 77d90e2260
5 changed files with 44 additions and 37 deletions
+2 -2
View File
@@ -30,8 +30,8 @@ namespace love
namespace touch
{
int w_getTouchCount(lua_State *L);
int w_getTouch(lua_State *L);
int w_getTouchIDs(lua_State *L);
int w_getPosition(lua_State *L);
extern "C" LOVE_EXPORT int luaopen_love_touch(lua_State *L);
} // touch