Class: Core::Game::Item

Inherits:
Object show all
Defined in:
lib/game/item.rb

Instance Attribute Summary collapse

Instance Attribute Details

#descObject (readonly)

Returns the value of attribute desc.



5
6
7
# File 'lib/game/item.rb', line 5

def desc
  @desc
end

#effectsObject (readonly)

Returns the value of attribute effects.



5
6
7
# File 'lib/game/item.rb', line 5

def effects
  @effects
end

#iconObject (readonly)

Returns the value of attribute icon.



5
6
7
# File 'lib/game/item.rb', line 5

def icon
  @icon
end

#icon_fileObject (readonly)

Returns the value of attribute icon_file.



6
7
8
# File 'lib/game/item.rb', line 6

def icon_file
  @icon_file
end

#imgObject (readonly)

Returns the value of attribute img.



5
6
7
# File 'lib/game/item.rb', line 5

def img
  @img
end

#nameObject (readonly)

Returns the value of attribute name.



5
6
7
# File 'lib/game/item.rb', line 5

def name
  @name
end

#typeObject (readonly)

Returns the value of attribute type.



5
6
7
# File 'lib/game/item.rb', line 5

def type
  @type
end

#weightObject (readonly)

Returns the value of attribute weight.



5
6
7
# File 'lib/game/item.rb', line 5

def weight
  @weight
end