src/main/java/ru/alphatech/icfpc/game/Player.java
changeset 98 19dba9e387ce
parent 96 8c40512777a1
child 99 60187fe9405d
equal deleted inserted replaced
97:89f13f209302 98:19dba9e387ce
     1 package ru.alphatech.icfpc.game;
     1 package ru.alphatech.icfpc.game;
     2 
     2 
     3 import ru.alphatech.icfpc.cards.ICard;
       
     4 
     3 
     5 
     4 
     6 public class Player
     5 public class Player
     7 {
     6 {
     8 	private Slot[] slots = new Slot[256];
     7 	private Slot[] slots = new Slot[256];
     9 	
     8 	
    10 	public Player()
     9 	public Player()
    11     {
    10     {
    12 		for(int i = 0; i < 255; i++)
    11 		for(int i = 0; i < 255; i++)
    13 		{
    12 		{
    14 			slots[i] = new Slot();
    13 			slots[i] = new Slot(i);
    15 		}
    14 		}
    16     }
    15     }
    17 	
    16 	
    18 	public Slot getSlot(int i)
    17 	public Slot getSlot(int i)
    19 	{
    18 	{
    20 		return slots[i];
    19 		return slots[i];
    21 	}
    20 	}
    22 	
    21 	
    23 	public void applyCardToSlot(ICard card, Slot slot){
       
    24 		throw new RuntimeException("Not impilemented yet.");
       
    25 	}
       
    26 	
       
    27 	public void applySlotToCard(Slot slot, ICard card){
       
    28 		throw new RuntimeException("Not impilemented yet.");
       
    29 	}
       
    30 	
       
    31 	public PlayerStatistic getStatistic(){
    22 	public PlayerStatistic getStatistic(){
    32 		throw new RuntimeException("Not impilemented yet.");
    23 		throw new RuntimeException("Not impilemented yet.");
    33 	}
    24 	}
    34 	
    25 	
       
    26 	public void applyBatch(Batch batch){
       
    27 		
       
    28 	}
    35 	
    29 	
    36 }
    30 }