RemoveSpriteState
From OxeyeWiki
video.removeSpriteState(spriteId) | ||
Removes a sprite state and makes the ID re-usable by other sprite states. | ||
Parameter | Expected Type | Description |
spriteId | An integer | The sprite ID that should be removed. This sprite ID is retreived when calling createSpriteState. |
Returns | ||
Returns nothing. |
Example
video.removeSpriteState(sprite)