Stage::countSpritesOf()
Returns the number of sprites of the specified class.
Syntax
Java
.countSpritesOf(c)
Parameters
| Name | Data Type | Description |
|---|---|---|
| c | Class<T> | the class of the sprites to count |
Return
long

Returns the number of sprites of the specified class.
.countSpritesOf(c)
| Name | Data Type | Description |
|---|---|---|
| c | Class<T> | the class of the sprites to count |
long