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