Rework enemy behavior (still in progress but shouldn't crash)

This commit is contained in:
2025-10-20 19:24:50 -07:00
parent 20b659681a
commit 44fd8c82b0
135 changed files with 2165 additions and 2415 deletions

View File

@@ -0,0 +1,5 @@
namespace Zennysoft.Game.Abstractions.Entity;
public interface IBehavior
{
}

View File

@@ -0,0 +1,11 @@
namespace Zennysoft.Game.Abstractions.Entity
{
public interface IAction
{
public Task PerformAction();
}
public interface IAction<T>
{
public Task PerformAction(T arg);
}
}

View File

@@ -0,0 +1,8 @@
namespace Zennysoft.Game.Abstractions;
public interface IHealthComponent
{
int MaximumHP { get; }
int CurrentHP { get; set; }
}

View File

@@ -1,6 +0,0 @@
namespace Zennysoft.Game.Abstractions;
public interface ICanPatrol
{
public void Patrol();
}