Internal method that handles the drawing of an array of children.
name | type | arguments | Default | description |
---|---|---|---|---|
children | array |
The array of Game Objects, Textures or Frames to draw. |
||
x | number | <optional> | 0 |
The x position to offset the Game Object by. |
y | number | <optional> | 0 |
The y position to offset the Game Object by. |
alpha | number | <optional> | 1 |
The alpha value. Only used when drawing Texture Frames to this texture. Game Objects use their own alpha. |
tint | number | <optional> | 0xffffff |
The tint color value. Only used when drawing Texture Frames to this texture. Game Objects use their own tint. WebGL only. |