22#include <kiwano/base/component/Component.h>
23#include <kiwano/event/MouseEvent.h>
47 bool IsHovering()
const;
51 bool IsPressing()
const;
56 void HandleEvent(
Event* evt)
override;
组件
Definition: Component.h:48
鼠标传感器
Definition: MouseSensor.h:39
bool IsHovering() const
鼠标是否正悬于角色上
Definition: MouseSensor.h:65
bool IsPressing() const
鼠标是否正按于角色上
Definition: MouseSensor.h:70