public static void removePlayer(int playerID) {
        battlefield.removePlayer(playerID);
        hand.remove(playerID);
        library.remove(playerID);
        graveyard.remove(playerID);
        exile.remove(playerID);
        lifepoints.remove(playerID);
        manapool.remove(playerID);
        if (playerID < activePlayer) {
            activePlayer--;
        }
        if (playerID == activePlayer) {
            activePlayer--;
            endTurn();
        }
    }