ZItem

From Wherigo Foundation Wiki
Revision as of 13:27, 22 April 2018 by Ranger Fox (Talk | contribs) (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...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.