GameComponents

object GameComponents

This object is a facade that can be used to create builders for GameArea and GameComponent.

Functions

equals
Link copied to clipboard
common
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open fun hashCode(): Int
newGameAreaBuilder
Link copied to clipboard
common
fun <T : Tile, B : Block<T>> newGameAreaBuilder(): GameAreaBuilder<T, B>
Creates a new GameAreaBuilder.
newGameAreaComponentRenderer
Link copied to clipboard
common
fun <C : Component, T : Tile, B : Block<T>> newGameAreaComponentRenderer(gameArea: GameArea<T, B>, projectionMode: ObservableValue<ProjectionMode> = ProjectionMode.TOP_DOWN.toProperty(), fillerTile: Tile = Tile.defaultTile()): ComponentRenderer<C>
toString
Link copied to clipboard
common
open fun toString(): String

Sources

(source)
Link copied to clipboard