Sha256: 3e6fd999706a6b9b01005819060e9f9d91260ead4ff8f5b3a503b98442e812ea

Contents?: true

Size: 196 Bytes

Versions: 1

Compression:

Stored size: 196 Bytes

Contents

# Use this for a thing that damages.
#
# Example:
#   class Rocket < ShortLived
#     it_is Damaging
#   end
#
module Damaging
  
  mattr_accessor :damage
  
  def damage
    @@damage
  end
  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gosu_extensions-0.1.0 lib/traits/damaging.rb