-
-
Adds the animation
-
-
Adds the event
| Name |
Type |
Description |
object |
DKTools.Event
|
Object
|
Event or object with parameters for the event
| Name |
Type |
Description |
type |
String
|
optional
Type of the event |
repeatTime |
Number
|
optional
Time of one repeat |
repeats |
Number
|
optional
Amount of repeats |
remainingPauseTime |
Number
|
optional
Remaining time of pause |
onStart |
function
|
optional
Handler of the event start |
onUpdate |
function
|
optional
Handler of the event update |
onPause |
function
|
optional
Handler of the event pause |
onReset |
function
|
optional
Handler of the event reset |
onRepeat |
function
|
optional
Handler of the event repeat |
onSuccess |
function
|
optional
Handler of the event success |
onFail |
function
|
optional
Handler of the event fail |
|
Returns:
-
-
Adds the one time event
| Name |
Type |
Description |
object |
DKTools.Event
|
Object
|
Event or object with parameters for the event
| Name |
Type |
Description |
type |
String
|
optional
Type of the event |
remainingPauseTime |
Number
|
optional
Remaining time of pause |
onStart |
function
|
optional
Handler of the event start |
onUpdate |
function
|
optional
Handler of the event update |
onPause |
function
|
optional
Handler of the event pause |
onReset |
function
|
optional
Handler of the event reset |
onRepeat |
function
|
optional
Handler of the event repeat |
onSuccess |
function
|
optional
Handler of the event success |
onFail |
function
|
optional
Handler of the event fail |
|
Returns:
-
arePageButtonsEnabled
()Boolean
-
Returns true if the page buttons enabled
- Since:
Returns:
| Type |
Description |
|
Boolean
|
Page buttons enabled |
-
-
Creates all
- Version:
-
-
Creates all sprites
-
-
Creates all windows
-
-
Creates the background
- Version:
-
-
Creates the cancel button
-
-
Creates the foreground
-
createHelpWindow
(windowClass)
-
Creates the help window
| Name |
Type |
Default |
Description |
windowClass |
function
|
Window_Help
|
optional
Window class |
- Since:
-
-
Creates the page buttons
-
-
Creates the mobile UI
-
-
Returns true if the scene has the layer of windows
Returns:
| Type |
Description |
|
Boolean
|
Scene has the layer of windows |
-
-
Initializes a class object
-
-
Returns true if the object (parameter) is child of scene
| Name |
Type |
Description |
object |
Sprite
|
Window
|
Object |
Returns:
| Type |
Description |
|
Boolean
|
Object (parameter) is child of scene |
-
-
Returns true if the scene is preloaded
Returns:
| Type |
Description |
|
Boolean
|
Scene is preloaded |
-
needsBackground
()Boolean
-
Returns true if needs create the background
- Since:
Returns:
| Type |
Description |
|
Boolean
|
Needs create the background |
-
-
Returns true if needs create the cancel button
Returns:
| Type |
Description |
|
Boolean
|
Needs create the cancel button |
-
needsPageButtons
()Boolean
-
Returns true if needs create the page buttons
Returns:
| Type |
Description |
|
Boolean
|
Needs create the page buttons |
-
removeWindow
(window)Boolean
-
Removes the window from the scene
Returns true if the window is removed
Returns:
| Type |
Description |
|
Boolean
|
Window is removed |
-
setBackgroundOpacity
(opacity)
-
Sets the background opacity
| Name |
Type |
Description |
opacity |
Number
|
Opacity |
- Since:
-
-
Setups for the preloading
Example
var bitmap = ImageManager.loadSystem('Window')
this._preloader.add(bitmap);
-
-
Starts the preloading
-
-
Updates the scene
- Version:
-
-
Updates the events
-
-
Updates page buttons
- Since:
-
-
Updates the events with type: queue
-
-
Updates the events with type: ready
-
-
Updates the events with type: update