All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class key.effect.PrivilegedAction

java.lang.Object
   |
   +----key.Effect
           |
           +----key.effect.Communication
                   |
                   +----key.effect.PrivilegedAction

public class PrivilegedAction
extends Communication
A communication effect that goes to an individual player with no message (preset message).


Variable Index

 o scap

Constructor Index

 o PrivilegedAction(Player, Player, String, String, String, Scape)
Creates a new communication

Method Index

 o cause()
 o getMessage(Player)

Variables

 o scap
 protected Scape scap

Constructors

 o PrivilegedAction
 public PrivilegedAction(Player from,
                         Player to,
                         String feedback,
                         String message,
                         String splashback,
                         Scape splashTo)
Creates a new communication

Parameters:
from - the player who sent it
to - the player to warn
self - the string tp tell the sender

Methods

 o getMessage
 public String getMessage(Player receiver)
Overrides:
getMessage in class Effect
 o cause
 public void cause()
Overrides:
cause in class Effect

All Packages  Class Hierarchy  This Package  Previous  Next  Index