Table of Contents

ugBASIC User Manual

TILE CLASS ✓

SYNTAX

   = TILE CLASS(tileset, id)

PURPOSE

This function allows you to know the class to which a certain tile belongs. Note that this information is available only at the time of compilation: therefore, the parameter with the tile identifier must be a constant.

EXAMPLE

  tileClass = TILE CLASS(tileset, 29)

See also the following example files:

ABBREVIATION

 TlCss

AVAILABLE ON

ANY PROBLEM?

If you have encountered a problem using this command, if you think there is a bug or the explanation is unclear, please open an issue for this keyword on GitHub. Thank you!

POWERED BY