wyvern.kernel.commands
Interface BuiltInCommand
- All Superinterfaces:
- Command
- All Known Implementing Classes:
- ApplyCommand, AppraiseCommand, AttackCommand, AudioCommand, CastCommand, ClientCommands, DamageCommand, DrinkCommand, DropCommand, EatCommand, FireCommand, GetFromCommand, GiveCommand, HelpCommand, HitCommand, ImageFetcher, LockPickCommand, LookCommand, MouseCommand, MoveCommand, OfferCommand, OpenCommand, OrderCommand, PickupCommand, PlayerGroups, PushCommand, PutCommand, QuitCommand, ReadCommand, SayCommand, SearchCommand, ShoutCommand, ShowCommand, SimpleHandler, TalkCommand, TeleportCommand, TellCommand, ThrowCommand, TurnCommand, WaitCommand, WearCommand, WhisperCommand, WieldCommand
- public interface BuiltInCommand
- extends Command
This interface is used by built-in game commands; which are
otherwise normal Commands with one extra responsibility: they
must "register" with the game engine by placing their known
commands into a table.
- Version:
- 1.0, Jun 06, 1998
- Author:
- Steve Yegge
Method Summary |
void |
addCommands(java.util.Map map,
CommandList list)
Tells the Command to add the commands that it wants to
implement into the passed data structure. |
addCommands
public void addCommands(java.util.Map map,
CommandList list)
- Tells the Command to add the commands that it wants to
implement into the passed data structure.
- Parameters:
map
- a Map whose keys are commands, and whose values
are Commands that handle those commands.list
- the CommandList the Command is being added to.