Why wrap player actions as command objects?
- To run each action on the GPU
- To make undo and replay easy
- To skip input validation
- To store them in the scene file
Each command records what it did, so it can be reversed, queued, logged for replays or sent over the network.
Play Game Dev ▸