25 lines
450 B
C#
25 lines
450 B
C#
using Godot;
|
|
|
|
namespace Milimoe.GodotGame
|
|
{
|
|
public partial class CharacterItem : Control
|
|
{
|
|
[Export]
|
|
public TextureRect TextureRect { get; set; }
|
|
|
|
[Export]
|
|
public Label Label { get; set; }
|
|
|
|
[Export]
|
|
public double HardnessTime
|
|
{
|
|
get;
|
|
set
|
|
{
|
|
field = value;
|
|
Label.Text = $"{field:0.##}";
|
|
}
|
|
}
|
|
}
|
|
}
|