LinkedList

Class: Phaser.LinkedList

Constructor

new LinkedList()

A basic Linked List data structure.

This implementation modifies the prev and next properties of each item added:

  • The prev and next properties must be writable and should not be used for any other purpose.
  • Items cannot be added to multiple LinkedLists at the same time.
  • Only objects can be added.
Source code: 登录查看完整内容