public boolean agentShot(int X, int Y) { if (playerHomeGrid.shot(X, Y)) { influenceMap.hit(X, Y); return true; } else { influenceMap.miss(X, Y); return false; } }
public boolean playerShot(int i, int j) { return compHomeGrid.shot(i, j); }