GetPlayingBlobsSize

From King Arthur's Gold Wiki
Revision as of 22:04, 19 August 2012 by Shadlington (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Returns the number of CBlobs that are currently active and in play - i.e. not settled map blocks or in inventories.

u32 getPlayingBlobsSize()

Usage example:

for ( int i = 0; i < getPlayingBlobsSize(); i++ )
{
  CBlob@ blob = getPlayingBlob(i);  // Do something to this blob
}