object and next to null.
*/
Phaser.LinkedList = function () {
this.object = null;
this.next = null;
};
Phaser.LinkedList.prototype = {
destroy: function () {
this.object = null;
if (this.next != null)
{
this.next.destroy();
}
this.next = null;
}
};