class Gemwarrior::LockerCorner
Attributes
locked[RW]
Public Class Methods
new()
click to toggle source
Calls superclass method
Gemwarrior::Item::new
# File lib/gemwarrior/entities/items/locker_corner.rb, line 10 def initialize super self.name = 'locker_corner' self.name_display = 'Locker (Corner)' self.description = 'The top corner of what appears to be a small locker is slightly sticking up from the sand floor.' self.takeable = false self.useable = true end
Public Instance Methods
use(world)
click to toggle source
# File lib/gemwarrior/entities/items/locker_corner.rb, line 20 def use(world) puts 'Pulling with all your might on the corner of the locker doesn\'t get it it budge one inch. Some other method is going to be needed.' { type: nil, data: nil } end