magmo / apps

Proof of concept applications that use the Force Move Game framework.
9 stars 5 forks source link

Clean up initializers #634

Closed andrewgordstewart closed 5 years ago

andrewgordstewart commented 5 years ago

Many initializers are better off using destructured objects as their arguments. This is less bug-prone -- consider the case where proposedAllocation and proposedDestination are passed in the wrong order -- and leads to cleaner tests.

Along the way, I removed some extra cruft.