ChannelAudience.WorldAudience()

Audience class representing everyone in the game, except sender.

new WorldAudience()

Extends

Methods

alterMessage(message) → {string}

Modify the message to be sent

Parameters:
Name Type Description
message string
Returns:
string
Inherited From:

configure(options)

Configure the current state for the audience. Called by Channel#send

Parameters:
Name Type Description
options object
Properties
Name Type Description
state GameState
sender Player
message string
Inherited From:

getBroadcastTargets() → {Array.<Player>}

Find targets for this audience

Returns:
Array.<Player>
Overrides: