Module: Tuile::Mouse::Event

Included in:
DownEvent, DragEvent, MoveEvent, ScrollEvent, UpEvent
Defined in:
lib/tuile/mouse.rb,
sig/tuile.rbs

Overview

Included by every mouse event class: a marker for case/is_a?, plus the #point they share.

Instance Method Summary collapse

Instance Method Details

#pointPoint

@return — the event's position.

Returns:



21
# File 'lib/tuile/mouse.rb', line 21

def point = Point.new(x, y)