Documentation Project 1
ContentsIndexHome
PreviousUpNext
sack::image::SetSpritePosition Function
C++
__cdecl IMAGE_PROC PSPRITE SetSpritePosition(PSPRITE sprite, S_32 x, S_32 y);
Parameters 
Description 
PSPRITE sprite 
the sprite to move 
S_32 x 
the new x coordinate of the parent image to draw at 
S_32 y 
the new y coordinate of the parent image to draw at 

This function sets the current location of a sprite. When asked to render, the sprite will draw itself here.

Copyright (c) 2010. All rights reserved.
What do you think about this topic? Send feedback!