Class: RPG::Animation::Timing
- Inherits:
-
Object
- Object
- RPG::Animation::Timing
- Defined in:
- lib/R3EXS/RGSS3.rb
Instance Attribute Summary collapse
-
#flash_color ⇒ Object
Returns the value of attribute flash_color.
-
#flash_duration ⇒ Object
Returns the value of attribute flash_duration.
-
#flash_scope ⇒ Object
Returns the value of attribute flash_scope.
-
#frame ⇒ Object
Returns the value of attribute frame.
-
#se ⇒ Object
Returns the value of attribute se.
Instance Method Summary collapse
-
#initialize ⇒ Timing
constructor
A new instance of Timing.
Constructor Details
#initialize ⇒ Timing
Returns a new instance of Timing.
1175 1176 1177 1178 1179 1180 1181 |
# File 'lib/R3EXS/RGSS3.rb', line 1175 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_color ⇒ Object
Returns the value of attribute flash_color.
1186 1187 1188 |
# File 'lib/R3EXS/RGSS3.rb', line 1186 def flash_color @flash_color end |
#flash_duration ⇒ Object
Returns the value of attribute flash_duration.
1187 1188 1189 |
# File 'lib/R3EXS/RGSS3.rb', line 1187 def flash_duration @flash_duration end |
#flash_scope ⇒ Object
Returns the value of attribute flash_scope.
1185 1186 1187 |
# File 'lib/R3EXS/RGSS3.rb', line 1185 def flash_scope @flash_scope end |
#frame ⇒ Object
Returns the value of attribute frame.
1183 1184 1185 |
# File 'lib/R3EXS/RGSS3.rb', line 1183 def frame @frame end |
#se ⇒ Object
Returns the value of attribute se.
1184 1185 1186 |
# File 'lib/R3EXS/RGSS3.rb', line 1184 def se @se end |