wima
    Preparing search index...

    Class Pool<T>

    Type Parameters

    • T

      An extendable object pool for optimizing performance.

    Index

    Constructors

    Properties

    Accessors

    Methods

    Constructors

    Properties

    create: PoolCreateFunc<T>
    pool: T[] = []

    List of objects.

    Accessors

    Methods

    • Takes an object's ownership. Do not use the taken object and remove all references of it outside otherwise you will get some wierd behaviour.

      Parameters

      • obj: T

      Returns void