Skip to content

Commit

Permalink
📝 Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielePicco committed Oct 27, 2023
1 parent e2d430e commit 3f8e21b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/introduction/ecs.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The Solana Virtual Machine makes use of a paradigm similar to an ECS. The state

When we compare it to Solana's architecture, it becomes evident how easily the ECS can be implemented:

- **Entity**: An entity is a general-purpose object typically represented by a unique identifier.
- **Entities**: An entity is a general-purpose object typically represented by a unique identifier.
It doesn't directly contain any data or behaviour but serves as an identifier for a collection of components. Entities can be registered in a world instance account on Solana and could themselves be accounts.
- **Components**: Raw data structure that represents some aspect or attribute of an entity. For instance, a PositionComponent might just contain x, y, and z coordinates. This is concept is essentially equivalent to accounts on Solana.
- **Systems**: Performs the game logic or behaviour by acting upon entities that have specific components. Systems are essentialy programs on Solana, which only specify the logic and the accounts they operate on.
Expand Down

0 comments on commit 3f8e21b

Please sign in to comment.