public SideElementTool(Editor editor, SideElementType elementType, string name = "SideTool", bool enableCapacity = false) { _editor = editor; _elementType = elementType; _enableCapacity = enableCapacity; Name = name; Capacity = 3; GUIConfiguration = BuildGUIConfiguration(); }
public void SetSide(Direction side, SideElementType value) { GetSideElement(side).Type = value; }
public void Set(SideElementType value) { Segment.SetSide(Side, value); }
public SideElement(SideElementType type = SideElementType.NONE) { Type = type; }