FriendsBroadcast.java

key0-96/src/commands/FriendsBroadcast.java · 993 B

From the archive key0-96.tar.bz2

Download the archive   « Back to the archive contents

/*
**               j###t  ########## ####   ####
**              j###t   ########## ####   ####
**             j###T               "###L J###"
**          ######P'    ##########  #########
**          ######k,    ##########   T######T
**          ####~###L   ####
**          #### q###L  ##########   .#####
**          ####  \###L ##########   #####"
**
**  $Id: FriendsBroadcast.java,v 1.1 1997/07/21 12:53:33 subtle Exp subtle $
**
**  Class History
**  
**  Date        Name         Description
**  ---------|------------|-----------------------------------------------
**  21Jul97     subtle       created this class
**
*/

package key.commands;

import key.*;
import java.io.IOException;
import java.util.StringTokenizer;
import java.util.Hashtable;

public class FriendsBroadcast extends Broadcast
{
	public static final char genderCode = 'h';
	
	protected void placeCodes( Player p, String message )
	{
		super.placeCodes( p, message );
		
		p.putCode( genderCode, p.hisHer() );
	}
}

Site Stats

Snippets: 1791
Codebases: 571