GameObjectFactory#GameObjectFactory

new GameObjectFactory(game)

The GameObjectFactory is a quick way to create many common game objects
using game.add.

Created objects are automatically added to the appropriate Manager, World, or manually specified parent Group.

Parameters
Name Type Description
game Phaser.Game

A reference to the currently running game.

Source code: gameobjects/GameObjectFactory.js (Line 17)
doc_phaser
2017-02-14 10:48:42
Comments
Leave a Comment

Please login to continue.