2025-07-22 14:08:35 +00:00
|
|
|
using Godot;
|
|
|
|
using System.Collections;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
using Godot.Collections;
|
|
|
|
|
|
|
|
namespace Rokojori
|
|
|
|
{
|
|
|
|
[GlobalClass,Tool]
|
|
|
|
public partial class SetState:Action
|
|
|
|
{
|
|
|
|
[Export]
|
|
|
|
public EatDaRichGame.State state;
|
|
|
|
|
|
|
|
protected override void _OnTrigger()
|
|
|
|
{
|
|
|
|
var edr = Unique<EatDaRichGame>.Get();
|
|
|
|
edr.SetState( state );
|
|
|
|
}
|
2025-07-25 08:13:54 +00:00
|
|
|
|
2025-07-22 14:08:35 +00:00
|
|
|
|
|
|
|
}
|
|
|
|
}
|