VgaGames4

VgaGames4 - object man-pages

[.. upper level ..]

# vg4->object->instance_getobj()

Return the object-instance of an instance-ID.

SYNTAX
struct VG_Object * vg4->object->instance_getobj(unsigned int instanceid)
FUNCTION PARAMETERS

instanceid | Instance-ID

RETURN VALUE
Returns the object-instance or NULL = not found
DESCRIPTION
Return the object-instance of an instance-ID. As object-instances are referenced by instance-IDs and not by pointer, this function is used to get the pointer to the object-instance by its instance-ID. Instance-IDs are always unique over all object-instances.
SEE ALSO
vg4->object->create()