src/main/java/ru/alphatech/icfpc/game/Run.java
changeset 140 9ddaa68cccae
parent 134 c686931ff47e
equal deleted inserted replaced
138:fd3b663230ed 140:9ddaa68cccae
    24 import ru.alphatech.icfpc.cards.S;
    24 import ru.alphatech.icfpc.cards.S;
    25 import ru.alphatech.icfpc.cards.Succ;
    25 import ru.alphatech.icfpc.cards.Succ;
    26 import ru.alphatech.icfpc.cards.Zero;
    26 import ru.alphatech.icfpc.cards.Zero;
    27 import ru.alphatech.icfpc.cards.Zombie;
    27 import ru.alphatech.icfpc.cards.Zombie;
    28 import ru.alphatech.icfpc.game.Batch.OperationType;
    28 import ru.alphatech.icfpc.game.Batch.OperationType;
       
    29 import ru.alphatech.icfpc.game.strategy.HelpStrategy;
    29 import ru.alphatech.icfpc.game.strategy.IStrategy;
    30 import ru.alphatech.icfpc.game.strategy.IStrategy;
    30 import ru.alphatech.icfpc.game.strategy.LenarStrategy;
    31 import ru.alphatech.icfpc.game.strategy.LenarStrategy;
    31 
    32 
    32 public class Run
    33 public class Run
    33 {
    34 {
    50 		registers[1] = 1;
    51 		registers[1] = 1;
    51 		registers[2] = 2;
    52 		registers[2] = 2;
    52 		registers[3] = 3;
    53 		registers[3] = 3;
    53 	}
    54 	}
    54 	
    55 	
    55 	private static IStrategy strategy = new LenarStrategy();
    56 	private static IStrategy strategy = new HelpStrategy();
    56 	
    57 	
    57 	public static Slot getRegisterByIndex(int registerIndex){
    58 	public static Slot getRegisterByIndex(int registerIndex){
    58 		return proponent.getSlot( registers[registerIndex] );
    59 		return proponent.getSlot( registers[registerIndex] );
    59 	}
    60 	}
    60 	
    61