dt-rush / sameriver

game engine written in go
Other
1 stars 1 forks source link

in ApplyComponentSet, create missing components and warn of possible typos #50

Open dt-rush opened 1 year ago

dt-rush commented 1 year ago

instead of panic when we apply a component that doesn't exist, simply create it.

but: if there exists a component of the same type with a hamming distance < 3, warn of possible typo