VgaGames4 - sprite man-pages

[.. upper level ..]

vg4->sprite->has_next()

Test sprite if there is a next element.

SYNTAX
VG_BOOL vg4->sprite->has_next(struct VG_Sprite *sprt)

FUNCTION PARAMETERS
sprt Sprite

RETURN VALUE
Returns boolean: - VG_TRUE: Yes - VG_FALSE: No

DESCRIPTION
Test sprite if there is a next element. If the last element was retrieved, but waiting for a playing sound is demanded, this function returns VG_TRUE. There could be a rare exception, where this function returns VG_TRUE, but a following vg4->sprite->next() would return VG_FALSE: When waiting for a playing sound is demanded, but this sound ended after calling vg4->sprite->has_next() and before calling vg4->sprite->next().

SEE ALSO
vg4->sprite->next()