qc.GameObjectFactory.sprite

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.Sprite.

Example

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