예제 #1
0
 public InventorySpace (Base parent, int boxSize, Inventory inventory) : base (parent)
 {
     DrawDebugOutlines = true;
     foreach (var child in Children)
         child.DrawDebugOutlines = false;
     ShouldDrawBackground = false;
     BoundsOutlineColor = parent.GetCanvas ().Skin.Colors.Label.Dark;
     DragAndDrop_SetPackage (true, "item_drag");
     this.boxSize = boxSize;
     this.inventory = inventory;
 }