User Tools

Site Tools


examples:objects:counting_all_objects

Getting the total count of all Objects

This function will return the total count of all current objects.

Code

orxU32 totalObjectsCount = orxStructure_GetCounter(orxSTRUCTURE_ID_OBJECT);

Counts of other structure types can also be called. See: orxSTRUCTURE_ID in the API

examples/objects/counting_all_objects.txt · Last modified: 2017/05/30 05:50 (5 months ago) (external edit)