wyvern.lib
Interface CommandList.CommandFilter

All Superinterfaces:
Command
Enclosing interface:
CommandList

public static interface CommandList.CommandFilter
extends Command

This interface is implemented by classes that want a chance to handle *every* command that comes through the queue. This is a fairly rare situation, and can slow the game down considerably if misused.

Note that the CommandFilter interface is only meaningful if the implementing object is a wyvern.lib.Command as well, so this interface extends Command.

Version:
1.0, Jul 16, 1998
Author:
Steve Yegge

Method Summary
 boolean handlesCommand(java.lang.String command)
          Returns true if this object wants to handle the command.
 
Methods inherited from interface wyvern.lib.Command
createEvent, execute, knowsCommand
 

Method Detail

handlesCommand

public boolean handlesCommand(java.lang.String command)
Returns true if this object wants to handle the command.