Sprite::setOnEdgeBounce()
Sets if the sprite should bounce when hitting the edge of the screen. This method is for making is attribute perment.
Syntax
Java
.setOnEdgeBounce(b)
Parameters
| Name | Data Type | Description |
|---|---|---|
| b | boolean | true if the sprite should bounce |
Return
void
