| 238 | } |
| 239 | |
| 240 | Vec2 Control::getTouchLocation(Touch* touch) |
| 241 | { |
| 242 | Vec2 touchLocation = touch->getLocation(); // Get the touch position |
| 243 | touchLocation = this->convertToNodeSpace(touchLocation); // Convert to the node space of this class |
| 244 | |
| 245 | return touchLocation; |
| 246 | } |
| 247 | |
| 248 | bool Control::onTouchBegan(Touch* /*touch*/, Event* /*event*/) |
| 249 | { |
no test coverage detected