| author | Azamat S. Kalimoulline <turtle@bazon.ru> |
| Sun, 19 Jun 2011 11:14:05 +0400 | |
| changeset 28 | 7ff8ba5fb4cf |
| parent 19 | 624552552ae7 |
| child 30 | 2579b2cd9446 |
| permissions | -rw-r--r-- |
| turtle@12 | 1 |
package ru.alphatech.icfpc.game; |
| 0-range@4 | 2 |
|
| turtle@28 | 3 |
import ru.alphatech.icfpc.cards.I; |
| akhmetovlz@17 | 4 |
import ru.alphatech.icfpc.cards.ICard; |
| akhmetovlz@17 | 5 |
|
| 0-range@4 | 6 |
|
| turtle@11 | 7 |
public class Player |
| 0-range@4 | 8 |
{
|
| turtle@28 | 9 |
private Slot[] slots = new Slot[256]; |
| turtle@28 | 10 |
|
| turtle@28 | 11 |
public Player() |
| turtle@28 | 12 |
{
|
| turtle@28 | 13 |
for(int i = 0; i < 255; i++) |
| turtle@28 | 14 |
{
|
| turtle@28 | 15 |
slots[i].setVitality(10000); |
| turtle@28 | 16 |
slots[i].putValue(new I()); |
| turtle@28 | 17 |
} |
| turtle@28 | 18 |
} |
| turtle@28 | 19 |
|
| turtle@11 | 20 |
public Slot getSlot(int i) |
| turtle@11 | 21 |
{
|
| turtle@28 | 22 |
return slots[i]; |
| turtle@11 | 23 |
} |
| akhmetovlz@17 | 24 |
|
| akhmetovlz@17 | 25 |
public void applyCardToSlot(ICard card, Slot slot){
|
| akhmetovlz@17 | 26 |
throw new RuntimeException("Not impilemented yet.");
|
| akhmetovlz@17 | 27 |
} |
| akhmetovlz@17 | 28 |
|
| akhmetovlz@17 | 29 |
public void applySlotToCard(Slot slot, ICard card){
|
| akhmetovlz@17 | 30 |
throw new RuntimeException("Not impilemented yet.");
|
| akhmetovlz@17 | 31 |
} |
| akhmetovlz@19 | 32 |
|
| akhmetovlz@19 | 33 |
public PlayerStatistic getStatistic(){
|
| akhmetovlz@19 | 34 |
throw new RuntimeException("Not impilemented yet.");
|
| akhmetovlz@19 | 35 |
} |
| 0-range@4 | 36 |
} |