Skip to main content

Entity Component System (ECS)

OasisW uses an Entity Component System (ECS) to organize and manage objects in your application.
In this design pattern:

  • Entities are containers — they hold components but have no behavior of their own.
  • Components add functionality or data to entities.
  • Systems manage all instances of a given component type.

This approach provides:

  • Flexibility — You can combine and match components to build complex behaviors.
  • Modularity — Logic is encapsulated within components.
  • Performance — Systems process components in efficient batches.