1
0

SharedNPCSteeringSystem.cs 476 B

12345678910111213141516
  1. namespace Content.Shared.NPC;
  2. public abstract class SharedNPCSteeringSystem : EntitySystem
  3. {
  4. public const byte InterestDirections = 12;
  5. /// <summary>
  6. /// How many radians between each interest direction.
  7. /// </summary>
  8. public const float InterestRadians = MathF.Tau / InterestDirections;
  9. /// <summary>
  10. /// How many degrees between each interest direction.
  11. /// </summary>
  12. public const float InterestDegrees = 360f / InterestDirections;
  13. }