Wednesday, 20 August 2025 02:02:40
This commit is contained in:
28
Gameplay/Action.cs
Normal file
28
Gameplay/Action.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
using Godot;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
public partial class Action : Node
|
||||
{
|
||||
public Node _target;
|
||||
public List<Trigger.On> _triggers = new();
|
||||
public List<Trigger.On> _expirations = new();
|
||||
public Node2D _owner;
|
||||
|
||||
public Action(Node2D OWNER)
|
||||
{
|
||||
_owner = OWNER;
|
||||
}
|
||||
|
||||
public virtual void Fire()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public virtual void Target(Node TARGET)
|
||||
{
|
||||
_target = TARGET;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user