Module: DiceGame::Playable
- Included in:
- Player
- Defined in:
- lib/dice_game/playable.rb
Instance Method Summary collapse
Instance Method Details
#boost ⇒ Object
4 5 6 |
# File 'lib/dice_game/playable.rb', line 4 def boost self.health += 15 end |
#drain ⇒ Object
8 9 10 |
# File 'lib/dice_game/playable.rb', line 8 def drain self.health -= 10 end |