Class Inventory

Description

The Inventory is a subset of objects that the player can carry with him/her. Adding a new object to the inventory allows for specific interractions. (the term object refers to an object and not an instance, which is althogether different)

Members

Inventory:addItem

  • in int objType
  • out void

Inventory:hasItem

  • in int objType
  • out bool result

Inventory:removeItem

  • in int objType
  • out void

Inventory:reset

  • in void
  • out void