Module: DiceGame::Playable

Included in:
Player
Defined in:
lib/dice_game/playable.rb

Instance Method Summary collapse

Instance Method Details

#boostObject



4
5
6
# File 'lib/dice_game/playable.rb', line 4

def boost
  self.health += 15
end

#drainObject



8
9
10
# File 'lib/dice_game/playable.rb', line 8

def drain
  self.health -= 10
end