| Package | org.wak.dialog.scumm |
| Class | public class DialogTextDisplay |
| Inheritance | DialogTextDisplay flash.display.Sprite |
| Property | Defined by | ||
|---|---|---|---|
| clickEndEnabled : Boolean
Enable or the disable to end the text displaying
with a click.
| DialogTextDisplay | ||
| speakerDisplay : AbstractCharacterDisplay
[read-only]
The AbstractCharacterDisplay who is talking.
| DialogTextDisplay | ||
| x : Number [write-only]
| DialogTextDisplay | ||
| y : Number [write-only]
| DialogTextDisplay | ||
| Method | Defined by | ||
|---|---|---|---|
|
DialogTextDisplay(pText:String, pTime:int, pContainer:DisplayObjectContainer, pSpeakerDisplay:AbstractCharacterDisplay, pFont:String = "acknowtt", pFSize:int = 14, pColor:uint = 0xFFFFFF, pBold:Boolean = true, pEmbedFont:Boolean = true)
Constructor
| DialogTextDisplay | ||
|
Finish():void
In the case you need to remove the DialogTextDisplay
before the time expires, use this.
| DialogTextDisplay | ||
| clickEndEnabled | property |
clickEndEnabled:Boolean [read-write]Enable or the disable to end the text displaying with a click.
Implementation public function get clickEndEnabled():Boolean
public function set clickEndEnabled(value:Boolean):void
| speakerDisplay | property |
speakerDisplay:AbstractCharacterDisplay [read-only]The AbstractCharacterDisplay who is talking.
Implementation public function get speakerDisplay():AbstractCharacterDisplay
| x | property |
x:Number [write-only]Implementation
public function set x(value:Number):void
| y | property |
y:Number [write-only]Implementation
public function set y(value:Number):void
| DialogTextDisplay | () | constructor |
public function DialogTextDisplay(pText:String, pTime:int, pContainer:DisplayObjectContainer, pSpeakerDisplay:AbstractCharacterDisplay, pFont:String = "acknowtt", pFSize:int = 14, pColor:uint = 0xFFFFFF, pBold:Boolean = true, pEmbedFont:Boolean = true)Constructor
ParameterspText:String — text to display.
|
|
pTime:int — time in milliseconds of for how long show the text
|
|
pContainer:DisplayObjectContainer — the container of this DialogTextDisplay
|
|
pSpeakerDisplay:AbstractCharacterDisplay — the speaker's character display/
|
|
pFont:String (default = "acknowtt") — an optional font name to use.
|
|
pFSize:int (default = 14) — an optional font size to use.
|
|
pColor:uint (default = 0xFFFFFF) — an optional text color
|
|
pBold:Boolean (default = true) — optional bold the text font.
|
|
pEmbedFont:Boolean (default = true) |
| Finish | () | method |
public function Finish():voidIn the case you need to remove the DialogTextDisplay before the time expires, use this.