chrismdp / tinyking

Tiny King
GNU General Public License v3.0
8 stars 1 forks source link

Equality Check always returning new object #19

Closed chrismdp closed 4 years ago

chrismdp commented 4 years ago

The addSelector isn't returning the same object because its computing a hash. Need to find a different way of doing it: types and components will have the same order, so I can get the component type from that without needing to pass it through the selector.