mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 11:15:33 +00:00
30 lines
No EOL
543 B
C#
30 lines
No EOL
543 B
C#
using Godot;
|
|
|
|
namespace Cirno.Scripts.Resources.Events;
|
|
|
|
[GlobalClass]
|
|
public partial class CameraTargetPlayerEvent : EventResource
|
|
{
|
|
protected bool _isComplete = false;
|
|
|
|
public override void Init(Node parent)
|
|
{
|
|
|
|
}
|
|
|
|
public override void Start(Node parent)
|
|
{
|
|
GameManager.Instance.CameraTargetPlayer();
|
|
_isComplete = true;
|
|
}
|
|
|
|
public override void UpdateEvent(double delta)
|
|
{
|
|
|
|
}
|
|
|
|
public override bool IsComplete()
|
|
{
|
|
return _isComplete;
|
|
}
|
|
} |