MoveListener

fun interface MoveListener

Provides an interface for listeners to move events.

Functions

Link copied to clipboard
abstract fun move(character: Character, fromPosition: Position, toPosition: Position, transition: LayoutTransition)

Invoke the listener with a specified character, fromPosition and toPosition with a specified transition.