Thread Safe Tile Grid
class ThreadSafeTileGrid(initialTileset: TilesetResource, initialSize: Size, layerable: InternalLayerable, animationHandler: InternalAnimationRunner, cursorHandler: InternalCursorHandler, eventProcessor: UIEventProcessor) : InternalTileGrid, ShutdownHook, UIEventProcessor, ViewContainer
Content copied to clipboard
Functions
addLayer
Link copied to clipboard
applyStyle
Link copied to clipboard
clear
Link copied to clipboard
close
Link copied to clipboard
delegateTo
Link copied to clipboard
draw
Link copied to clipboard
Same as draw with 3 parameters, with the difference that size will be used for
drawArea
, and Position.zero as drawPosition
open override fun draw(tileComposite: TileComposite, drawPosition: Position)
Content copied to clipboard
open override fun draw(tileComposite: TileComposite, drawPosition: Position, drawArea: Size)
Content copied to clipboard
getLayerAt
Link copied to clipboard
getTileAtOrNull
Link copied to clipboard
handleKeyboardEvents
Link copied to clipboard
open override fun handleKeyboardEvents(eventType: KeyboardEventType, handler: (event: KeyboardEvent, phase: UIEventPhase) -> UIEventResponse): Subscription
Content copied to clipboard
handleMouseEvents
Link copied to clipboard
open override fun handleMouseEvents(eventType: MouseEventType, handler: (event: MouseEvent, phase: UIEventPhase) -> UIEventResponse): Subscription
Content copied to clipboard
insertLayerAt
Link copied to clipboard
moveCursorBackward
Link copied to clipboard
open override fun moveCursorBackward()
Content copied to clipboard
Moves the cursor one Position to the left.
moveCursorForward
Link copied to clipboard
open override fun moveCursorForward()
Content copied to clipboard
Moves the cursor one Position to the right.
onShutdown
Link copied to clipboard
process
Link copied to clipboard
open override fun process(event: UIEvent, phase: UIEventPhase): UIEventResponse
Content copied to clipboard
processKeyboardEvents
Link copied to clipboard
open override fun processKeyboardEvents(eventType: KeyboardEventType, handler: (event: KeyboardEvent, phase: UIEventPhase) -> Unit): Subscription
Content copied to clipboard
processMouseEvents
Link copied to clipboard
open override fun processMouseEvents(eventType: MouseEventType, handler: (event: MouseEvent, phase: UIEventPhase) -> Unit): Subscription
Content copied to clipboard
putTile
Link copied to clipboard
removeLayer
Link copied to clipboard
reset
Link copied to clipboard
setLayerAt
Link copied to clipboard
start
Link copied to clipboard
stop
Link copied to clipboard
updateAnimations
Link copied to clipboard
open override fun updateAnimations(currentTimeMs: Long, layerable: Layerable)
Content copied to clipboard
Properties
animationHandler
Link copied to clipboard
backend
Link copied to clipboard
closedValue
Link copied to clipboard
cursorHandler
Link copied to clipboard
cursorPosition
Link copied to clipboard
heightInPixels
Link copied to clipboard
isCursorAtTheEndOfTheLine
Link copied to clipboard
isCursorAtTheFirstRow
Link copied to clipboard
isCursorAtTheLastRow
Link copied to clipboard
isCursorAtTheStartOfTheLine
Link copied to clipboard
isCursorVisible
Link copied to clipboard
layerable
Link copied to clipboard
layers
Link copied to clipboard
renderables
Link copied to clipboard
Contains the Renderable objects ordered from bottom to top.
tileset
Link copied to clipboard
tilesetProperty
Link copied to clipboard
widthInPixels
Link copied to clipboard
Sources
(source)
Link copied to clipboard