module Playable

Public Instance Methods

blam() click to toggle source
# File lib/playable.rb, line 2
def blam
  @health = @health - 10
  puts "#{name} got blammed!"
  health
end
strong?() click to toggle source
# File lib/playable.rb, line 12
def strong?
  if @health >100
    return true
  else
    return false
  end
end
w00t() click to toggle source
# File lib/playable.rb, line 7
def w00t
  @health = @health + 15
  puts "#{name} got w00ted!!"
  @health
end