pixelperfectengine v0.10.0-beta.9 (2023-02-08T21:49:32Z)
Dub
Repo
ISpriteLayer.replaceSprite
pixelperfectengine
graphics
layers
interfaces
ISpriteLayer
Replaces the sprite and moves to the given position.
void
replaceSprite
(ABitmap s, int n)
void
replaceSprite
(ABitmap s, int n, int x, int y)
void
replaceSprite
(ABitmap s, int n, Box c)
interface
ISpriteLayer
public @
safe
nothrow
void
replaceSprite
(
ABitmap
s
,
int
n
,
Box
c
)
Meta
Source
See Implementation
pixelperfectengine
graphics
layers
interfaces
ISpriteLayer
functions
addSprite
clear
getPaletteID
getScaleSpriteHoriz
getScaleSpriteVert
getSlice
getSpriteCoordinate
moveSprite
relMoveSprite
removeSprite
replaceSprite
scaleSpriteHoriz
scaleSpriteVert
setPaletteID
setSlice
setSpriteRenderingMode
Replaces the sprite and moves to the given position.