SupaLidlGame/UI/DamageText.cs

19 lines
296 B
C#
Raw Normal View History

2023-08-15 23:05:39 -07:00
using Godot;
namespace SupaLidlGame.UI;
public partial class DamageText : FloatingText
{
private float _damage = 0;
public float Damage
{
get => _damage;
set
{
_damage = value;
Text = Mathf.Round(value).ToString();
}
}
}