abstract class Mud::Game::Command
- Mud::Game::Command
- Reference
- Object
Overview
The base class for all user commands.
Direct Known Subclasses
Defined in:
game/command.crConstant Summary
-
UNKNOWN =
[["Sorry pard, I don't know what \"", "\" means... Highfalutin city speak, no doubt."], ["Well I declare! I ain't never heard \"", "\" before. Whatever do you mean?"], ["Say what now, friend? I don't comprehend \"", "\". When in doubt, let your horse do the thinkin'."]]
Constructors
Class Method Summary
-
.parse(id, input, world) : Command | Nil
Attempts to parse user input into a command.
Instance Method Summary
-
#run
Runs the command.
Constructor Detail
Class Method Detail
Attempts to parse user input into a command.
Instance Method Detail
def run
#
Runs the command.
Mud::Game::Command
sends a message indicating the command isn't
implemented, but subclasses will override this.