Diese Seite ist noch nicht übersetzt. Sie wird in ihrer Originalsprache angezeigt.
Stage::sortBy()
Draws and runs the sprites of each layer in the order a comparator gives, back to front.
Syntax
Java
.sortBy(comparator)
Parameters
| Name | Data Type | Description |
|---|---|---|
| comparator | Comparator<Sprite> | the order |
Return
void