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
@@ -43,8 +43,8 @@ public:
virtual ~Touch() {}
virtual int getTouchCount() const;
virtual TouchInfo getTouch(int index) const;
virtual std::vector<int64> getTouchIDs() const;
virtual void getPosition(int64 id, double &x, double &y) const;
// Implements Module.
virtual const char *getName() const;