Traveller/scripts/inventory/PlaceholderItem.cs
Cold-Mint 81344faa3e
Add animation to spell editor.
加入法术编辑器的动画。
2024-10-01 15:01:34 +08:00

58 lines
1.2 KiB
C#

using Godot;
namespace ColdMint.scripts.inventory;
/// <summary>
/// <para>PlaceholderItem</para>
/// <para>占位物品</para>
/// </summary>
public class PlaceholderItem : IItem
{
public int Index { get; set; }
public string Id { get; set; }
public void ShowSelf()
{
}
public void QueueFreeSelf()
{
}
public void HideSelf()
{
}
public Texture2D Icon { get; }
public string Name { get; }
public string? Description { get; } = null;
public int Quantity { get; set; } = 1;
public int MaxQuantity { get; } = 1;
public bool IsSelect { get; set; }
public bool CanContainItems { get; set; } = false;
public IItemContainer? ItemContainer { get; set; }
public IItemContainer? SelfItemContainer { get; set; }
public int MergeableItemCount(IItem other, int unallocatedQuantity)
{
return 0;
}
public IItem? CreateItem(int number)
{
return null;
}
public void Use(Node2D? owner, Vector2 targetGlobalPosition)
{
throw new System.NotImplementedException();
}
public void OnThrow(Vector2 velocity)
{
throw new System.NotImplementedException();
}
}