merge(LogicGridGroup group){ data.addAll(group.data.map((unit)=>unit.changeAxis(group.axis, axis))); }