Class: RPG::Animation::Frame

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from RgssDb::JsonableConstructor

json_create, json_new

Methods included from RgssDb::Jsonable

#as_json, #to_json

Constructor Details

#initializeFrame

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_dataObject

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_maxObject

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