public TargetPlacementObject(TargetPlacementObject poiPlacementObject) : this() { id = poiPlacementObject.id; name = poiPlacementObject.name; position = poiPlacementObject.position; isValid = poiPlacementObject.isValid; }
public RoomStateGen(RoomStateGen oldStateGen = null) { if (oldStateGen == null) { poiPlacementObject = new TargetPlacementObject(); poiPlacementObject.isValid = false; annotationObjects = new List <AnnotationObject>(); objects = new List <RoomObjectObj>(); return; } poiPlacementObject = new TargetPlacementObject(oldStateGen.poiPlacementObject); annotationObjects = new List <AnnotationObject>(oldStateGen.annotationObjects); objects = new List <RoomObjectObj>(oldStateGen.objects); }
public void PlacePoi(TargetPlacementObject newPoi) { poiPlacementObject = newPoi; }