public ItemRackStyle(ItemRackStyle style) : base(style) { Type = style.Type; Left = style.Left; Size = style.Size; }
/// <summary> /// Widget for drawing item (with ability to draw sign with text on topS). /// </summary> public ItemRack(int x, int y, ItemRackStyle style = null, Action <VisualObject, Touch> callback = null) : base(x, y, 3, 3, new UIConfiguration(), style ?? new ItemRackStyle(), callback) { ForceSection = true; }