class RPG::Animation::Frame

Public Class Methods

new(hash) click to toggle source
# File lib/rmxp_extractor/classnames.rb, line 693
def initialize(hash)
  @cell_max = hash["cell_max"]
  @cell_data = Table.new hash["cell_data"], false
end

Public Instance Methods

hash() click to toggle source
# File lib/rmxp_extractor/classnames.rb, line 698
def hash
  dump = {
    cell_max: @cell_max,
    cell_data: @cell_data.hash,
  }
end