# Collision Detection

In a game there may be a number of different

- Collision between a sprite and another sprite
- Collision between a sprite and a map

## Bounding rectangles

Described by the smallest rectangle that will

- An origin defined by an x and y coordinate, a width (the size of the rectangle in the x dimension) and a height (the size of the rectangle in the y dimension)

  If a sprite has a circular shape