Shout.java

key0-96/src/effect/Shout.java · 703 B

From the archive key0-96.tar.bz2

Download the archive   « Back to the archive contents

/**
  *  Broadcast
  *
  *
 */

package key.effect;

import key.*;
import java.util.StringTokenizer;

/**
  *  A communication effect that goes to an entire
  *  medium, such as a room or channel.  (Technically,
  *  it goes to any scape)
 */
public class Shout extends Broadcast
{
	/**
	  *  Creates a new communication
	  *
	  * @param from the player who sent it
	  * @param location where the local effect is to take place
	  * @param main the message to show to everyone in the location scape
	  * @param self the message to show to the player
	 */
	public Shout( Scape location, Player from, String main, String self )
	{
		super( location, from, main, self );
	}
}

Site Stats

Snippets: 1791
Codebases: 571