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



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

def id
  @id
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



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

def type
  @type
end