private void insert(int pos) { gameBoardObject.setInputElementClicked(pos); gameBoardData.insert(pos, actualPlayer); gameProgress.newState(gameBoardData.getBoardAsArray(), pos); gameBoardChanged(); changePlayer(); }