Bottle 2D - Lua API 1.0.0
All you need to create games using bottle2D.
|
Mouse enter / leave physic object event, see Screen::RegisterMouseZoneEvent to register a MouseZone event. More...
#include <header.hpp>
Public Member Functions | |
PhysicObject | GetZone () |
Get the zone (a Physic object) used to detect mouse entering / exiting. | |
nil | SetZone (PhysicObject zone) |
Set the zone (a Physic object) used to detect mouse entering / exiting. | |
bool | IsInside () |
Return true if the mouse is currently inside the zone, else overwise. | |
Public Attributes | |
float | zone |
Access the zone (a Physic object) used to detect mouse entering / exiting. |
Mouse enter / leave physic object event, see Screen::RegisterMouseZoneEvent to register a MouseZone event.
PhysicObject MouseZoneEvent::GetZone | ( | ) |
Get the zone (a Physic object) used to detect mouse entering / exiting.
bool MouseZoneEvent::IsInside | ( | ) |
Return true if the mouse is currently inside the zone, else overwise.
nil MouseZoneEvent::SetZone | ( | PhysicObject | zone | ) |
Set the zone (a Physic object) used to detect mouse entering / exiting.
float MouseZoneEvent::zone |
Access the zone (a Physic object) used to detect mouse entering / exiting.