src/GameOfLife/Inputs/BoardEditor/Options/MoveSelectionOption.php
/**
     * Moves the selection to another area on the board.
     *
     * @param int $_posX The X-Position of the top left corner of the template on the board
     * @param int $_posY The Y-Position of the top left corner of the template on the board
     *
     * @return bool Indicates whether the board editing is finished
     *
     * @throws \Exception The "cut" and "paste" exceptions
     */
Moves the selection to another area on the board.
@param int $_posX The X-Position of the top left corner of the template on the board
@param int $_posY The Y-Position of the top left corner of the template on the board

@return bool Indicates whether the board editing is finished

@throws \Exception The "cut" and "paste" exceptions
Moves the selection to another area on the board . @param int $_posX The X - Position of the top left corner of the template on the board @param int $_posY The Y - Position of the top left corner of the template on the board @return bool Indicates whether the board editing is finished @throws \ Exception The " cut " and " paste " exceptions
public function moveSelection(int $_posX, int $_posY): Bool
    {
        $this->parentBoardEditor->optionHandler()->parseInput("cut");
        $this->parentBoardEditor->optionHandler()->parseInput("paste " . $_posX . " " . $_posY);
        $this->parentBoardEditor->outputBoard();
        return false;
    }
public function moveSelection ( int $ _posX , int $ _posY ) : Bool { $ this -> parentBoardEditor -> optionHandler ( ) -> parseInput ( " cut " ) ; $ this -> parentBoardEditor -> optionHandler ( ) -> parseInput ( " paste  " . $ _posX . " " . $ _posY ) ; $ this -> parentBoardEditor -> outputBoard ( ) ; return false ; }
Moves the selection to another area on the board.
Moves the selection to another area on the board .