[read-only] The array of children of the sprite.
The height of the window layer in pixels.
[read-only] The object that contains the sprite.
The width of the window layer in pixels.
The x coordinate of the sprite.
The y coordinate of the sprite.
Adds a child to the container.
The child to add
The child that was added
Adds a child to the container at a specified index.
The child to add
The index to place the child in
The child that was added
Calls each of the listeners registered for a given event.
The event name.
Arguments that are passed to registered listeners
true
if the event had listeners, else false
.
Return an array listing the events for which the emitter has registered listeners.
Return the listeners registered for a given event.
The event name.
Check if there listeners for a given event.
If exists
argument is not true
lists listeners.
The event name.
Only check if there are listeners.
Sets the x, y, width, and height all at once.
The x coordinate of the window layer
The y coordinate of the window layer
The width of the window layer
The height of the window layer
Removes a child from the container.
The child to remove
The child that was removed
Removes a child from the specified index position.
The index to get the child from
The child that was removed
This function doesn't apply anymore.
Updates the window layer for each frame.
Generated using TypeDoc
The layer which contains game windows.
WindowLayer