class RPG::System::Words

Public Class Methods

new(hash) click to toggle source
# File lib/rmxp_extractor/classnames.rb, line 541
def initialize(hash)
  hash.each do |key, value|
    eval("@#{key.to_s}=value")
  end
end

Public Instance Methods

hash() click to toggle source
# File lib/rmxp_extractor/classnames.rb, line 547
def hash
  dump = {
    gold: @gold,
    hp: @hp,
    sp: @sp,
    str: @str,
    dex: @dex,
    agi: @agi,
    int: @int,
    atk: @atk,
    pdef: @pdef,
    mdef: @mdef,
    weapon: @weapon,
    armor1: @armor1,
    armor2: @armor2,
    armor3: @armor3,
    armor4: @armor4,
    attack: @attack,
    skill: @skill,
    guard: @guard,
    item: @item,
    equip: @equip,
  }
end