net.jetrix.commands
Class StartCommand
java.lang.Object
net.jetrix.commands.AbstractCommand
net.jetrix.commands.StartCommand
- All Implemented Interfaces:
- Command
public class StartCommand
- extends AbstractCommand
Start the game.
- Version:
- $Revision: 594 $, $Date: 2005-01-15 17:57:53 +0100 (sam., 15 janv. 2005) $
- Author:
- Emmanuel Bourg
Nested Class Summary |
static class |
StartCommand.CountDown
A countdown thread to delay the beginning of the game. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StartCommand
public StartCommand()
getAlias
public String getAlias()
- Description copied from class:
AbstractCommand
- Return the command alias. This is a method to be overriden only
by commands with a unique alias.
- Overrides:
getAlias
in class AbstractCommand
getUsage
public String getUsage(Locale locale)
- Description copied from interface:
Command
- Return the usage of this command, for example
/cmd <param1> <param2>
- Specified by:
getUsage
in interface Command
- Overrides:
getUsage
in class AbstractCommand
- Parameters:
locale
- the locale to be used for the usage
execute
public void execute(CommandMessage m)
- Description copied from interface:
Command
- Execute the command.
Copyright © 2001-2008 Emmanuel Bourg. All Rights Reserved.