Move files and folders to new repo format to enable multi-project format

This commit is contained in:
2025-03-06 22:07:25 -08:00
parent 12cbb82ac9
commit a09f6ec5a5
3973 changed files with 1781 additions and 2938 deletions

View File

@@ -0,0 +1,37 @@
using Chickensoft.Introspection;
using Godot;
namespace Zennysoft.Game.Ma;
[Meta, Id("throwable_item")]
public partial class ThrowableItem : InventoryItem
{
[Export]
private ThrowableItemStats _throwableItemStats { get; set; }
public override string ItemName => _throwableItemStats.Name;
public override string Description => _throwableItemStats.Description;
public override float SpawnRate => _throwableItemStats.SpawnRate;
public override double ThrowDamage => _throwableItemStats.ThrowDamage;
public override float ThrowSpeed => _throwableItemStats.ThrowSpeed;
public ElementType ElementType => _throwableItemStats.ElementType;
public ThrowableItemTag ThrowableItemTag => _throwableItemStats.ThrowableItemTag;
public int HealHPAmount => _throwableItemStats.HealHPAmount;
public int HealVTAmount => _throwableItemStats.HealVTAmount;
public void SetElementType(ElementType elementType) => _throwableItemStats.ElementType = elementType;
public void SetDescription(string description) => _throwableItemStats.Description = description;
public int Count { get; }
public override InventoryItemStats ItemStats { get => _throwableItemStats; set => _throwableItemStats = (ThrowableItemStats)value; }
}