$ ./guess_the_languageGame Dev
Game Dev · medium · #15

Which architecture does this pattern suggest?

world.addComponent(entity, new Velocity(2, 0));
  1. Entity-Component-System
  2. Singleton pattern
  3. Observer pattern
  4. Model-View-Controller
Attaching components to entities inside a world is the core idea of ECS.
Play Game Dev ▸