public bool CanShot() { if (!wasShootInThisTurn) { if (gameMenager.ActivePlayer1()) { if (stack1[index] > 0) { stack1[index]--; return(true); } else { return(false); } } if (!gameMenager.ActivePlayer1()) { if (stack2[index] > 0) { stack2[index]--; return(true); } else { return(false); } } else { return(false); } } else { return(false); } }