Class: Studio::LevelLearnableMove

Inherits:
LearnableMove show all
Defined in:
docs/3_Studio.rb

Overview

Data class describing a move learnable by level

Instance Attribute Summary collapse

Attributes inherited from LearnableMove

#move

Instance Method Summary collapse

Methods inherited from LearnableMove

#breed_learnable?, #evolution_learnable?, #tech_learnable?, #tutor_learnable?

Instance Attribute Details

#levelInteger (readonly)

Level when the move can be learnt

Returns:

  • (Integer)


823
824
825
# File 'docs/3_Studio.rb', line 823

def level
  @level
end

Instance Method Details

#level_learnable?Boolean

Test if the move is learnable by level

Returns:

  • (Boolean)


826
827
# File 'docs/3_Studio.rb', line 826

def level_learnable?
end