Page 1 of 1

getallactors function

PostPosted: Fri Jun 30, 2006 6:01 am
by DilloDude
getallactors: Returns an Actor's array that includes all Actors at position (x,y) (in game coordinates) if successful or NULL if there are no actors.
Actor count will be returned in nActors.

Actor *getallactors(int x, int y, int *nActors)

The returned array will be valid until the next call to getallactors.
The returned array is read only.

A combination of the getAllActorsInCollision function and the getactor function.