A miniature linked list class. Useful for optimizing time-critical or highly repetitive tasks! See FlxQuadTree for how to use it, IF YOU DARE.

Static variables

@:value(0)static_NUM_CACHED_FLX_LIST:Int = 0

Pooling mechanism, when FlxLinkedLists are destroyed, they get added to this collection, and when they get recycled they get removed.

Static methods

staticclearCache():Void

Clear cached List nodes. You might want to do this when loading new levels (probably not though, no need to clear cache unless you run into memory problems).

staticrecycle():FlxLinkedList

Recycle a cached Linked List, or creates a new one if needed.

Variables

@:value(true)exists:Bool = true

next:FlxLinkedList

Stores a reference to the next link in the list.

object:FlxObject

Stores a reference to a FlxObject.

Methods

destroy():Void

Clean up memory.