private void Execute(Piece piece, Modify modifyPiece, ICommand pieceCommand) { modifyPiece.SetCommand(pieceCommand); modifyPiece.Invoke(); }
public void Redact1(string slovo) { slovo = slovo.Replace("k", "s"); Modify.Invoke($"Мутирование: {slovo}"); }
private void Execute(GamePlayControll gamePlayControll, Modify modifyGamePlay, ICommand GamePlayCommand) { modifyGamePlay.SetCommand(GamePlayCommand); modifyGamePlay.Invoke(); }