17 lines
314 B
C#
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;
|
|
}
|
|
}
|