TextCommandHandler

class TextCommandHandler(commandsMap: Map<Command, (StoryStep, Int) -> Unit>, excludeTypes: Set<Int> = setOf(StoryTypes.TITLE.type.number))

Constructors

Link copied to clipboard
constructor(commandsMap: Map<Command, (StoryStep, Int) -> Unit>, excludeTypes: Set<Int> = setOf(StoryTypes.TITLE.type.number))

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun handleCommand(text: String, step: StoryStep, position: Int): Boolean