Sha256: 8b25f180444b24b399723d692e406ab9782079405b514c7131d061b70213a8e7
Contents?: true
Size: 555 Bytes
Versions: 53
Compression:
Stored size: 555 Bytes
Contents
# lib/gemwarrior/entities/items/apple.rb # Item::Apple require_relative '../item' module Gemwarrior class Apple < Item def initialize self.name = 'apple' self.description = 'Reddish-orangeish in color, this fruit looks sweet, but it is heavy and feels more like a rock you would sooner not bite into.' self.atk_lo = nil self.atk_hi = nil self.takeable = true self.useable = false self.equippable = false self.equipped = false end end end
Version data entries
53 entries across 53 versions & 1 rubygems