Class ComputerTerminalService

java.lang.Object
com.csse3200.game.services.ComputerTerminalService
All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable

public class ComputerTerminalService extends Object implements com.badlogic.gdx.utils.Disposable
Forwards terminal UI events to a registered UI entity (the one that owns TerminalUiComponent).
  • Constructor Details

    • ComputerTerminalService

      public ComputerTerminalService()
  • Method Details

    • registerUiEntity

      public void registerUiEntity(Entity uiEntity)
    • open

      public void open(Entity terminalEntity)
    • close

      public void close()
    • toggle

      public void toggle(Entity terminalEntity)
    • dispose

      public void dispose()
      Specified by:
      dispose in interface com.badlogic.gdx.utils.Disposable