This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| nebolintegration_console_commands [2021/11/04 13:29] – nebol | nebolintegration_console_commands [2022/06/09 22:23] (current) – nebol | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| NebolIntegration supports NebolCommand and has a built-in command set ready for use. | NebolIntegration supports NebolCommand and has a built-in command set ready for use. | ||
| + | |||
| + | NOTE: This functionality has been moved into its own class library: [[NebolIntegration.Console]] | ||
| Use like this: | Use like this: | ||
| Line 10: | Line 12: | ||
| var commands = new Commands(engine, | var commands = new Commands(engine, | ||
| - | Parser | + | var parser = new Parser(); |
| // add the commands from the Commands class | // add the commands from the Commands class | ||
| Line 27: | Line 29: | ||
| } | } | ||
| </ | </ | ||
| + | |||
| + | Main loop: | ||
| <code csharp> | <code csharp> | ||