libgdx / ashley

A Java entity system inspired by Ash & Artemis.
Apache License 2.0
861 stars 145 forks source link

[Question] Variable assignments at system update method #301

Open undefinedhuman opened 2 years ago

undefinedhuman commented 2 years ago

Is it possible to avoid those TransformComponent transformComponent = Mappers.TRANSFORM.get(entity), at each system update method? (Maybe through a library or annotation maybe?) Thank you very much in advance

fabiitch commented 2 years ago

Hey, no its not possible with ashley. I think https://github.com/junkdog/artemis-odb can do it.