Method: StudioGame::ClumsyPlayer#initialize
- Defined in:
- lib/studio_game/clumsy_player.rb
#initialize(name, health = 100, boost_factor = 1) ⇒ ClumsyPlayer
Returns a new instance of ClumsyPlayer.
7 8 9 10 |
# File 'lib/studio_game/clumsy_player.rb', line 7 def initialize(name, health=100, boost_factor=1) super(name, health) @boost_factor = boost_factor end |