public Fight(IGameConfiguration configuration, Map map) { this.id = map.getNextFightId(); this.configuration = configuration; this.map = map; this.cells = FightCell.toFightCell(this, map.getCells(), map.getPlaces()); String[] places = map.getPlaces().split("\\|"); this.challengers = new Team(this, FightTeamEnum.CHALLENGER, places[0]); this.defenders = new Team(this, FightTeamEnum.DEFENDER, places[1]); this.state = FightStateEnum.INIT; }