Timeline for How can I iterate over all entities with a particular component?
Current License: CC BY-SA 4.0
7 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 13, 2018 at 12:53 | vote | accept | Mathew O'Dwyer | ||
| Sep 9, 2018 at 15:51 | comment | added | Applekini | @MathewO'Dwyer Edited. Not sure if that will work though since I cannot test it at the moment. | |
| Sep 9, 2018 at 15:51 | history | edited | Applekini | CC BY-SA 4.0 | Changed return type to the expected type |
| Sep 9, 2018 at 15:43 | comment | added | Mathew O'Dwyer | Yes, exactly :) | |
| Sep 9, 2018 at 15:41 | comment | added | Applekini | @MathewO'Dwyer Ah, so you mean that entity is not of type Entity but an instance of the Filter struct? If so give me a second I will edit the answer. | |
| Sep 9, 2018 at 15:37 | comment | added | Mathew O'Dwyer | Whilst this answer is surely helpful and has gotten me a little closer. The problem is your return type is a list of entities, whereas I wish for the return type to be the filter type :) | |
| Sep 9, 2018 at 15:09 | history | answered | Applekini | CC BY-SA 4.0 |