public boolean isCeilingTouched(BlockMap bmap)
    {
        for(int i = 0; i < bmap.entities.size(); i++)
        {
            Block tile = (Block)bmap.entities.get(i);
            if(ceilingPoly.intersects(tile.poly))
            {
                return true;
            }
        }
        return false;
    }