Class CdCommand

    • Constructor Summary

      Constructors 
      Constructor Description
      CdCommand​()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getCommandName​()
      always lowercase.
      java.lang.String getManual​()  
      boolean perform​(java.util.StringTokenizer parameters, GameplayScreen gameplay)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CdCommand

        public CdCommand​()
    • Method Detail

      • getCommandName

        public java.lang.String getCommandName​()
        Description copied from interface: ConsoleCommand
        always lowercase. The name is the identifier of this command.
        Specified by:
        getCommandName in interface ConsoleCommand
        Returns:
      • perform

        public boolean perform​(java.util.StringTokenizer parameters,
                               GameplayScreen gameplay)
        Specified by:
        perform in interface ConsoleCommand
        Parameters:
        parameters - the value of parameters
        gameplay - the value of gameplay
        Returns:
        the boolean
      • getManual

        public java.lang.String getManual​()
        Specified by:
        getManual in interface ConsoleCommand
        Returns: