>.
Given the simplicity of these operations, it also makes for a fast method of calculating collisions.</p>
<h2 id="bitmasks">Bitmasks</h2>
<p><img src="../images/02-16-collision-colored.png" alt=""></p>
<p>Let&apos;s take a look at this scene for a moment and identify from the crudely drawn shapes some potential entities:</p>
<p><img src="../images/02-16-collision-labeled.png" alt=""></p>
<p>All these entities fall into unique categories in that we want each of them to collide with certain other entities.
