Class Terminal

java.lang.Object
com.csse3200.game.components.Component
com.csse3200.game.ui.terminal.Terminal

public class Terminal extends Component
A component that holds the state of the debug terminal. This includes the history of messages, the current input line, and its open/closed state.
  • Constructor Details

    • Terminal

      public Terminal()
  • Method Details

    • isOpen

      public boolean isOpen()
    • toggleIsOpen

      public void toggleIsOpen()
    • addCommandToHistory

      public void addCommandToHistory(String command)