Sprite::getTouchingSprite()
Returns the first sprite of the specified type that is currently touching this sprite.
Syntax
Java
.getTouchingSprite(c)
Parameters
| Name | Data Type | Description |
|---|---|---|
| c | Class<T> | the class object of the type of sprite to check for |
Return
T
