Class: RPG::System::Words

Inherits:
Object
  • Object
show all
Extended by:
RgssDb::JsonableConstructor
Includes:
RgssDb::Jsonable
Defined in:
lib/rgss_db/model/rpg_maker_data/xp/rpg/system_words.rb

Overview

Data class for terminology.

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

#initializeWords

Returns a new instance of Words.



12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# File 'lib/rgss_db/model/rpg_maker_data/xp/rpg/system_words.rb', line 12

def initialize
  @gold = ""
  @hp = ""
  @sp = ""
  @str = ""
  @dex = ""
  @agi = ""
  @int = ""
  @atk = ""
  @pdef = ""
  @mdef = ""
  @weapon = ""
  @armor1 = ""
  @armor2 = ""
  @armor3 = ""
  @armor4 = ""
  @attack = ""
  @skill = ""
  @guard = ""
  @item = ""
  @equip = ""
end

Instance Attribute Details

#agiObject

Returns the value of attribute agi.



35
36
37
# File 'lib/rgss_db/model/rpg_maker_data/xp/rpg/system_words.rb', line 35

def agi
  @agi
end

#armor1Object

Returns the value of attribute armor1.



35
36
37
# File 'lib/rgss_db/model/rpg_maker_data/xp/rpg/system_words.rb', line 35

def armor1
  @armor1
end

#armor2Object

Returns the value of attribute armor2.



35
36
37
# File 'lib/rgss_db/model/rpg_maker_data/xp/rpg/system_words.rb', line 35

def armor2
  @armor2
end

#armor3Object

Returns the value of attribute armor3.



35
36
37
# File 'lib/rgss_db/model/rpg_maker_data/xp/rpg/system_words.rb', line 35

def armor3
  @armor3
end

#armor4Object

Returns the value of attribute armor4.



35
36
37
# File 'lib/rgss_db/model/rpg_maker_data/xp/rpg/system_words.rb', line 35

def armor4
  @armor4
end

#atkObject

Returns the value of attribute atk.



35
36
37
# File 'lib/rgss_db/model/rpg_maker_data/xp/rpg/system_words.rb', line 35

def atk
  @atk
end

#attackObject

Returns the value of attribute attack.



35
36
37
# File 'lib/rgss_db/model/rpg_maker_data/xp/rpg/system_words.rb', line 35

def attack
  @attack
end

#dexObject

Returns the value of attribute dex.



35
36
37
# File 'lib/rgss_db/model/rpg_maker_data/xp/rpg/system_words.rb', line 35

def dex
  @dex
end

#equipObject

Returns the value of attribute equip.



35
36
37
# File 'lib/rgss_db/model/rpg_maker_data/xp/rpg/system_words.rb', line 35

def equip
  @equip
end

#goldObject

Returns the value of attribute gold.



35
36
37
# File 'lib/rgss_db/model/rpg_maker_data/xp/rpg/system_words.rb', line 35

def gold
  @gold
end

#guardObject

Returns the value of attribute guard.



35
36
37
# File 'lib/rgss_db/model/rpg_maker_data/xp/rpg/system_words.rb', line 35

def guard
  @guard
end

#hpObject

Returns the value of attribute hp.



35
36
37
# File 'lib/rgss_db/model/rpg_maker_data/xp/rpg/system_words.rb', line 35

def hp
  @hp
end

#intObject

Returns the value of attribute int.



35
36
37
# File 'lib/rgss_db/model/rpg_maker_data/xp/rpg/system_words.rb', line 35

def int
  @int
end

#itemObject

Returns the value of attribute item.



35
36
37
# File 'lib/rgss_db/model/rpg_maker_data/xp/rpg/system_words.rb', line 35

def item
  @item
end

#mdefObject

Returns the value of attribute mdef.



35
36
37
# File 'lib/rgss_db/model/rpg_maker_data/xp/rpg/system_words.rb', line 35

def mdef
  @mdef
end

#pdefObject

Returns the value of attribute pdef.



35
36
37
# File 'lib/rgss_db/model/rpg_maker_data/xp/rpg/system_words.rb', line 35

def pdef
  @pdef
end

#skillObject

Returns the value of attribute skill.



35
36
37
# File 'lib/rgss_db/model/rpg_maker_data/xp/rpg/system_words.rb', line 35

def skill
  @skill
end

#spObject

Returns the value of attribute sp.



35
36
37
# File 'lib/rgss_db/model/rpg_maker_data/xp/rpg/system_words.rb', line 35

def sp
  @sp
end

#strObject

Returns the value of attribute str.



35
36
37
# File 'lib/rgss_db/model/rpg_maker_data/xp/rpg/system_words.rb', line 35

def str
  @str
end

#weaponObject

Returns the value of attribute weapon.



35
36
37
# File 'lib/rgss_db/model/rpg_maker_data/xp/rpg/system_words.rb', line 35

def weapon
  @weapon
end