Class: Ruby2D::Window::EventDescriptor

Inherits:
Struct
  • Object
show all
Defined in:
lib/ruby2d/window.rb

Instance Attribute Summary collapse

Instance Attribute Details

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



9
10
11
# File 'lib/ruby2d/window.rb', line 9

def id
  @id
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



9
10
11
# File 'lib/ruby2d/window.rb', line 9

def type
  @type
end