OrbitVisualsComponent.cs 699 B

123456789101112131415161718192021222324
  1. using Robust.Shared.Animations;
  2. using Robust.Shared.GameStates;
  3. namespace Content.Shared.Follower.Components;
  4. [RegisterComponent]
  5. [NetworkedComponent]
  6. public sealed partial class OrbitVisualsComponent : Component
  7. {
  8. /// <summary>
  9. /// How long should the orbit animation last in seconds, before being randomized?
  10. /// </summary>
  11. public float OrbitLength = 2.0f;
  12. /// <summary>
  13. /// How far away from the entity should the orbit be, before being randomized?
  14. /// </summary>
  15. public float OrbitDistance = 1.0f;
  16. /// <summary>
  17. /// How long should the orbit stop animation last in seconds?
  18. /// </summary>
  19. public float OrbitStopLength = 1.0f;
  20. }