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