Class CommandHistory

    • Field Detail

      • stackPointer

        protected int stackPointer
      • executing

        protected boolean executing
    • Constructor Detail

      • CommandHistory

        public CommandHistory()
    • Method Detail

      • execute

        public void execute​(Command command)
      • goBack

        public void goBack()
      • canGoBack

        public boolean canGoBack()
      • goForward

        public void goForward()
      • canGoForward

        public boolean canGoForward()