spawning
This commit is contained in:
@@ -5,5 +5,5 @@ namespace Movementtests.interfaces;
|
||||
public interface IDamageMaker
|
||||
{
|
||||
[Export]
|
||||
RDamage GetDamageDealt { get; set; }
|
||||
RDamage RDamage { get; set; }
|
||||
}
|
||||
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using Godot;
|
||||
|
||||
namespace Movementtests.interfaces;
|
||||
|
||||
@@ -7,5 +8,9 @@ public interface IHealthable
|
||||
event Action<IHealthable, float> HealthChanged;
|
||||
event Action<IHealthable> HealthDepleted;
|
||||
|
||||
[Export] RHealth RHealth { get; set; }
|
||||
|
||||
float CurrentHealth { get; set; }
|
||||
|
||||
void ReduceHealth(IDamageable source, float amount);
|
||||
}
|
||||
@@ -11,5 +11,6 @@ public record MovementInputs(
|
||||
|
||||
public interface IMoveable
|
||||
{
|
||||
[Export] RMovement RMovement { get; set; }
|
||||
Vector3 ComputeVelocity(MovementInputs inputs);
|
||||
}
|
||||
@@ -3,5 +3,5 @@ using Godot;
|
||||
|
||||
interface ISpawnable
|
||||
{
|
||||
void TestMethod();
|
||||
void Setup();
|
||||
}
|
||||
Reference in New Issue
Block a user