Add initial resource and presenter classes for game entities and effects

This commit is contained in:
2025-10-13 12:11:50 +02:00
commit ad3e631d8c
75 changed files with 1423 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
using GameCore.Combat;
using Godot;
namespace CryptonymThunder.Code.Resources;
[GlobalClass]
public partial class WeaponResource : Resource
{
[Export] public float FireRate { get; set; } = 1.0f;
[ExportGroup("Effects")]
[Export] public Godot.Collections.Array<EffectResource> OnFireEffects { get; set; } = [];
[Export] public Godot.Collections.Array<EffectResource> OnHitEffects { get; set; } = [];
}