Add AI components and systems for enhanced enemy behavior and pathfinding
This commit is contained in:
11
GameCore/AI/PatrolComponent.cs
Normal file
11
GameCore/AI/PatrolComponent.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using GameCore.ECS.Interfaces;
|
||||
using GameCore.Math;
|
||||
|
||||
namespace GameCore.AI;
|
||||
|
||||
public class PatrolComponent : IComponent
|
||||
{
|
||||
public List<Vector3> PatrolPoints { get; set; } = [];
|
||||
public int CurrentPatrolIndex { get; set; } = 0;
|
||||
public bool IsLooping { get; set; } = false;
|
||||
}
|
||||
Reference in New Issue
Block a user