Interface ConsoleCommand
-
- All Known Implementing Classes:
BenchmarkCommand,CdCommand,ClearCommand,CreditsCommand,EditorCommand,ExitCommand,FillWithAirCommand,FullscreenCommand,KillallCommand,LECommand,LoadMapCommand,LsCommand,ManCommand,MenuCommand,PrintmapCommand,ReloadShadersCommand,SaveCommand,ScreenshakeCommand,TeleportCommand
public interface ConsoleCommand
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetCommandName()always lowercase.java.lang.StringgetManual()booleanperform(java.util.StringTokenizer parameters, GameplayScreen gameplay)
-
-
-
Method Detail
-
perform
boolean perform(java.util.StringTokenizer parameters, GameplayScreen gameplay)- Parameters:
parameters- the value of parametersgameplay- the value of gameplay- Returns:
- the boolean
-
getCommandName
java.lang.String getCommandName()
always lowercase. The name is the identifier of this command.- Returns:
-
getManual
java.lang.String getManual()
- Returns:
-
-