StrongJoshua / libgdx-inGameConsole

A LibGdx library that allows a developer to add a console (similar to how it is featured in Source games) to their game.
https://www.strongjoshua.net/projects/games/libgdx-ingame-console
Apache License 2.0
131 stars 35 forks source link

Way to override help? #49

Open TJRklaassen opened 5 years ago

TJRklaassen commented 5 years ago

I would like to override help and create my own help list with a better explanation for each command. Is this possible? Or is it possible to give the commands a description in help?

TJRklaassen commented 5 years ago

Nvm I got it already, I just extended GUIConsole and overrode printCommands()

StrongJoshua commented 4 years ago

You can also use the annotations for setting command information. See here.

TJRklaassen commented 4 years ago

You can also use the annotations for setting command information. See here.

I know, but this doesn't satisfy my needs. Especially when a command has a bunch of different parameters. Your help method will log the command multiple times.

StrongJoshua commented 4 years ago

Could you provide an example? Maybe there's a way I can fix it.