Sha256: 4ce3ac2b4d23cec1eeeb44e777a328652d820862294f1ab51d22bb42e5ab98d3

Contents?: true

Size: 348 Bytes

Versions: 5

Compression:

Stored size: 348 Bytes

Contents

module Processing


  # Touch object.
  #
  class Touch

    # Identifier of each touch
    #
    attr_reader :id

    # Horizontal position of touch
    #
    attr_reader :x

    # Vertical position of touch
    #
    attr_reader :y

    # @private
    def initialize(id, x, y)
      @id, @x, @y = id, x, y
    end

  end# Touch


end# Processing

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
processing-0.5.4 lib/processing/touch.rb
processing-0.5.3 lib/processing/touch.rb
processing-0.5.2 lib/processing/touch.rb
processing-0.5.1 lib/processing/touch.rb
processing-0.5.0 lib/processing/touch.rb