equal
deleted
inserted
replaced
13 |
13 |
14 public ICard card = null; |
14 public ICard card = null; |
15 public Slot slot = null; |
15 public Slot slot = null; |
16 |
16 |
17 public Batch(OperationType type, ICard card, Slot slot){ |
17 public Batch(OperationType type, ICard card, Slot slot){ |
|
18 if(type == null || card == null || slot == null) |
|
19 throw new ICFPCException("Illegal constructor using!"); |
18 this.operationType = type; |
20 this.operationType = type; |
19 this.card = card; |
21 this.card = card; |
20 this.slot = slot; |
22 this.slot = slot; |
21 } |
23 } |
22 |
24 |