TileTransformModifier

interface TileTransformModifier<T : Tile> : Modifier

A TileTransformModifier takes a Tile and transforms it into another Tile for the org.hexworks.zircon.internal.renderer.Renderer. Note that this is an ephemeral change and won't modify any persistent state.

Functions

canTransform
Link copied to clipboard
common
open fun canTransform(tile: Tile): Boolean
Tells whether the given tile can be transformed by this modifier or not.
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
transform
Link copied to clipboard
common
abstract fun transform(tile: T): T
Transforms the given Tile and returns the result.

Properties

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

Inheritors

Delay
Link copied to clipboard
FadeIn
Link copied to clipboard
FadeInOut
Link copied to clipboard
FadeOut
Link copied to clipboard
Markov
Link copied to clipboard

Sources

(source)
Link copied to clipboard