Skip to content

Commit

Permalink
Update docs/design.md
Browse files Browse the repository at this point in the history
Co-authored-by: Ben Frankel <[email protected]>
  • Loading branch information
janhohenheim and benfrankel committed Aug 8, 2024
1 parent c3770dc commit e6576d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/design.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ fn spawn_monster(mut commands: Commands) {

### Reasoning

By encapsulating the spawning of a game object in a function,
By encapsulating the spawning of a game object in a custom command,
you save on boilerplate code and can easily change the behavior of spawning.
A custom command is an elegant way to then indirectly call this function from anywhere in your code.

Expand Down

0 comments on commit e6576d6

Please sign in to comment.