Classes representing various channel audiences
See the Channel guide for usage
Classes
Methods
-
alterMessage(message) → {string}
-
Modify the message to be sent
Parameters:
Name Type Description messagestring Returns:
string -
configure(options)
-
Configure the current state for the audience. Called by
Channel#sendParameters:
Name Type Description optionsobject Properties
Name Type Description stateGameState senderPlayer messagestring -
getBroadcastTargets() → {Array.<Player>}
-
Find targets for this audience
Returns:
Array.<Player>