oakes / play-clj

A Clojure game library
The Unlicense
939 stars 73 forks source link

update entities in on-end-contact cancels changes in on-render #96

Open danjohansson opened 8 years ago

danjohansson commented 8 years ago

Updating entities in on-end-contact or on-begin-contact will cancel changes in e.g. on-render where the step! fn is called, or if the (.destroyBody ...) fn is called, because compare-and-set! is used.