Difference between revisions of "ZItem"

From Wherigo Foundation Wiki
Jump to: navigation, search
(Created page with "Represents a item in the game. Inherits from ZObject. == Properties == There are no special properties that ZItem has. == Constructor == {| class="wikitable" |ZItem||W...")
 
(No difference)

Latest revision as of 13:27, 22 April 2018

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.