main
1namespace gorilla.commons.utility
2{
3 public class ChainedCommand : Command
4 {
5 readonly Command left;
6 readonly Command right;
7
8 public ChainedCommand(Command left, Command right)
9 {
10 this.left = left;
11 this.right = right;
12 }
13
14 public void run()
15 {
16 left.run();
17 right.run();
18 }
19 }
20}