2023-07-08 14:08:32 +10:00
|
|
|
using System.Numerics;
|
|
|
|
|
|
2022-12-12 14:33:43 +11:00
|
|
|
namespace Content.Client.NPC;
|
|
|
|
|
|
|
|
|
|
[RegisterComponent]
|
2023-08-22 18:14:33 -07:00
|
|
|
public sealed partial class NPCSteeringComponent : Component
|
2022-12-12 14:33:43 +11:00
|
|
|
{
|
|
|
|
|
/* Not hooked up to the server component as it's used for debugging only.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
public Vector2 Direction;
|
|
|
|
|
|
|
|
|
|
public float[] DangerMap = Array.Empty<float>();
|
|
|
|
|
public float[] InterestMap = Array.Empty<float>();
|
|
|
|
|
public List<Vector2> DangerPoints = new();
|
|
|
|
|
}
|