using Godot;
namespace Rokojori
{
[GlobalClass, Icon("res://addons/rokojori_action_library/Icons/RJOnEvent.svg") ]
public partial class OnPhysicsProcess : Node
{
/** Actions to execute*/
[Export]
public Action[] actions;
/** Whether to execute Action child nodes*/
[Export]
public bool triggerDirectChildren = true;
public override void _PhysicsProcess( double delta )
{
Action.TriggerAll( actions, this, triggerDirectChildren );
}
}
}