gamnit :: GamnitInputEvent :: NATIVE
Type of thenative
underlying SDL 2 event
gamnit :: GamnitInputEvent :: buffer
Native SDL 2 event buffer with the pseudo class hierarchy metadatagamnit :: GamnitInputEvent :: buffer=
Native SDL 2 event buffer with the pseudo class hierarchy metadatagamnit $ GamnitInputEvent :: SELF
Type of this instance, automatically specialized in every classgamnit :: GamnitInputEvent :: NATIVE
Type of thenative
underlying SDL 2 event
gamnit :: GamnitInputEvent :: buffer
Native SDL 2 event buffer with the pseudo class hierarchy metadatagamnit :: GamnitInputEvent :: buffer=
Native SDL 2 event buffer with the pseudo class hierarchy metadatacore :: Object :: class_factory
Implementation used byget_class
to create the specific class.
mnit :: InputEvent :: defaultinit
core :: Object :: defaultinit
core :: Object :: is_same_instance
Return true ifself
and other
are the same instance (i.e. same identity).
core :: Object :: is_same_serialized
Isself
the same as other
in a serialization context?
core :: Object :: is_same_type
Return true ifself
and other
have the same dynamic type.
core :: Object :: output_class_name
Display class name on stdout (debug only).
# SDL2 event wrapper implementing the `mnit::input` API
#
# There is two views to the underlying native object: `buffer` and `native`.
class GamnitInputEvent
super InputEvent
# Native SDL 2 event buffer with the pseudo class hierarchy metadata
var buffer: SDLEventBuffer
# Native SDL 2 event
var native: NATIVE
# Type of the `native` underlying SDL 2 event
type NATIVE: SDLEvent
end
lib/gamnit/gamnit_linux.nit:90,1--104,3