| author | indvdum |
| Sun, 19 Jun 2011 17:46:57 +0400 | |
| changeset 94 | 3b656d955291 |
| parent 90 | 774e7ce00b5f |
| child 96 | 8c40512777a1 |
| permissions | -rw-r--r-- |
| turtle@12 | 1 |
package ru.alphatech.icfpc.game; |
| 0-range@4 | 2 |
|
| akhmetovlz@17 | 3 |
import ru.alphatech.icfpc.cards.ICard; |
| akhmetovlz@17 | 4 |
|
| 0-range@4 | 5 |
|
| turtle@11 | 6 |
public class Player |
| 0-range@4 | 7 |
{
|
| turtle@28 | 8 |
private Slot[] slots = new Slot[256]; |
| turtle@28 | 9 |
|
| turtle@28 | 10 |
public Player() |
| turtle@28 | 11 |
{
|
| turtle@28 | 12 |
for(int i = 0; i < 255; i++) |
| turtle@28 | 13 |
{
|
| indvdum@80 | 14 |
slots[i] = new Slot(i); |
| turtle@28 | 15 |
} |
| turtle@28 | 16 |
} |
| turtle@28 | 17 |
|
| turtle@11 | 18 |
public Slot getSlot(int i) |
| turtle@11 | 19 |
{
|
| turtle@28 | 20 |
return slots[i]; |
| turtle@11 | 21 |
} |
| akhmetovlz@17 | 22 |
|
| akhmetovlz@19 | 23 |
public PlayerStatistic getStatistic(){
|
| akhmetovlz@19 | 24 |
throw new RuntimeException("Not impilemented yet.");
|
| akhmetovlz@19 | 25 |
} |
| akhmetovlz@30 | 26 |
|
| indvdum@90 | 27 |
public void applyBatch(Batch batch){
|
| indvdum@94 | 28 |
|
| indvdum@90 | 29 |
} |
| akhmetovlz@30 | 30 |
|
| 0-range@4 | 31 |
} |