package ru.alphatech.icfpc.game;

import ru.alphatech.icfpc.cards.I;

import ru.alphatech.icfpc.cards.ICard;


public class Player
{
	private Slot[] slots = new Slot[256];
	int registers[] = new int[4];
	
	public Player()
    {
		for(int i = 0; i < 255; i++)
		{
			slots[i].setVitality(10000);
			slots[i].putValue(new I());
		}
		registers[0] = 0;
		registers[1] = 1;
		registers[2] = 2;
		registers[3] = 3;
    }
	
	public Slot getSlot(int i)
	{
		return slots[i];
	}
	
	public Slot getRegisterByIndex(int registerIdex){
		return getSlot( registers[registerIdex] );
	}
	
	public void applyCardToSlot(ICard card, Slot slot){
		throw new RuntimeException("Not impilemented yet.");
	}
	
	public void applySlotToCard(Slot slot, ICard card){
		throw new RuntimeException("Not impilemented yet.");
	}
	
	public PlayerStatistic getStatistic(){
		throw new RuntimeException("Not impilemented yet.");
	}
	
	
}
