src/main/java/ru/alphatech/icfpc/game/Player.java
changeset 122 845c89fa268e
parent 110 d6c063577f0d
child 127 57ee53a3cf56
     1.1 --- a/src/main/java/ru/alphatech/icfpc/game/Player.java	Mon Jun 20 01:48:37 2011 +0400
     1.2 +++ b/src/main/java/ru/alphatech/icfpc/game/Player.java	Mon Jun 20 01:59:43 2011 +0400
     1.3 @@ -8,6 +8,8 @@
     1.4  
     1.5  public class Player
     1.6  {
     1.7 +	private int playerNumber = -1;
     1.8 +
     1.9  	private Slot[] slots = new Slot[256];
    1.10  	private Player myOpponent = null;
    1.11  
    1.12 @@ -19,6 +21,14 @@
    1.13  		}
    1.14      }
    1.15  	
    1.16 +	public int getPlayerNumber() {
    1.17 +		return playerNumber;
    1.18 +	}
    1.19 +	
    1.20 +	public void setPlayerNumber(int playerNumber) {
    1.21 +		this.playerNumber = playerNumber;
    1.22 +	}
    1.23 +
    1.24  	public Player getMyOpponent() {
    1.25  		return myOpponent;
    1.26  	}
    1.27 @@ -33,7 +43,7 @@
    1.28  	}
    1.29  	
    1.30  	public PlayerStatistic getStatistic(){
    1.31 -		throw new RuntimeException("Not impilemented yet.");
    1.32 +		throw new RuntimeException("Not implemented yet.");
    1.33  	}
    1.34  	
    1.35  	public void applyBatch(Batch batch){