src/main/java/ru/alphatech/icfpc/game/Run.java
changeset 112 d1b74db1d349
parent 106 643b85a8a16b
child 122 845c89fa268e
equal deleted inserted replaced
110:d6c063577f0d 112:d1b74db1d349
    27 import ru.alphatech.icfpc.cards.Zero;
    27 import ru.alphatech.icfpc.cards.Zero;
    28 import ru.alphatech.icfpc.cards.Zombie;
    28 import ru.alphatech.icfpc.cards.Zombie;
    29 import ru.alphatech.icfpc.game.Batch.OperationType;
    29 import ru.alphatech.icfpc.game.Batch.OperationType;
    30 import ru.alphatech.icfpc.game.strategy.IStrategy;
    30 import ru.alphatech.icfpc.game.strategy.IStrategy;
    31 import ru.alphatech.icfpc.game.strategy.SimplyStrategy;
    31 import ru.alphatech.icfpc.game.strategy.SimplyStrategy;
       
    32 import ru.alphatech.icfpc.game.strategy.YetAnotherStrategy;
    32 
    33 
    33 public class Run
    34 public class Run
    34 {
    35 {
    35 	private static int callcount = 0;
    36 	private static int callcount = 0;
    36 
    37 
    51 		registers[1] = 1;
    52 		registers[1] = 1;
    52 		registers[2] = 2;
    53 		registers[2] = 2;
    53 		registers[3] = 3;
    54 		registers[3] = 3;
    54 	}
    55 	}
    55 	
    56 	
    56 	private static IStrategy strategy = new SimplyStrategy();
    57 	private static IStrategy strategy = new YetAnotherStrategy();
    57 	
    58 	
    58 	public static Slot getRegisterByIndex(int registerIndex){
    59 	public static Slot getRegisterByIndex(int registerIndex){
    59 		return proponent.getSlot( registers[registerIndex] );
    60 		return proponent.getSlot( registers[registerIndex] );
    60 	}
    61 	}
    61 	
    62