basic forge setup and refactored for some warning
This commit is contained in:
@@ -10,7 +10,7 @@ public interface IHealthable
|
||||
event Action<IHealthable, HealthChangedRecord> HealthChanged;
|
||||
event Action<IHealthable> HealthDepleted;
|
||||
|
||||
[Export] RHealth RHealth { get; set; }
|
||||
[Export] RHealth? RHealth { get; set; }
|
||||
|
||||
float CurrentHealth { get; set; }
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ public record KnockbackRecord(DamageRecord DamageRecord, float ForceMultiplier =
|
||||
|
||||
public interface IKnockbackable
|
||||
{
|
||||
[Export] RKnockback RKnockback { get; set;}
|
||||
[Export] RKnockback? RKnockback { get; set;}
|
||||
|
||||
public void RegisterKnockback(KnockbackRecord record);
|
||||
public Vector3 ComputeKnockback();
|
||||
|
||||
Reference in New Issue
Block a user