flip_sprite {pixelpuzzle}R Documentation

Flip a sprite

Description

Flip a sprite

Usage

flip_sprite(img)

Arguments

img

Sprite

Value

Sprite

Examples

sprites <- define_sprite()
sprite <- sprites[["sword"]]
show_sprite(flip_sprite(sprite))

[Package pixelpuzzle version 1.0.1 Index]