Camfight.Player.isHit C# (CSharp) Method

isHit() public method

public isHit ( int sector ) : bool
sector int
return bool
        public bool isHit(int sector)
        {
            if ((x + 170) / (640 / 5) == sector / 3)
            {
                getHurt((3 - (sector % 3)) * 5);
                return true;
            }
            return false;
        }