DialogueBox
| Kind | class |
| Package | objects |
| Full name | objects.DialogueBox |
| Source | source/objects/DialogueBox.hx |
| Extends | FlxSpriteGroup |
Public fields
| Name | Type | Static | Default | Notes |
|---|---|---|---|---|
finishThing | Void->Void | no | — | — |
nextDialogueThing | Void->Void = null | no | — | — |
skipDialogueThing | Void->Void = null | no | — | — |
Public methods
destroy
override function destroy():Void
new (constructor)
function new(talkingRight:Bool = true, ?dialogueList:Array<String>)
| Parameter | Type | Default |
|---|---|---|
talkingRight (optional) | Bool | true |
dialogueList (optional) | Array<String> | — |
Internals
Private / internal members
| Field | Type | Static |
|---|---|---|
box | FlxSprite | no |
curCharacter | String | no |
dialogueList | Array<String> | no |
swagDialogue | FlxTypeText | no |
dropText | FlxText | no |
portraitLeft | FlxSprite | no |
portraitRight | FlxSprite | no |
handSelect | FlxSprite | no |
bgFade | FlxSprite | no |
spiritFace | FlxSprite | no |
layoutWidth | Int | no |
dialogueOpened | Bool | no |
dialogueStarted | Bool | no |
dialogueEnded | Bool | no |
isEnding | Bool | no |
| Method |
|---|
function onGameResized(_:Int, _:Int):Void |
function anyTouchJustPressed():Bool |
override function update(elapsed:Float) |
function startDialogue():Void |
function cleanDialog():Void |