View source
abstract PoolFactory<T>(() ‑> T)
package flixel.util
import flixel.util.FlxPool
Available on all platforms
Helper type that allows the FlxPool constructor to take the new function param and the old,
deprecated Class<T> param. This will be removed, soon anf FlxPool will only take a function.
Static methods
staticinlinefromClass<T>(classRef:Class<T>):PoolFactory<T>
Deprecated: <![CDATA["use `MyType.new` or `()->new MyType()` instead of `MyType`)"]]>