equal
deleted
inserted
replaced
65 |
65 |
66 public ICard getCard(){ |
66 public ICard getCard(){ |
67 return type == TYPE.ATTACK ? new Attack() : new Help(); |
67 return type == TYPE.ATTACK ? new Attack() : new Help(); |
68 } |
68 } |
69 |
69 |
70 protected ArrayList<Batch> BcombineForFunctWith3ParamsInRegister(ICard function, Slot processingSlot){ |
70 protected ArrayList<Batch> BcombineForFunctWith3ParamsInRegister(ICard function, Slot processingSlot) |
|
71 { |
71 ArrayList<Batch> retArray = new ArrayList<Batch>(); |
72 ArrayList<Batch> retArray = new ArrayList<Batch>(); |
72 |
73 |
73 if(!(function instanceof Attack || function instanceof Help)){ |
74 if(!(function instanceof Attack || function instanceof Help)){ |
74 throw new ICFPCException(); |
75 throw new ICFPCException(); |
75 } |
76 } |