getter for the position added
if the sprite is colliding with another, cancel its move
sprites have now a hitbox for the collisions
update the hitbox with the sprite
test the collision on the hitbox and not on the sprite
hitbox descriptions defined in consts.py
Hitbox size and position taken from consts
the hitbox is not necessary centered with the main sprite
hitbox created at the end of the player creation
key renamed
fill the hitbox in case of displaying it
Debug line added
Draw of the rect and of the hitbox splitted: the hitbox needs to be drawn before, for the collisions handling, then the
sprites must be sorted on their y axis, and displayed after
good variables used
hitboxes conf changed
Merge branch 'collision'