Class: RPG::Animation::Timing

Inherits:
Object
  • Object
show all
Defined in:
lib/R3EXS/RGSS3.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeTiming

Returns a new instance of Timing.



1153
1154
1155
1156
1157
1158
1159
# File 'lib/R3EXS/RGSS3.rb', line 1153

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.



1164
1165
1166
# File 'lib/R3EXS/RGSS3.rb', line 1164

def flash_color
  @flash_color
end

#flash_durationObject

Returns the value of attribute flash_duration.



1165
1166
1167
# File 'lib/R3EXS/RGSS3.rb', line 1165

def flash_duration
  @flash_duration
end

#flash_scopeObject

Returns the value of attribute flash_scope.



1163
1164
1165
# File 'lib/R3EXS/RGSS3.rb', line 1163

def flash_scope
  @flash_scope
end

#frameObject

Returns the value of attribute frame.



1161
1162
1163
# File 'lib/R3EXS/RGSS3.rb', line 1161

def frame
  @frame
end

#seObject

Returns the value of attribute se.



1162
1163
1164
# File 'lib/R3EXS/RGSS3.rb', line 1162

def se
  @se
end