This commit is contained in:
Lilith Schier 2026-06-08 16:22:25 +02:00
parent ab79ace226
commit 00b76b6b25
63 changed files with 1172 additions and 1548 deletions

8
src/combat/Attack.cs Normal file
View file

@ -0,0 +1,8 @@
namespace Dancer;
public sealed class Attack
{
public required Node2D Attacker { get; init; }
public float Damage { get; init; } = 1f;
public Vector2 Impulse { get; init; } = Vector2.Zero;
}

1
src/combat/Attack.cs.uid Normal file
View file

@ -0,0 +1 @@
uid://cs5drdr0376sy

View file

@ -0,0 +1,6 @@
namespace Dancer;
public interface IAttackable
{
public void GetAttacked(in Attack attack);
}

View file

@ -0,0 +1 @@
uid://cu2ivuj6ulfv5