Files
hotdesking/Gameplay/Condition.cs

31 lines
551 B
C#

using Godot;
using System;
using System.Collections.Generic;
public partial class Condition : Node
{
public bool _canExpire, _expired;
public int _countdown;
public Timer _timer = new();
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;
}
}