| Package | org.wak.dialog |
| Interface | public interface IDialogsController extends flash.events.IEventDispatcher |
| Implementors | ModernDialogController, SciDialogController, ScummDialogController |
| Property | Defined by | ||
|---|---|---|---|
| display : DisplayObject [read-only]
the display object of the dialog controller.
| IDialogsController | ||
| Method | Defined by | ||
|---|---|---|---|
|
CharacterSay(pChar:AdventureCharacter, pTextToSay:String, pOnComplete:Function = null):void
makes a character say something
| IDialogsController | ||
|
DisplayInfo(pText:String, pOnCompleteFunction:Function = null):void
Display an information message.
| IDialogsController | ||
|
Initialize():void
Initialize the Dialog controller
| IDialogsController | ||
|
SetOptionVisible(pDialogId:String, pTopicId:String, value:Boolean):void
Set a topic option visibility.
| IDialogsController | ||
|
StartDialog(pDialog:AdventureDialog):void
Starts a scumm dialog
| IDialogsController | ||
|
UpdateScrollButtons():void
Updates the scrolling buttons.
| IDialogsController | ||
| display | property |
display:DisplayObject [read-only]the display object of the dialog controller.
Implementation public function get display():DisplayObject
| CharacterSay | () | method |
public function CharacterSay(pChar:AdventureCharacter, pTextToSay:String, pOnComplete:Function = null):voidmakes a character say something
ParameterspChar:AdventureCharacter — the speaker character
|
|
pTextToSay:String — the text to say
|
|
pOnComplete:Function (default = null) — function called on completed.
|
| DisplayInfo | () | method |
public function DisplayInfo(pText:String, pOnCompleteFunction:Function = null):voidDisplay an information message.
ParameterspText:String — message to display
|
|
pOnCompleteFunction:Function (default = null) — callback function to be called after the message was displayed.
|
| Initialize | () | method |
public function Initialize():voidInitialize the Dialog controller
| SetOptionVisible | () | method |
public function SetOptionVisible(pDialogId:String, pTopicId:String, value:Boolean):voidSet a topic option visibility.
ParameterspDialogId:String — Topic id to activate.
|
|
pTopicId:String |
|
value:Boolean |
| StartDialog | () | method |
public function StartDialog(pDialog:AdventureDialog):voidStarts a scumm dialog
ParameterspDialog:AdventureDialog — AdventureDialog to start.
|
| UpdateScrollButtons | () | method |
public function UpdateScrollButtons():voidUpdates the scrolling buttons.