Skip to content

Instantly share code, notes, and snippets.

@redforce01
Created May 6, 2017 07:45
Command Pattern 2
Command* command = inputHandler.handleInput();
if( command ) {
command->execute(actor);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment