Class: Rubydraw::Events::QuitRequest

Inherits:
Event show all
Defined in:
lib/rubydraw/events.rb

Overview

Created when the user attempts to close the window.

Class Method Summary collapse

Methods inherited from Event

#event?, from_sdl_event, matches?, wants_to_match?

Class Method Details

.matching_sdl_typeObject



253
254
255
# File 'lib/rubydraw/events.rb', line 253

def self.matching_sdl_type
  SDL::QUIT
end