class Nya::Input::MouseButtonEvent
Overview
Wrapper for SDL MouseButtonEvent
Defined in:
nya/input/events.crConstructors
Instance Method Summary
- #button(*args, **options)
- #button(*args, **options, &)
- #clicks(*args, **options)
- #clicks(*args, **options, &)
- #state(*args, **options)
- #state(*args, **options, &)
- #x(*args, **options)
- #x(*args, **options, &)
- #y(*args, **options)
- #y(*args, **options, &)
Instance methods inherited from class Nya::EventWrapper(LibSDL2::MouseButtonEvent)
inner : T
inner,
inner=(inner : T)
inner=
Constructor methods inherited from class Nya::EventWrapper(LibSDL2::MouseButtonEvent)
new(inner : T)
new
Instance methods inherited from class Nya::Event
status : Nya::EventStatus
status,
status=(status : Nya::EventStatus)
status=
Class methods inherited from class Nya::Event
send(name, event : Event)
send,
send_async(name, e : Event)
send_async,
subscribe(*events, handler)subscribe(*events, &handler : Event -> ) subscribe, unsubscribe(handler : EventHandler)
unsubscribe(id : Int64) unsubscribe