mirror of
https://github.com/D4M13N-D3V/godot_grid_inventory.git
synced 2025-03-14 08:14:55 +00:00
18 lines
503 B
C#
18 lines
503 B
C#
![]() |
using System.Collections.Generic;
|
||
|
using System.Linq;
|
||
|
using Godot;
|
||
|
|
||
|
namespace GodotGridInventory.Code.Grid;
|
||
|
public class InventoryModel
|
||
|
{
|
||
|
public int Id { get; set; }
|
||
|
public string Name { get; set; }
|
||
|
public int GridWidth { get; set; }
|
||
|
public int GridHeight { get; set; }
|
||
|
|
||
|
public List<Item> Items { get; set; }
|
||
|
|
||
|
public List<InventoryCell> Cells { get; set; } = new List<InventoryCell>();
|
||
|
public InventoryGrid? Grid { get; set; }
|
||
|
public bool Open { get; set; } = false;
|
||
|
}
|