Class: GameObj

Inherits:
Object
  • Object
show all
Defined in:
lib/Olib/core/item.rb,
lib/Olib/core/container.rb

Instance Method Summary collapse

Instance Method Details

#to_containerObject


19
20
21
# File 'lib/Olib/core/container.rb', line 19

def to_container
  Olib::Container.new self.id
end

#to_itemObject


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

def to_item
  Olib::Item.new self
end