hmans / miniplex

A 👩‍💻 developer-friendly entity management system for 🕹 games and similarly demanding applications, based on 🛠 ECS architecture.
MIT License
827 stars 38 forks source link

`archetype.first` #259

Closed hmans closed 1 year ago

hmans commented 1 year ago

A getter that returns the first entity (or undefined if the archetype doesn't have any entities.) Could be implemented directly on Bucket.