ZIndexManager

Manages the Z-index hierarchy of entities.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun addEntity(entity: Entity)

Adds an entity to the appropriate tag group in the hierarchy.

Link copied to clipboard
fun setTagHierarchy(vararg tags: String)

Sets the hierarchy of tags. Entities with tags not in this hierarchy will be grouped under "UNKNOWN_TAG_GROUP".