qc.GameObjectFactory.node

Prototype

Parameters

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

Example

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