Class: MG::FadeOut

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

Instance Attribute Summary

Attributes inherited from Action

#done?

Constructors collapse

Methods inherited from Action

#clone, #reverse

Constructor Details

#initialize(interval) ⇒ FadeOut

Creates an action Fades Out the receiver. It modifies the opacity from the 255 to 0.

Parameters:

  • interval (Float)

    the animation interval.



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

def initialize(interval); end