src/main/java/ru/alphatech/icfpc/game/Player.java
author Azamat S. Kalimoulline <turtle@bazon.ru>
Sun, 19 Jun 2011 11:18:57 +0400
changeset 29 9f1b16124685
parent 28 7ff8ba5fb4cf
child 30 2579b2cd9446
permissions -rw-r--r--
Reading opponent input.
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
}