Open
Description
I'm a bit confused about the command pattern implementation.
In the 'input handler code snippet, the command binding is hinted at:
// Methods to bind commands...
private:
Command* buttonX_;
Command* buttonY_;
Command* buttonA_;
Command* buttonB_;
I think here it would be helpful to show the actual code for the bindings. Because the purpose of the pattern is to enable the re-binding of buttons, it would be useful to show a binding and re-binding in the example.
Metadata
Metadata
Assignees
Labels
No labels