|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectanecho.JamochaMUD.JMTFCommands
public class JMTFCommands
This class processes user input and scans it for TinyFugue style "/ commands", or user defined definitions and variables. If any of these are found, the class will process them, otherwise it lets the user input travel through unchanged.
| Method Summary | |
|---|---|
boolean |
command(java.lang.String command)
The String is received from the input window and processed in this method. |
static JMTFCommands |
getInstance()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static JMTFCommands getInstance()
public boolean command(java.lang.String command)
command - Input received from the user to be processed
true - indicates that the input has been modified by this
class and will not need to be handled any more.
false - indicates that the input does not have any special
definitions, commands, or variables and so should be left
as-is and sent off to the MU*.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||