Module: StudioGame::Playable

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

Instance Method Summary collapse

Instance Method Details

#boostObject



3
# File 'lib/studio_game/playable.rb', line 3

def boost = self.health += 10

#drainObject



4
# File 'lib/studio_game/playable.rb', line 4

def drain = self.health -= 10