| author | Azamat S. Kalimoulline <turtle@bazon.ru> |
| Sun, 19 Jun 2011 14:30:33 +0400 | |
| changeset 65 | 2c8b98d4efb8 |
| parent 33 | 0bf3653484d5 |
| child 80 | fcdce54b2f25 |
| permissions | -rw-r--r-- |
| akhmetovlz@33 | 1 |
package ru.alphatech.icfpc.game; |
| akhmetovlz@33 | 2 |
|
| akhmetovlz@33 | 3 |
import ru.alphatech.icfpc.cards.ICard; |
| akhmetovlz@33 | 4 |
|
| akhmetovlz@33 | 5 |
public class Batch {
|
| akhmetovlz@33 | 6 |
|
| akhmetovlz@33 | 7 |
public enum OperationType {
|
| akhmetovlz@33 | 8 |
CARD_TO_SLOT, |
| akhmetovlz@33 | 9 |
SLOT_TO_CARD |
| akhmetovlz@33 | 10 |
} |
| akhmetovlz@33 | 11 |
|
| akhmetovlz@33 | 12 |
OperationType operationType; |
| akhmetovlz@33 | 13 |
|
| akhmetovlz@33 | 14 |
public ICard card = null; |
| akhmetovlz@33 | 15 |
public Slot slot = null; |
| akhmetovlz@33 | 16 |
|
| akhmetovlz@33 | 17 |
public Batch(OperationType type, ICard card, Slot slot){
|
| akhmetovlz@33 | 18 |
this.operationType = type; |
| akhmetovlz@33 | 19 |
this.card = card; |
| akhmetovlz@33 | 20 |
this.slot = slot; |
| akhmetovlz@33 | 21 |
} |
| akhmetovlz@33 | 22 |
|
| akhmetovlz@33 | 23 |
} |