ChannelAudience.PartyAudience()

Audience class representing other players in the same group as the sender

new PartyAudience()

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: