Class: RPG::Class::Learning
- Inherits:
-
Object
- Object
- RPG::Class::Learning
- Extended by:
- RgssDb::JsonableConstructor
- Includes:
- RgssDb::Jsonable
- Defined in:
- lib/rgss_db/model/rpg_maker_data/vx/rpg/class_learning.rb,
lib/rgss_db/model/rpg_maker_data/xp/rpg/class_learning.rb,
lib/rgss_db/model/rpg_maker_data/vx_ace/rpg/class_learning.rb
Overview
The data class for a class’s [Skills to Learn].
Instance Attribute Summary collapse
-
#level ⇒ Object
Returns the value of attribute level.
-
#note ⇒ Object
Returns the value of attribute note.
-
#skill_id ⇒ Object
Returns the value of attribute skill_id.
Instance Method Summary collapse
-
#initialize ⇒ Learning
constructor
A new instance of Learning.
Methods included from RgssDb::JsonableConstructor
Methods included from RgssDb::Jsonable
Constructor Details
#initialize ⇒ Learning
Returns a new instance of Learning.
12 13 14 15 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/class_learning.rb', line 12 def initialize @level = 1 @skill_id = 1 end |
Instance Attribute Details
#level ⇒ Object
Returns the value of attribute level.
17 18 19 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/class_learning.rb', line 17 def level @level end |
#note ⇒ Object
Returns the value of attribute note.
21 22 23 |
# File 'lib/rgss_db/model/rpg_maker_data/vx_ace/rpg/class_learning.rb', line 21 def note @note end |
#skill_id ⇒ Object
Returns the value of attribute skill_id.
17 18 19 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/class_learning.rb', line 17 def skill_id @skill_id end |