Class: Gemwarrior::Bed

Inherits:
Item show all
Defined in:
lib/gemwarrior/entities/items/bed.rb

Instance Attribute Summary

Attributes inherited from Item

#atk_hi, #atk_lo, #equippable, #equipped, #takeable, #useable

Attributes inherited from Entity

#description, #name

Instance Method Summary collapse

Methods inherited from Entity

#status

Constructor Details

#initializeBed



8
9
10
11
12
13
14
15
16
17
# File 'lib/gemwarrior/entities/items/bed.rb', line 8

def initialize
  self.name         = 'bed'
  self.description  = 'The place where you sleep when you are not adventuring.'
  self.atk_lo       = nil
  self.atk_hi       = nil
  self.takeable     = false
  self.useable      = true
  self.equippable   = false
  self.equipped     = false
end