All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class key.effect.Warn

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

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


Variable Index

 o scap

Constructor Index

 o Warn(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 Warn
 public Warn(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