/** * Constructor */ public function __construct($map, $eventDispatcher) { // parent parent::__construct($map, $eventDispatcher); // queues $this->regionPickerStrategies = array(); $this->armyPlacementStrategies = array(); $this->attackTransferStrategies = array(); }
/** * Transform the bot to its JSON representation * @return Array */ public function jsonSerialize() { $data = parent::jsonSerialize(); $data['tags'] = $this->getTags(); return $data; }