Application

interface Application

An Application enhances a TileGrid with continuous rendering, and some additional functionality for starting, pausing, resuming and stopping it.

Functions

afterRender
Link copied to clipboard
common
abstract fun afterRender(listener: (RenderData) -> Unit): Subscription
Adds a callback which will be called after every render.
beforeRender
Link copied to clipboard
common
abstract fun beforeRender(listener: (RenderData) -> Unit): Subscription
Adds a callback which will be called before every render.
equals
Link copied to clipboard
common
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open fun hashCode(): Int
pause
Link copied to clipboard
common
abstract fun pause()
Pauses rendering.
resume
Link copied to clipboard
common
abstract fun resume()
Resumes rendering.
start
Link copied to clipboard
common
abstract fun start()
Initializes this Application and starts continuous rendering.
stop
Link copied to clipboard
common
abstract fun stop()
Stops this Application and frees all of its resources.
toString
Link copied to clipboard
common
open fun toString(): String

Properties

tileGrid
Link copied to clipboard
common
abstract val tileGrid: TileGrid
The tile grid that's being continuously rendered by this Application.

Inheritors

BaseApplication
Link copied to clipboard

Sources

(source)
Link copied to clipboard