Interaction with computer program in Game

Sounds easy enough:

  • editable box to enter commands, override onCommited to get text once the user hits enter
  • have a switcher to interpret the command (unless you’re planning on having 100s of commands)
  • start an event timer and hook up its progress to a progress bar widget, use a text block that show the percentage value