using System.Collections.Generic; using System.Linq; using Godot; using GodotGridInventory.Code.UI; namespace GodotGridInventory.Code.Grid; #nullable enable public class InventoryModel { public int Id { get; init; } public string Name { get; init; } = string.Empty; public int GridWidth { get; set; } public int GridHeight { get; set; } public List Items { get; set; } = new List(); public List Cells { get; set; } = new List(); public InventoryGrid? Grid { get; set; } = null; public InventoryGridInterface? GridInterface { get; set; } = null; public bool Open { get; set; } = false; }