Class: MG::Blink

Inherits:
Action show all
Defined in:
doc/API_reference.rb

Constructors collapse

Methods inherited from Action

#clone, #done?, #reverse

Constructor Details

#initialize(blinks, interval) ⇒ Blink

Creates an action that Blinks the receiver by modifying it’s visible attribute.

Parameters:

  • blinks (Integer)

    the number of times to blink.

  • interval (Float)

    the animation interval.



235
# File 'doc/API_reference.rb', line 235

def initialize(blinks, interval); end