CollisionWithMap

Detects a collision of a sprite with a collision tile from the map. When a collision is detected it moves the sprite out of the collision, and returns the side of the sprite that collided with the map first (this is a best estimate). If no collision occurs it returns "None", indicating no collisions.

Also See

 * Map
 * Sprite
 * Vector