Move an entity by a delta and stop at collisions with other entities.
The entity ID to move
Horizontal movement delta in pixels
Vertical movement delta in pixels
The entity ID of the collided entity, or 0 if no collision
Move an entity by a delta and stop at collisions with other entities.