getallactors function

Ideas for Game Editor evolution.

getallactors function

Postby DilloDude » Fri Jun 30, 2006 6:01 am

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.
Image
User avatar
DilloDude
 
Posts: 866
Joined: Tue Jan 24, 2006 9:51 am
Location: Nyerellion
Score: 58 Give a positive score

Return to Feature Requests

Who is online

Users browsing this forum: No registered users and 1 guest