mirror of
https://github.com/love2d/love.git
synced 2026-08-17 19:23:38 +02:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user