Package com.csse3200.game.ui.terminal
Class Terminal
java.lang.Object
com.csse3200.game.components.Component
com.csse3200.game.ui.terminal.Terminal
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.
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.csse3200.game.components.Component
create, dispose, earlyUpdate, getEntity, setEnabled, setEntity, toString, triggerEarlyUpdate, triggerUpdate, update
-
Constructor Details
-
Terminal
public Terminal()
-
-
Method Details
-
isOpen
public boolean isOpen() -
toggleIsOpen
public void toggleIsOpen() -
addCommandToHistory
-