class RPG::Animation

Attributes

animation1_hue[RW]
animation1_name[RW]
animation2_hue[RW]
animation2_name[RW]
frame_max[RW]
frames[RW]
id[RW]
name[RW]
position[RW]
timings[RW]

Public Class Methods

new() click to toggle source
# File lib/rgss3/rpg.rb, line 815
def initialize
  @id = 0
  @name = ''
  @animation1_name = ''
  @animation1_hue = 0
  @animation2_name = ''
  @animation2_hue = 0
  @position = 1
  @frame_max = 1
  @frames = [RPG::Animation::Frame.new]
  @timings = []
end

Public Instance Methods

to_screen?() click to toggle source
# File lib/rgss3/rpg.rb, line 827
def to_screen?
  @position == 3
end