Creates a new play screen.
See: Screen.shouldClearLayers()
See: Screen.update()
Updates the background with a media file.
Updates the background with an animation.
Cleans the screen for its native objects.
Sets the width and height of the screen.
Clears all layer components except for the background.
A function that tells the engine whether the screen should clear layers before updating and becoming active.
Gets the width of the screen. Usually the resolution width.
Gets the height of the screen. Usually the resolution height.
Gets the screen name.
Adds a component to a layer.
Removes a component from a layer.
Gets a component from a layer. You msut cast to the original component type for it to be useful.
Gets a layer of the screen.
Clears a layer of its components.
Will render the screen, its layers and their components.
Refreshes the screen and its layers and their components with a given width and height. Usually the resolution width and height.
Handles key press events and delegates them to its layers.
Handles key release events and delegates them to its layers.
Handles mouse button press events and delegates them to its layers.
Handles mouse button release events and delegates them to its layers.
Handles mouse move events and delegates them to its layers.
Updates the screen with data.
The play screen.