We use a type tag so that we can compare the types of entities at runtime
without having to mess with scala introspection. Additionally, different
entities might have the same type, but different EntityTypes, a notable
example of this is Parts.
We use a type tag so that we can compare the types of entities at runtime
without having to mess with scala introspection. Additionally, different
entities might have the same type, but different EntityTypes, a notable
example of this is Parts.