You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
1.6 KiB

using Microsoft.AspNetCore.Components;
using BlazorApp1.Sevices;
namespace BlazorApp1.Components
{
public partial class Inventory
{
[Parameter]
public List<Item> Items { get; set; }
public Item CurrentDragItem { get; set; }
public ItemDisplay CurrentEllement { get; set; }
public List<Item> InventoryItems { get; set; } = new List<Item>() { null, null, null, null, null, null, null, null, null, null,
null, null, null, null, null, null, null, null, null, null,
null, null, null, null, null, null, null, null, null, null,
null, null, null, null, null, null, null, null, null, null
};
public List<int> InventoryNbElems { get; set; } = new List<int>() { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
};
public int CurrenttmpNbElem { get; set; }
public void StateChange()
{
StateHasChanged();
}
}
}