Modifier

interface Modifier : Cacheable

A Modifier adds an effect to a Tile when it is rendered on a TileGrid. There are two kinds:

Use TextureTransformModifiers, when you want a graphical effect, like glow, flipping, cropping, etc. Use TileTransformModifier when you want tile variations, or more elaborate effects, like FadeIn, FadeOut or Markov.

Functions

equals
Link copied to clipboard
common
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open fun hashCode(): Int
toString
Link copied to clipboard
common
open fun toString(): String

Properties

cacheKey
Link copied to clipboard
common
abstract val cacheKey: String
A unique and immutable cache key for this object.

Inheritors

TextureTransformModifier
Link copied to clipboard
TileTransformModifier
Link copied to clipboard

Sources

(source)
Link copied to clipboard