code: private void renderCollision(Graphic g, TileCollision tile, int x, int y)
      {
          for (final CollisionFormula collision : tile.getCollisionFormulas())
          {
              final ImageBuffer buffer = collisionCache.get(collision);
              if (buffer != null)
              {
                  g.drawImage(buffer, x, y);
              }
          }
      }
docs: Render the collision function.
  
  @param g The graphic output.
  @param tile The tile reference.
  @param x The horizontal render location.
  @param y The vertical render location.