Kind: Difference between revisions

From Wiki of ZZT
Jump to navigation Jump to search
Asie (talk | contribs)
Created page with "A '''kind''' is a type of ZZT-OOP argument that refers to a type of element. It consists of an element name, optionally prefixed by a color; for example, <code>red solid</code> refers to a red solid, while <code>normal</code> refers to normals of any color."
 
Asie (talk | contribs)
No edit summary
Line 1: Line 1:
A '''kind''' is a type of ZZT-OOP argument that refers to a type of [[element]]. It consists of an element name, optionally prefixed by a color; for example, <code>red solid</code> refers to a red [[solid]], while <code>normal</code> refers to [[normal|normals]] of any color.
A '''kind''' is a type of ZZT-OOP argument that refers to a type of [[element]]. It consists of an element name, optionally prefixed by a color; for example, <code>red solid</code> refers to a red [[solid]], while <code>normal</code> refers to [[normal|normals]] of any color.
Only seven colors are supported, matching the seven colors exposed by the [[built-in editor]]: '''blue''', '''green''', '''cyan''', '''red''', '''purple''', '''yellow''' and '''white'''.

Revision as of 11:14, 24 December 2025

A kind is a type of ZZT-OOP argument that refers to a type of element. It consists of an element name, optionally prefixed by a color; for example, red solid refers to a red solid, while normal refers to normals of any color.

Only seven colors are supported, matching the seven colors exposed by the built-in editor: blue, green, cyan, red, purple, yellow and white.