Module: StudioGame::Playable

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

Instance Method Summary collapse

Instance Method Details

#boostObject



7
8
9
# File 'lib/studio_game/playable.rb', line 7

def boost
    self.health += 15
end

#drainObject



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

def drain
    self.health -= 10 
end