Class CommandManager

java.lang.Object
de.gurkenlabs.litiengine.util.CommandManager
All Implemented Interfaces:
ILaunchable

public class CommandManager extends Object implements ILaunchable
  • Constructor Details

    • CommandManager

      public CommandManager()
  • Method Details

    • bind

      public void bind(String command, Predicate<String[]> commandConsumer)
    • executeCommand

      public boolean executeCommand(String command)
    • start

      public void start()
      Description copied from interface: ILaunchable
      Starts the operation of this instance.
      Specified by:
      start in interface ILaunchable
    • terminate

      public void terminate()
      Description copied from interface: ILaunchable
      Terminates the operation of this instance.
      Specified by:
      terminate in interface ILaunchable