Special class used for background layers.
This class stores a sprite and certain information for a layer of a background. In particular, it stores the location of the layer, whether the layer tiles horizontally, vertically, or both, and the rate at which it scrolls.
The sprite used for this layer. It will be animated normally if it contains multiple frames.
The horizontal location of the layer relative to the background.
The vertical location of the layer relative to the background.
The Z-axis position of the layer in the room.
The horizontal rate that the layer scrolls as a factor of the additive inverse of the horizontal movement of the view.
The vertical rate that the layer scrolls as a factor of the additive inverse of the vertical movement of the view.
Whether or not the layer should be repeated (tiled) horizontally.
Whether or not the layer should be repeated (tiled) vertically.
The unique identifier of the layer. (Read-only)
Constructor method.
Arguments:
All other arguments set the respective initial attributes of the layer. See the documentation for sge.BackgroundLayer for more information.