class Nya::EventWrapper(T)

Overview

Helper class to wrap low level SDL events

Direct Known Subclasses

Defined in:

nya/event.cr

Constructors

Instance Method Summary

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

Constructor Detail

def self.new(inner : T) #

[View source]

Instance Method Detail

def inner : T #

[View source]
def inner=(inner : T) #

[View source]