Constructor


SpeechBubble(text: number, x: number, y: number, options: number, speaker: any)

Arguments:

text: number
x: number
y: number
options: number
speaker: any




Methods










SpeechBubble:getSprite(name: any)

Arguments:

name: any

Returns:

1: love.Image


SpeechBubble:getSpriteSize(name: any)

Arguments:

name: any

Returns:

1: number
2: number








SpeechBubble:onRemoveFromStage(stage: Object)

Arguments:

stage: Object

The base class of all objects in Kristal.
When added to the stage, an object will be updated and rendered.



SpeechBubble:setAdvance(advance: any)

Arguments:

advance: any


SpeechBubble:setAuto(auto: any)

Arguments:

auto: any


SpeechBubble:setCallback(callback: any)

Arguments:

callback: any


SpeechBubble:setLineCallback(callback: any)

Arguments:

callback: any


SpeechBubble:setRight(right: any)

Arguments:

right: any


SpeechBubble:setSkippable(skippable: any)

Arguments:

skippable: any


SpeechBubble:setStyle(style: any)

Arguments:

style: any


SpeechBubble:setText(text: any, callback: any, line_callback: any)

Arguments:

text: any
callback: any
line_callback: any







Undocumented



SpeechBubble.actor: unknown

Actors are a type of data class that represent the visuals of a character - anything that is some type of character, be it the player, an NPC, or an enemy in battle, it will require an actor.
As a data class, actors are stored in scripts/data/actors/, and extend this class. Their filepath starting from here becomes their id, unless an id is specified as an argument to Class().





SpeechBubble.auto: boolean

Whether the bubble automatically resizes.

























SpeechBubble.text: DialogueText

The DialogueText object displays text letter-by-letter.