cervus icon indicating copy to clipboard operation
cervus copied to clipboard

Remove get_entities_by_component in favor of game.components

Open stasm opened this issue 7 years ago • 1 comments
trafficstars

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.

stasm avatar Sep 17 '18 07:09 stasm

@michalbe It looks like #135 broke a few examples (I'll fix it). I tested this in LOGOUT and it worked fine.

stasm avatar Sep 17 '18 07:09 stasm