2025-11-26 14:23:59 +00:00
|
|
|
|
|
|
|
|
using Godot;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
|
|
|
2026-05-22 12:25:02 +00:00
|
|
|
using Rokojori.Extensions;
|
2025-11-26 14:23:59 +00:00
|
|
|
namespace Rokojori
|
|
|
|
|
{
|
|
|
|
|
[Tool]
|
|
|
|
|
[GlobalClass, Icon("res://addons/rokojori_action_library/Icons/ConditionalAction.svg")]
|
|
|
|
|
public partial class RegisterCoolDown : Action
|
|
|
|
|
{
|
|
|
|
|
[Export]
|
|
|
|
|
public CoolDown coolDown;
|
|
|
|
|
|
|
|
|
|
protected override void _OnTrigger()
|
|
|
|
|
{
|
|
|
|
|
coolDown.RegisterCoolDown();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|