Node类
virtual Rect getBoundingBox() const返回父坐标系中的一个AABB(轴向包围外框)。
Rect类
bool containsPoint (const Vec2 &point) const 检查一个点是否包含在矩形中。
Touch类
Vec2 getLocation() const获取当前的触摸点在 OpenGL 坐标系下的坐标。
touch begin 一定要返回true 不然moved end 都不会执行