ZItem

From Wherigo Foundation Wiki
Jump to: navigation, search

Represents a item in the game. Inherits from ZObject.


Properties

There are no special properties that ZItem has.


Constructor

ZItem Wherigo.ZItem(ZCartridge cartridge) Returns a new instance of object ZItem. The only parameter is a instance of ZCartridge.
ZItem Wherigo.ZItem({parameters}) Parameter is a table with default entries. It is possible to set the following properties: Commands, CommandsArray. Additionally all parameters, which are valid for ZObject constructor.