All Packages Class Hierarchy This Package Previous Next Index
Class key.effect.DirectedBroadcast
java.lang.Object
|
+----key.Effect
|
+----key.effect.Communication
|
+----key.effect.Broadcast
|
+----key.effect.DirectedBroadcast
- public class DirectedBroadcast
- extends Broadcast
A communication effect that goes to an entire
medium, such as a room or channel. (Technically,
it goes to any scape)
-
DirectedBroadcast(Scape, Player, Atom, String, String, String, Character)
- Creates a new communication
-
cause()
- Directly splashes the location, with the exception of those
in the directedAt, who are splashed directly themselves
-
causeExclusive()
- Doesn't splash the directedAt people directly,
instead, this routine is used when we can
guarantee that the players will be in the location
scape.
-
getMessage(Player)
-
DirectedBroadcast
public DirectedBroadcast(Scape location,
Player from,
Atom to,
String main,
String self,
String other,
Character tCode)
- Creates a new communication
- Parameters:
- from - the player who sent it
- location - where the local effect is to take place
- main - the message to show to everyone in the location scape
- self - the message to show to the player
- other - the UNPARSED other message
getMessage
public String getMessage(Player receiver)
- Overrides:
- getMessage in class Broadcast
cause
public void cause()
- Directly splashes the location, with the exception of those
in the directedAt, who are splashed directly themselves
- Overrides:
- cause in class Broadcast
causeExclusive
public void causeExclusive()
- Doesn't splash the directedAt people directly,
instead, this routine is used when we can
guarantee that the players will be in the location
scape.
All Packages Class Hierarchy This Package Previous Next Index