2025-04-23 12:00:43 +00:00
|
|
|
|
|
|
|
using Godot;
|
2025-04-24 13:39:00 +00:00
|
|
|
using System.Collections.Generic;
|
2025-04-23 12:00:43 +00:00
|
|
|
|
|
|
|
namespace Rokojori
|
|
|
|
{
|
2025-04-26 20:04:11 +00:00
|
|
|
public class RGGraphProcessor:RDGraphNode
|
2025-04-23 12:00:43 +00:00
|
|
|
{
|
2025-04-26 20:04:11 +00:00
|
|
|
protected List<RDGraphConnection> _connections = new List<RDGraphConnection>();
|
2025-04-24 13:39:00 +00:00
|
|
|
|
2025-04-26 20:04:11 +00:00
|
|
|
public RGGraphProcessor( RDGraph graph ):base( graph ){}
|
2025-04-23 12:00:43 +00:00
|
|
|
|
|
|
|
bool _initialized = false;
|
|
|
|
|
|
|
|
public void Initialize()
|
|
|
|
{
|
|
|
|
if ( _initialized )
|
|
|
|
{
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
OnInitialize();
|
|
|
|
}
|
|
|
|
|
|
|
|
protected virtual void OnInitialize()
|
|
|
|
{
|
2025-04-24 13:39:00 +00:00
|
|
|
|
2025-04-23 12:00:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public virtual void Process()
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|