Nez: free, open source 2D framework

Hey @prime31, fantastic framework from what I’ve seen so far and I’m thinking of moving my current project over!

Can I just ask what would you do if you needed one entity (or entity system) to have access to another entity?

I’m struggling to see how I would write a game where entities wouldn’t need direct access to other entities at some point yet with ECS I don’t see many examples.

Two examples I did see in the Nez Samples was calling a method on the scene to launch missiles or using an Entities access to it’s parent scene as a way to then get access to another entity. Is that the preferred way or should I be looking at design pasterns that avoid this completely?