RPG::Animation::Timing

The data class for the timing of an animation's SE and flash effects.

Superclass

Referrer

Attributes

frame

The frame number. 1 less than the number displayed in RPG Maker.

se

The sound effect or SE (RPG::SE).

flash_scope

The flash area (0: none, 1: target, 2: screen; 3: hide target).

flash_color

The color of the flash (Color).

flash_duration

The duration of the flash.

Definition

class RPG::Animation::Timing
  def initialize
    @frame = 0
    @se = RPG::SE.new('', 80)
    @flash_scope = 0
    @flash_color = Color.new(255,255,255,255)
    @flash_duration = 5
  end
  attr_accessor :frame
  attr_accessor :se
  attr_accessor :flash_scope
  attr_accessor :flash_color
  attr_accessor :flash_duration
end