17 lines
374 B
C#
17 lines
374 B
C#
using Godot;
|
|
using System;
|
|
using Movementtests.interfaces;
|
|
|
|
[GlobalClass, Icon("res://assets/ui/IconGodotNode/white/icon_heart.png")]
|
|
public partial class RHealth : Resource
|
|
{
|
|
[Export]
|
|
public float StartingHealth { get; set;}
|
|
|
|
public RHealth() : this(100.0f) {}
|
|
public RHealth(float startingHealth)
|
|
{
|
|
StartingHealth = startingHealth;
|
|
}
|
|
}
|