Module: StudioGame::Playable
- Included in:
- Player
- Defined in:
- lib/studio_game/playable.rb
Instance Method Summary collapse
Instance Method Details
#boost ⇒ Object
3 |
# File 'lib/studio_game/playable.rb', line 3 def boost = self.health += 10 |
#drain ⇒ Object
4 |
# File 'lib/studio_game/playable.rb', line 4 def drain = self.health -= 10 |