Class: Moon::MouseFocusedEvent

Inherits:
WrappedStateEvent show all
Includes:
MouseEvent
Defined in:
lib/moon/packages/std/event.rb

Overview

Event triggered when a Mouse click takes place inside an Object.

Instance Attribute Summary

Attributes inherited from WrappedStateEvent

#state

Attributes inherited from WrappedEvent

#original_event, #parent

Attributes inherited from Event

#id, #type

Instance Method Summary collapse

Methods inherited from Event

make_filter

Constructor Details

#initialize(event, parent, state) ⇒ MouseFocusedEvent

Returns a new instance of MouseFocusedEvent.

Parameters:


201
202
203
# File 'lib/moon/packages/std/event.rb', line 201

def initialize(event, parent, state)
  super event, parent, state, :mousefocus
end