Class: Oakdex::Pokemon::GrowthEvents::DidNotLearnMove

Inherits:
Base
  • Object
show all
Defined in:
lib/oakdex/pokemon/growth_events/did_not_learn_move.rb

Overview

When move was not learned

Instance Method Summary collapse

Methods inherited from Base

#execute, #initialize, #possible_actions, #read_only?, #to_h

Constructor Details

This class inherits a constructor from Oakdex::Pokemon::GrowthEvents::Base

Instance Method Details

#messageObject



7
8
9
# File 'lib/oakdex/pokemon/growth_events/did_not_learn_move.rb', line 7

def message
  "#{@pokemon.name} did not learn #{@options[:move_id]}."
end