qc.GameObjectFactory.text

Prototype

Paramters

Paramter Type Description
parent qc.Node Optional node to add the object to. If not specified it will be added to the World.

Description

Create a qc.UIText.

Example

    var text = game.add.text(game.world)