Module: Playable

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

Instance Method Summary collapse

Instance Method Details

#boostObject



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

def boost
  self.health += 15
end

#drainObject



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

def drain
  self.health -= 10
end