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