src/main/java/ru/alphatech/icfpc/game/Player.java
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--
Player slots.
     1 package ru.alphatech.icfpc.game;
     2 
     3 import ru.alphatech.icfpc.cards.I;
     4 import ru.alphatech.icfpc.cards.ICard;
     5 
     6 
     7 public class Player
     8 {
     9 	private Slot[] slots = new Slot[256];
    10 	
    11 	public Player()
    12     {
    13 		for(int i = 0; i < 255; i++)
    14 		{
    15 			slots[i].setVitality(10000);
    16 			slots[i].putValue(new I());
    17 		}
    18     }
    19 	
    20 	public Slot getSlot(int i)
    21 	{
    22 		return slots[i];
    23 	}
    24 	
    25 	public void applyCardToSlot(ICard card, Slot slot){
    26 		throw new RuntimeException("Not impilemented yet.");
    27 	}
    28 	
    29 	public void applySlotToCard(Slot slot, ICard card){
    30 		throw new RuntimeException("Not impilemented yet.");
    31 	}
    32 	
    33 	public PlayerStatistic getStatistic(){
    34 		throw new RuntimeException("Not impilemented yet.");
    35 	}
    36 }