add(item) → {object}
Adds a new element to this linked list.
Parameters
Name | Type | Description |
---|---|---|
item | object | The element to add to this list. Can be a Phaser.Sprite or any other object you need to quickly iterate through. |
Returns
object -
The item that was added.
- Source code: utils/LinkedList.js (Line 59)
Please login to continue.