Engine store global data about types and manage world's allocation

Methods

getObjectSize ():Int

Theoretic memory consuming in bytes

Static variables

staticread onlytypes:TypeManager

Types information

staticread onlyworldsTotal:Int

Total worlds allocated

Static methods

staticcreateWorld (config:WorldConfig, ?capacity:Int):World

Create new world. config is required. capacity is max count of entities.

staticinline getWorld (index:Int):World

Get world by index