class World
package ecx
World manages entities, components and services
Variables
read onlycapacity:Int
Maximum amount of entities including invalid/reserved.
Capacity will be rounded to power-of-two value plus one. For requested capacity 3 will be allocated: capacity = nearestPOT(3 - 1) + 1 = 3. For capacity = 5 we have set of valid entities {1, 2, 3, 4} and one invalid is 0