Split project
This commit is contained in:
19
Manual/ModuleParameterSetter.cs
Normal file
19
Manual/ModuleParameterSetter.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using Godot;
|
||||
using Nocturnis.DataStructures.ConfigurableParameters;
|
||||
|
||||
namespace Enigmos.Manual;
|
||||
|
||||
public abstract partial class ModuleParameterSetter : Control
|
||||
{
|
||||
protected bool InitFlag { get; set; }
|
||||
public IConfigurableParameter UnderlyingParameter { get; set; }
|
||||
protected Label Description { get; set; }
|
||||
public override void _Ready()
|
||||
{
|
||||
if (!InitFlag)
|
||||
throw new Exception("TODO - NEED INIT");
|
||||
Description = GetNode<Label>("Description");
|
||||
Description.Text = UnderlyingParameter.ParameterName;
|
||||
base._Ready();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user