mirror of
https://github.com/photonstorm/phaser
synced 2024-12-22 11:03:23 +00:00
1 line
2.5 KiB
JSON
1 line
2.5 KiB
JSON
|
{"class":{"name":"Phaser.LinkedList","extends":"","static":false,"constructor":true,"parameters":[],"help":"A basic linked list data structure."},"consts":[],"methods":{"public":[{"name":"add","static":false,"returns":{"types":["object"],"help":"The child that was added."},"help":"Adds a new element to this linked list.","line":56,"public":true,"protected":false,"private":false,"parameters":[{"name":"child","type":["object"],"help":"The element to add to this list. Can be a Phaser.Sprite or any other object you need to quickly iterate through.","optional":false,"default":null}],"inherited":false,"inheritedFrom":""},{"name":"callAll","static":false,"returns":null,"help":"Calls a function on all members of this list, using the member as the context for the callback.\\nThe function must exist on the member.","line":153,"public":true,"protected":false,"private":false,"parameters":[{"name":"callback","type":["function"],"help":"The function to call.","optional":false,"default":null}],"inherited":false,"inheritedFrom":""},{"name":"remove","static":false,"returns":null,"help":"Removes the given element from this linked list if it exists.","line":103,"public":true,"protected":false,"private":false,"parameters":[{"name":"child","type":["object"],"help":"The child to be removed from the list.","optional":false,"default":null}],"inherited":false,"inheritedFrom":""},{"name":"reset","static":false,"returns":null,"help":"Resets the first, last, next and previous node pointers in this list.","line":87,"public":true,"protected":false,"private":false,"parameters":[],"inherited":false,"inheritedFrom":""}],"protected":[],"private":[],"static":[]},"properties":{"public":[{"name":"first","type":["object"],"help":"","inlineHelp":"First element in the list.","line":31,"default":"null","public":true,"protected":false,"private":false,"readOnly":false},{"name":"last","type":["object"],"help":"","inlineHelp":"Last element in the list.","line":37,"default":"null","public":true,"protected":false,"private":false,"readOnly":false},{"name":"next","type":["object"],"help":"","inlineHelp":"Next element in the list.","line":19,"default":"null","public":true,"protected":false,"private":false,"readOnly":false},{"name":"prev","type":["object"],"help":"","inlineHelp":"Previous element in the list.","line":25,"default":"null","public":true,"protected":false,"private":false,"readOnly":false},{"name":"total","type":["number"],"help":"","inlineHelp":"Number of elements in the list.","line":43,"default":"0","public":true,"protected":false,"private":false,"readOnly":false}],"protected":[],"private":[]}}
|