4 ms·
> They do, they're `Entity`, always Yes, technically, but in how they're used - no. They're a dynamic type. > What you do tend to do in Bevy is adding/removin
by consteval 2y ago
> They do, they're `Entity`, always
Yes, technically, but in how they're used - no. They're a dynamic type.
> What you do tend to do in Bevy is adding/removing `Component`s to `Entity`s at runtime
Yes, this is dynamic typing. Or, at least, one way to look at it - and what allows games to be iterated on quick.
- CaptainOfCoit 2y ago> Yes, technically, but in how they're used - no. They're a dynamic type. No, they're really not. Are you talking about Archetypes or something else? Because an Entity is just a ID + a generation, that's it. Nothing more and nothing less. You don't define them as more/less, nor do you use them are more/less either. > Yes, this is dynamic typing. Or, at least, one way to look at it - and what allows games to be iterated on quick. I guess a `Vec<u8>` is also then dynamic typing in your mind as you can add/remove elements to the vector? Doesn't really compute for me personally, but whatever floats your boat.