Class: RPG::Class::Learning
- Inherits:
-
Object
- Object
- RPG::Class::Learning
- Defined in:
- lib/rgss3/rpg.rb
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.
Constructor Details
#initialize ⇒ Learning
Returns a new instance of Learning.
446 447 448 449 450 |
# File 'lib/rgss3/rpg.rb', line 446 def initialize @level = 1 @skill_id = 1 @note = '' end |
Instance Attribute Details
#level ⇒ Object
Returns the value of attribute level.
451 452 453 |
# File 'lib/rgss3/rpg.rb', line 451 def level @level end |
#note ⇒ Object
Returns the value of attribute note.
453 454 455 |
# File 'lib/rgss3/rpg.rb', line 453 def note @note end |
#skill_id ⇒ Object
Returns the value of attribute skill_id.
452 453 454 |
# File 'lib/rgss3/rpg.rb', line 452 def skill_id @skill_id end |