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

#initialize ⇒ Words

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

#agi ⇒ Object

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

#armor1 ⇒ Object

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

#armor2 ⇒ Object

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

#armor3 ⇒ Object

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

#armor4 ⇒ Object

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

#atk ⇒ Object

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

#attack ⇒ Object

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

#dex ⇒ Object

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

#equip ⇒ Object

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

#gold ⇒ Object

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

#guard ⇒ Object

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

#hp ⇒ Object

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

#int ⇒ Object

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

#item ⇒ Object

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

#mdef ⇒ Object

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

#pdef ⇒ Object

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

#skill ⇒ Object

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

#sp ⇒ Object

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

#str ⇒ Object

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

#weapon ⇒ Object

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