Class: Ruby2D::Window::EventDescriptor

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

Overview

Event structures

Instance Attribute Summary collapse

Instance Attribute Details

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



13
14
15
# File 'lib/ruby2d/window.rb', line 13

def id
  @id
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



13
14
15
# File 'lib/ruby2d/window.rb', line 13

def type
  @type
end