define_sprite {pixelpuzzle} | R Documentation |
Returns a list of predefined sprites
Description
Returns a list of predefined sprites
Usage
define_sprite()
Value
List of sprites
Examples
sprites <- define_sprite()
## show first sprite
show_sprite(sprites[[1]])
## show sprite named "sword"
show_sprite(sprites[["sword"]])
[Package pixelpuzzle version 1.0.1 Index]