Stage::stamp()
Stamps images permanently onto one of the stage's layers, so that a tile map gets drawn once instead of every frame. Reached from other packages through StageAccess; Sprite.stamp(Layer) is the stamp block.
Syntax
Java
.stamp(stamps, layer)
Parameters
| Name | Data Type | Description |
|---|---|---|
| stamps | Queue<Stamp> | the images to stamp |
| layer | Layer | which layer to stamp them onto |
Return
void