Exemplo n.º 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();
 }
Exemplo n.º 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();
 }