private void Execute(Piece piece, Modify modifyPiece, ICommand pieceCommand) { modifyPiece.SetCommand(pieceCommand); modifyPiece.Invoke(); }
private void Execute(GamePlayControll gamePlayControll, Modify modifyGamePlay, ICommand GamePlayCommand) { modifyGamePlay.SetCommand(GamePlayCommand); modifyGamePlay.Invoke(); }