Class: RPG::Class::Learning

Inherits:
Object
  • Object
show all
Defined in:
lib/rgss3/rpg.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeLearning

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

#levelObject

Returns the value of attribute level.



451
452
453
# File 'lib/rgss3/rpg.rb', line 451

def level
  @level
end

#noteObject

Returns the value of attribute note.



453
454
455
# File 'lib/rgss3/rpg.rb', line 453

def note
  @note
end

#skill_idObject

Returns the value of attribute skill_id.



452
453
454
# File 'lib/rgss3/rpg.rb', line 452

def skill_id
  @skill_id
end