| 657 | } |
| 658 | |
| 659 | bool Node::hitTest(const Vec2& worldPoint) const |
| 660 | { |
| 661 | auto p = this->convertToNodeSpace(worldPoint); |
| 662 | auto& s = this->getContentSize(); |
| 663 | return Rect{0.f, 0.f, s.width, s.height}.containsPoint(p); |
| 664 | } |
| 665 | |
| 666 | // isRunning getter |
| 667 | bool Node::isRunning() const |
nothing calls this directly
no test coverage detected