Sha256: 113236ce3f04cb639241e0087512efb598497792a74f4503e814c12d918d8031
Contents?: true
Size: 437 Bytes
Versions: 10
Compression:
Stored size: 437 Bytes
Contents
# lib/gemwarrior/entities/item.rb # Item base class require_relative 'entity' module Gemwarrior class Item < Entity attr_accessor :atk_lo, :atk_hi, :takeable, :useable, :equippable, :equipped, :use def use(inventory = nil) 'That item does not do anything...yet.' end end end
Version data entries
10 entries across 10 versions & 1 rubygems