Skip to content

Console Manager

Craig McDonald requested to merge feature/console-manager into devel

Description

Took the code used in Example04-DisplayBasicInfo and made it into a class called ConsoleManager that we can reuse in other console programs.

It derives from the KeyboardManager, so it replaces that class for handling key presses. During initialization you add variables to the ConsoleManager that you want to print on every control cycle with a "key" that you then use to add the new value of that variable to the ConsoleManager on every update.

Note: This is far from perfect, so it won't be necessary (or a good idea, really) to immediately apply this to all BurtSharp programs. Created new issue #238 to apply this to all other programs where appropriate.

Issues

What issues does this fix?

  • Fixes #225
Edited by Craig McDonald

Merge request reports

Loading