private void checkRotations(TetrominoMoveSelector moves, Tetromino tetromino, int x, int y) {
        //Si c'est un carré, la rotation est transparente
        if(tetromino.getHeight() == tetromino.getWidth()){
            moves.addRotateRight();
            moves.addRotateLeft();
        }else{
            TetrominoMoveSelector rotations = new TetrominoMoveSelector();

            //Rotation à gauche
            tetromino.rotateLeft();

            checkBottom(rotations, tetromino, x, y);
            checkLeft(rotations, tetromino, x, y);
            checkRight(rotations, tetromino, x, y);

            if(rotations.canTranslateBottom() && rotations.canTranslateLeft() && rotations.canTranslateRight()){
                moves.addRotateLeft();
            }

            //Rotation a droite
            tetromino.rotateRight();
            tetromino.rotateRight();

            rotations.clear();

            checkBottom(rotations, tetromino, x, y);
            checkLeft(rotations, tetromino, x, y);
            checkRight(rotations, tetromino, x, y);

            if(rotations.canTranslateBottom() && rotations.canTranslateLeft() && rotations.canTranslateRight()){
                moves.addRotateRight();
            }

            //On remet en place
            tetromino.rotateLeft();
        }
    }