Class: RPG::Animation::Frame
- Inherits:
-
Object
- Object
- RPG::Animation::Frame
- Extended by:
- RgssDb::JsonableConstructor
- Includes:
- RgssDb::Jsonable
- Defined in:
- lib/rgss_db/model/rpg_maker_data/vx/rpg/animation_frame.rb,
lib/rgss_db/model/rpg_maker_data/xp/rpg/animation_frame.rb,
lib/rgss_db/model/rpg_maker_data/vx_ace/rpg/animation_frame.rb
Overview
The data class for animation frames.
Instance Attribute Summary collapse
-
#cell_data ⇒ Object
Returns the value of attribute cell_data.
-
#cell_max ⇒ Object
Returns the value of attribute cell_max.
Instance Method Summary collapse
-
#initialize ⇒ Frame
constructor
A new instance of Frame.
Methods included from RgssDb::JsonableConstructor
Methods included from RgssDb::Jsonable
Constructor Details
#initialize ⇒ Frame
Returns a new instance of Frame.
12 13 14 15 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/animation_frame.rb', line 12 def initialize @cell_max = 0 @cell_data = Table.new(0, 0) end |
Instance Attribute Details
#cell_data ⇒ Object
Returns the value of attribute cell_data.
17 18 19 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/animation_frame.rb', line 17 def cell_data @cell_data end |
#cell_max ⇒ Object
Returns the value of attribute cell_max.
17 18 19 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/animation_frame.rb', line 17 def cell_max @cell_max end |