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