예제 #1
0
 protected Tower(Board board, int indexOnBoard)
 {
     instanceId        = idGenerator++;
     this.board        = board;
     this.indexOnBoard = indexOnBoard;
     stats             = new TowerStats();
     effects           = new LinkedList <ITowerEffect>();
     targetStrategy    = new NearestMinionTargetStrategy();
 }
예제 #2
0
 protected Tower(Board board, int indexOnBoard)
 {
     instanceId = idGenerator++;
     this.board = board;
     this.indexOnBoard = indexOnBoard;
     stats = new TowerStats();
     effects = new LinkedList<ITowerEffect>();
     targetStrategy = new NearestMinionTargetStrategy();
 }