Skip to content

Commit

Permalink
Merge pull request #43 from maxgiraldo/main
Browse files Browse the repository at this point in the history
Update components.md
  • Loading branch information
ponderingdemocritus authored Aug 24, 2023
2 parents 7fc171f + 30c8867 commit b726262
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cairo/components.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ struct Counter {
}
```

So the Human will have a `Potions`, `Health` and `Potions` component, and the Goblin will have a `Health` and `Position` component. By doing we save having to create Health and Position components for each entity type.
So the Human will have a `Potions`, `Health` and `Position` component, and the Goblin will have a `Health` and `Position` component. By doing we save having to create Health and Position components for each entity type.

So then a system would look like this:

Expand Down

0 comments on commit b726262

Please sign in to comment.