Class: Rubydraw::Events::KeyReleased
- Inherits:
-
KeyboardEvent
- Object
- Event
- KeyboardEvent
- Rubydraw::Events::KeyReleased
- Defined in:
- lib/rubydraw/events.rb
Overview
Created when any keyboard button is released, specifying the key.
- @key
-
An integer specifying the key, which can be matched with a Rubydraw button constants.
Instance Attribute Summary
Attributes inherited from KeyboardEvent
Class Method Summary collapse
Methods inherited from KeyboardEvent
Methods inherited from Event
#event?, from_sdl_event, matches?
Constructor Details
This class inherits a constructor from Rubydraw::Events::KeyboardEvent
Class Method Details
.matching_sdl_type ⇒ Object
123 124 125 |
# File 'lib/rubydraw/events.rb', line 123 def self.matching_sdl_type SDL::KEYUP end |
.wants_to_match? ⇒ Boolean
119 120 121 |
# File 'lib/rubydraw/events.rb', line 119 def self.wants_to_match? true end |