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

#move ⇒ Symbol (readonly)

db_symbol of the move that can be learnt

Returns:

  • (Symbol)


923
924
925
# File 'docs/3_Studio.rb', line 923

def move
  @move
end

Instance Method Details

#breed_learnable? ⇒ Boolean

Test if the move is learnable by breeding

Returns:

  • (Boolean)


938
939
# File 'docs/3_Studio.rb', line 938

def breed_learnable?
end

#evolution_learnable? ⇒ Boolean

Test if the move is learnable by evolution

Returns:

  • (Boolean)


942
943
# File 'docs/3_Studio.rb', line 942

def evolution_learnable?
end

#level_learnable? ⇒ Boolean

Test if the move is learnable by level

Returns:

  • (Boolean)


926
927
# File 'docs/3_Studio.rb', line 926

def level_learnable?
end

#tech_learnable? ⇒ Boolean

Test if the move is learnable by tech item

Returns:

  • (Boolean)


934
935
# File 'docs/3_Studio.rb', line 934

def tech_learnable?
end

#tutor_learnable? ⇒ Boolean

Test if the move is learnable by tutor

Returns:

  • (Boolean)


930
931
# File 'docs/3_Studio.rb', line 930

def tutor_learnable?
end