Files
MovementTests/components/health/RHealth.cs
Minimata fa029b9e53
All checks were successful
Create tag and build when new code gets to main / BumpTag (push) Successful in 24s
Create tag and build when new code gets to main / Export (push) Successful in 15m37s
fixed resources constructors
2026-01-21 10:13:00 +01:00

17 lines
314 B
C#

using Godot;
using System;
using Movementtests.interfaces;
[GlobalClass]
public partial class RHealth : Resource
{
[Export]
public float StartingHealth { get; set;}
public RHealth() : this(100.0f) {}
public RHealth(float startingHealth)
{
StartingHealth = startingHealth;
}
}