sorting the clips is done in every frame. this is a bit slower than before i think, but at least everything is in one place.
clearer sorting.
Merge branch 'feature/fireball' of github.com:r00f/prophet-code into feature/fireball
remove warning duplicate variable.
enabled collision detection on damagebox. Fixed forEach arguemtn on Entity. Fixed spell not adding eventlistener.