Phaser API Documentation

  Version: 

Member of: Phaser.Structs.Set

set(value)

Description:

Inserts the provided value into this Set. If the value is already contained in this Set this method will have no effect.

Parameters:

name type description
value *

The value to insert into this Set.

Returns:
Description:

This Set object.

Since: 3.0.0
Source: src/structs/Set.js (Line 59)