GameObjectCreator

Class: Phaser.GameObjectCreator

Constructor

new GameObjectCreator(game)

The GameObjectCreator is a quick way to create common game objects without adding them to the game world.
The object creator can be accessed with game.make.

Parameters
Name Type Description
game Phaser.Game

A reference to the currently running game.

Source code: 登录查看完整内容