All Packages Class Hierarchy This Package Previous Next Index
Class key.effect.Directed
java.lang.Object
|
+----key.Effect
|
+----key.effect.Communication
|
+----key.effect.Directed
- public class Directed
- extends Communication
A communication effect that goes to an entire
medium, such as a room or channel. (Technically,
it goes to any scape)
-
Directed(Player, Atom, String, String, Character)
- Creates a new communication
-
cause()
-
-
getMessage(Player)
-
Directed
public Directed(Player from,
Atom to,
String self,
String other,
Character tCode)
- Creates a new communication
- Parameters:
- from - the player who sent it
- to - the player who's meant to receive the tell, or, alternatively
a _temporary_ scape (one generated for the explicit purpose
of sending a group of players). The reason for the temporary
'ness' of it is that the players which are blocking will be
removed from this scape. Consider this fair warning.
- main - the message to show to everyone in the location scape
- self - the UNPARSED message to show to the player - thats
what the tCode is for, what to replace the recipients name
with.
getMessage
public String getMessage(Player receiver)
- Overrides:
- getMessage in class Effect
cause
public void cause()
- Overrides:
- cause in class Effect
All Packages Class Hierarchy This Package Previous Next Index