phaser/resources/docgen/output/Phaser.LoaderParser.json

1 line
1.2 KiB
JSON
Raw Normal View History

{"class":{"name":"Phaser.LoaderParser","extends":"","static":true,"constructor":false,"parameters":[],"help":"Phaser.LoaderParser parses data objects from Phaser.Loader that need more preparation before they can be inserted into the Cache."},"consts":[],"methods":{"public":[{"name":"bitmapFont","static":false,"returns":null,"help":"Parse a Bitmap Font from an XML file.","line":24,"public":true,"protected":false,"private":false,"parameters":[{"name":"game","type":["Phaser.Game"],"help":"A reference to the current game.","optional":false,"default":null},{"name":"xml","type":["object"],"help":"XML data you want to parse.","optional":false,"default":null},{"name":"cacheKey","type":["string"],"help":"The key of the texture this font uses in the cache.","optional":false,"default":null},{"name":"xSpacing","type":["number"],"help":"Additional horizontal spacing between the characters.","optional":true,"default":"0"},{"name":"ySpacing","type":["number"],"help":"Additional vertical spacing between the characters.","optional":true,"default":"0"}],"inherited":false,"inheritedFrom":""}],"protected":[],"private":[],"static":[]},"properties":{"public":[],"protected":[],"private":[]}}