Phaser API Documentation

  Version: 
toJSON([output])

Description:

Creates a description of this emitter suitable for JSON serialization.

Parameters:

name type arguments description
output object <optional>

An object to copy output into.

Returns:
Description:
  • The output object.
Type:
  • object