don't let an entity move if it would collide with a collision type (wall)