public boolean isInFightRange(Soldier s) { for (int i = 0; i < fightRange.length; i++) { if (s.getCheckRow() == fightRange[i][0] && s.getCheckCol() == fightRange[i][1]) { fightCurIndex = i; return true; } } return false; }