mirror of
https://github.com/photonstorm/phaser
synced 2024-12-24 03:53:28 +00:00
1 line
2 KiB
JSON
1 line
2 KiB
JSON
|
{"class":{"name":"Phaser.Particles","extends":"","static":false,"constructor":true,"parameters":[{"name":"game","type":["Phaser.Game"],"help":"A reference to the currently running game.","optional":false,"default":null}],"help":"Phaser.Particles is the Particle Manager for the game. It is called during the game update loop and in turn updates any Emitters attached to it."},"consts":[],"methods":{"public":[{"name":"add","static":false,"returns":{"types":["Phaser.Emitter"],"help":"The emitter that was added."},"help":"Adds a new Particle Emitter to the Particle Manager.","line":42,"public":true,"protected":false,"private":false,"parameters":[{"name":"emitter","type":["Phaser.Emitter"],"help":"The emitter to be added to the particle manager.","optional":false,"default":null}],"inherited":false,"inheritedFrom":""},{"name":"remove","static":false,"returns":null,"help":"Removes an existing Particle Emitter from the Particle Manager.","line":55,"public":true,"protected":false,"private":false,"parameters":[{"name":"emitter","type":["Phaser.Emitter"],"help":"The emitter to remove.","optional":false,"default":null}],"inherited":false,"inheritedFrom":""}],"protected":[{"name":"update","static":false,"returns":null,"help":"Called by the core game loop. Updates all Emitters who have their exists value set to true.","line":66,"public":false,"protected":true,"private":false,"parameters":[],"inherited":false,"inheritedFrom":""}],"private":[],"static":[]},"properties":{"public":[{"name":"ID","type":["number"],"help":"","inlineHelp":"","line":30,"default":"0","public":true,"protected":false,"private":false,"readOnly":false},{"name":"emitters","type":["object"],"help":"","inlineHelp":"Internal emitters store.","line":24,"default":null,"public":true,"protected":false,"private":false,"readOnly":false},{"name":"game","type":["Phaser.Game"],"help":"","inlineHelp":"A reference to the currently running Game.","line":19,"default":null,"public":true,"protected":false,"private":false,"readOnly":false}],"protected":[],"private":[]}}
|