ChannelAudience.AreaAudience()

Audience class representing characters in the same area as the sender

new AreaAudience()

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: