News for hackers. Stuff that matters.
Re:EnTT: Gaming meets modern C++ 3.9 (ECS library and much m... by chmod775 on Wednesday December 22, 2021 @01:56AM (#29646286)
I don't think the terminology you're looking for is not stateful/stateless, it's single source of truth vs multiple.

The latter is an anti-pattern, and you can do either with ECS.

With ECS nothing prevents you from just having the "physical" game state as the single source of truth, and having the render function for the player inventories look at it.

There are no comments on this comment yet.