Class: Studio::LearnableMove

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

Overview

Data class describing a learnable move

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#moveSymbol (readonly)

db_symbol of the move that can be learnt

Returns:

  • (Symbol)


797
798
799
# File 'docs/3_Studio.rb', line 797

def move
  @move
end

Instance Method Details

#breed_learnable?Boolean

Test if the move is learnable by breeding

Returns:

  • (Boolean)


812
813
# File 'docs/3_Studio.rb', line 812

def breed_learnable?
end

#evolution_learnable?Boolean

Test if the move is learnable by evolution

Returns:

  • (Boolean)


816
817
# File 'docs/3_Studio.rb', line 816

def evolution_learnable?
end

#level_learnable?Boolean

Test if the move is learnable by level

Returns:

  • (Boolean)


800
801
# File 'docs/3_Studio.rb', line 800

def level_learnable?
end

#tech_learnable?Boolean

Test if the move is learnable by tech item

Returns:

  • (Boolean)


808
809
# File 'docs/3_Studio.rb', line 808

def tech_learnable?
end

#tutor_learnable?Boolean

Test if the move is learnable by tutor

Returns:

  • (Boolean)


804
805
# File 'docs/3_Studio.rb', line 804

def tutor_learnable?
end