Indra-db / flecs-ecs-rs

a Rust API for Flecs : a fast entity component system (ECS)
MIT License
13 stars 4 forks source link

emit event as const by default, add `_mut` variants. #28

Closed waywardmonkeys closed 1 month ago

waywardmonkeys commented 3 months ago

This doesn't change the observe-side.

waywardmonkeys commented 3 months ago

It seems better to default to non-mut by default and things that require mut have a _mut suffix.

Indra-db commented 3 months ago

seems like a good change to me & the rust way (using _mut). Thanks for the wip!

waywardmonkeys commented 3 months ago

Not sure which things to do further ... the observe side needs a lot of work, but this part here works as it is.

Indra-db commented 2 months ago

Did some of the changes you proposed. If there's anything else, do let me know :D