Wednesday, 10 September 2025 01:31:36
This commit is contained in:
27
Gameplay/Trait.cs
Normal file
27
Gameplay/Trait.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
using Godot;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
public partial class Trait : Node
|
||||
{
|
||||
public Worker _target, _owner;
|
||||
public List<Trigger.On> _triggers = new();
|
||||
public List<Trigger.On> _expirations = new();
|
||||
|
||||
public Trait(Worker OWNER)
|
||||
{
|
||||
_owner = OWNER;
|
||||
}
|
||||
|
||||
public virtual void Fire()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public virtual void Target(Worker TARGET)
|
||||
{
|
||||
_target = TARGET;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user