예제 #1
0
 void executeThePlayersCode(List <Operation> steps)
 {
     for (Operation op : steps)
     {
         CodeNugget nugget = op.nugget;
         nugget.getFunc().test(this, op.param);
     }
 }
예제 #2
0
 public Operation(CodeNugget nugget, Object parameter)
 {
     this.nugget = nugget;
     this.param  = parameter;
 }