Repeatable.java

key0-96/src/core/Repeatable.java · 1.1 KB

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$
**
**  Class History
**
**  Date        Name         Description
**  ---------|------------|-----------------------------------------------
**  19Aug98     subtle       start of recorded history
**
*/

package key;

import java.util.StringTokenizer;
import java.io.IOException;

public interface Repeatable
{
	/**
	  *  p, args, ic and flags are the same as for the normal command run method.
	  * <p>
	  *  r is the repeated from the player (probably, I can't understand why
	  *  it wouldn't be.
	  * <p>
	  *  caller is the command calling this one.  It's name is usually used for
	  *  Format: name <blah> output.
	 */
	public void run( Player p, StringTokenizer args, Repeated r, Command caller, InteractiveConnection ic, Flags flags ) throws IOException;
}

Site Stats

Snippets: 1791
Codebases: 571