Class: Gemwarrior::ArenaDoor

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

Instance Attribute Summary

Attributes inherited from Item

#atk_hi, #atk_lo, #consumable, #equippable, #equipped, #takeable, #use, #useable, #used

Attributes inherited from Entity

#description, #name

Instance Method Summary collapse

Methods inherited from Item

#describe

Methods inherited from Entity

#status

Constructor Details

#initializeArenaDoor

Returns a new instance of ArenaDoor.



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

def initialize
  self.name         = 'arena_door'
  self.description  = 'The Arena is massive, with its numerous columns and stone walls stretching to the sky, but its entrance door is no slouch, keeping apace. Made of reinforced granite and impossible to break down, it nevertheless opens for you while battles are in session.'
  self.atk_lo       = nil
  self.atk_hi       = nil
  self.takeable     = false
  self.useable      = false
  self.equippable   = false
  self.equipped     = false
end