Class: LoaderParser

Phaser. LoaderParser

new LoaderParser()

Phaser.LoaderParser parses data objects from Phaser.Loader that need more preparation before they can be inserted into the Cache.

Source:

Methods

<static> bitmapFont(game, xml, cacheKey)

Parse a Bitmap Font from an XML file.

Parameters:
Name Type Description
game Phaser.Game

A reference to the current game.

xml object

XML data you want to parse.

cacheKey string

The key of the texture this font uses in the cache.

Source:
Phaser Copyright © 2012-2014 Photon Storm Ltd.
Documentation generated by JSDoc 3.3.0-dev on Fri Apr 11 2014 13:08:30 GMT+0100 (BST) using the DocStrap template.