Skip to content
Permalink
Fetching contributors…
Cannot retrieve contributors at this time
34 lines (27 sloc) 696 Bytes
package org.hexworks.zircon.api.application
import org.hexworks.zircon.api.grid.TileGrid
/**
* An [Application] enhances a [TileGrid] with continuous rendering,
* and some additional functionality for starting, pausing, resuming and
* stopping it.
*/
interface Application {
val tileGrid: TileGrid
/**
* Initializes this [Application] and starts continuous rendering.
*/
fun start()
/**
* Pauses rendering.
*/
fun pause()
/**
* Resumes rendering.
*/
fun resume()
/**
* Stops this [Application] and frees all of its resources.
* Once an [Application] is stopped it can't be started again.
*/
fun stop()
}
You can’t perform that action at this time.