got not jumping logic for collisions working
correct game logic for collisions implemented
got rect based collisions with abitary sized sprites and hitboxes working
start of more generalised collision system
fixed player-level and player-monster collisions
added rudimentary bullet (no collision detection yet)
got bullet collisions working
add some comments
recompile js
Made changes based on feedback:
* renamed overlapHitBox, which is now not exported
* routines now take an array of Enemyentities, no reference to 'monster'
* updateBullet routine now returns an array of objects the bullet collided with (empty if no collisions)
* unused code removed
updateBullet function now returns collision points
Merge pull request #1 from jpmit/fixrect

Fixrect