Open stasm opened 6 years ago
game.components.get() may now be used to get sets of component instances by constructor. Use component.entity to get to the entity containing the instance.
game.components.get()
component.entity
@michalbe It looks like #135 broke a few examples (I'll fix it). I tested this in LOGOUT and it worked fine.
game.components.get()
may now be used to get sets of component instances by constructor. Usecomponent.entity
to get to the entity containing the instance.