Files
hotdesking/Gameplay/PowerBar.cs
2025-07-28 23:39:40 -04:00

13 lines
291 B
C#

using Godot;
using System;
public partial class PowerBar : ProgressBar
{
public override void _Process(double DELTA_)
{
// Value = GetParent().GetNode<Manager>("Manager").GetNode<Cue>("Cue")._power / GetParent().GetNode<Manager>("Manager").GetNode<Cue>("Cue")._maxPower * 100;
}
}