package kr.syeyoung.dungeonsguide.dungeon.data; import lombok.Data; import java.util.ArrayList; import java.util.List; @Data public class OffsetPointSet implements Cloneable{ private List offsetPointList = new ArrayList(); @Override public Object clone() throws CloneNotSupportedException { OffsetPointSet ops = new OffsetPointSet(); for (OffsetPoint offsetPoint : offsetPointList) { ops.offsetPointList.add((OffsetPoint) offsetPoint.clone()); } return ops; } }