src/main/java/ru/alphatech/icfpc/game/Player.java
author akhmetovlz
Sun, 19 Jun 2011 14:34:54 +0400
changeset 66 8c820ab3cd8a
parent 48 7e49c679fc70
child 80 fcdce54b2f25
permissions -rw-r--r--
Композиция
turtle@12
     1
package ru.alphatech.icfpc.game;
0-range@4
     2
akhmetovlz@17
     3
import ru.alphatech.icfpc.cards.ICard;
akhmetovlz@17
     4
0-range@4
     5
turtle@11
     6
public class Player
0-range@4
     7
{
turtle@28
     8
	private Slot[] slots = new Slot[256];
turtle@28
     9
	
turtle@28
    10
	public Player()
turtle@28
    11
    {
turtle@28
    12
		for(int i = 0; i < 255; i++)
turtle@28
    13
		{
0-range@43
    14
			slots[i] = new Slot();
turtle@28
    15
		}
turtle@28
    16
    }
turtle@28
    17
	
turtle@11
    18
	public Slot getSlot(int i)
turtle@11
    19
	{
turtle@28
    20
		return slots[i];
turtle@11
    21
	}
akhmetovlz@17
    22
	
akhmetovlz@17
    23
	public void applyCardToSlot(ICard card, Slot slot){
akhmetovlz@17
    24
		throw new RuntimeException("Not impilemented yet.");
akhmetovlz@17
    25
	}
akhmetovlz@17
    26
	
akhmetovlz@17
    27
	public void applySlotToCard(Slot slot, ICard card){
akhmetovlz@17
    28
		throw new RuntimeException("Not impilemented yet.");
akhmetovlz@17
    29
	}
akhmetovlz@19
    30
	
akhmetovlz@19
    31
	public PlayerStatistic getStatistic(){
akhmetovlz@19
    32
		throw new RuntimeException("Not impilemented yet.");
akhmetovlz@19
    33
	}
akhmetovlz@30
    34
	
akhmetovlz@30
    35
	
0-range@4
    36
}