Skip to content

Instantly share code, notes, and snippets.

@redforce01
Created May 4, 2017 15:02
Command Pattern 2
class JumpCommand : public Command
{
public:
virtual void execute(GameActor& actor)
{
actor.jump();
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment