pixelperfectengine ~master (2023-12-13T21:18:59Z)
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
@
trusted
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.