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

        
        /*
        for(int i = 0; i < bmap.entities.size(); i++)
        {
            Block tile = (Block) bmap.entities.get(i);
            if((int)(groundPoly.getY()) == (int)tile.poly.getY())
            {
                return true;
            }
        }
        return false;
        */
    }