Class: RPG::Animation::Timing

Inherits:
Object
  • Object
show all
Defined in:
lib/rgss3/rpg.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeTiming

Returns a new instance of Timing.



854
855
856
857
858
859
860
# File 'lib/rgss3/rpg.rb', line 854

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

Instance Attribute Details

#flash_colorObject

Returns the value of attribute flash_color.



864
865
866
# File 'lib/rgss3/rpg.rb', line 864

def flash_color
  @flash_color
end

#flash_durationObject

Returns the value of attribute flash_duration.



865
866
867
# File 'lib/rgss3/rpg.rb', line 865

def flash_duration
  @flash_duration
end

#flash_scopeObject

Returns the value of attribute flash_scope.



863
864
865
# File 'lib/rgss3/rpg.rb', line 863

def flash_scope
  @flash_scope
end

#frameObject

Returns the value of attribute frame.



861
862
863
# File 'lib/rgss3/rpg.rb', line 861

def frame
  @frame
end

#seObject

Returns the value of attribute se.



862
863
864
# File 'lib/rgss3/rpg.rb', line 862

def se
  @se
end