RPG::Animation

Data class for animation.

Superclass

Attributes

id

The animation ID.

name

The animation name.

animation_name

The animation's graphic file name.

animation_hue

The adjustment value for the animation graphic's hue (0..360).

position

The animation's position (0: top, 1: middle, 2: bottom, 3: screen).

frame_max

Number of frames.

frames

Frame contents. An RPG::Animation::Frame array.

timings

Timing for SE and flash effects. An RPG::Animation::Timing array.

Inner Classes

Definition

module RPG
  class Animation
    def initialize
      @id = 0
      @name = ""
      @animation_name = ""
      @animation_hue = 0
      @position = 1
      @frame_max = 1
      @frames = [RPG::Animation::Frame.new]
      @timings = []
    end
    attr_accessor :id
    attr_accessor :name
    attr_accessor :animation_name
    attr_accessor :animation_hue
    attr_accessor :position
    attr_accessor :frame_max
    attr_accessor :frames
    attr_accessor :timings
  end
end
Converted from CHM to HTML with chm2web Pro 2.85 (unicode)