Class: Rubygame::EventTriggers::TickTrigger
- Inherits:
-
Object
- Object
- Rubygame::EventTriggers::TickTrigger
- Defined in:
- lib/rubygame/event_triggers.rb
Overview
TickTrigger is an event trigger which will fire when the Clock ticks (ClockTicked).
Instance Method Summary collapse
-
#match?(event) ⇒ Boolean
Returns true if the event is a ClockTicked event.
Instance Method Details
#match?(event) ⇒ Boolean
Returns true if the event is a ClockTicked event.
680 681 682 |
# File 'lib/rubygame/event_triggers.rb', line 680 def match?( event ) event.kind_of?( Rubygame::Events::ClockTicked ) end |