ShuttleMapParallaxComponent.cs 625 B

1234567891011121314151617
  1. using Robust.Shared.GameStates;
  2. using Robust.Shared.Utility;
  3. namespace Content.Shared.Shuttles.Components;
  4. /// <summary>
  5. /// Shows a parallax background on the shuttle map console.
  6. /// </summary>
  7. [RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
  8. public sealed partial class ShuttleMapParallaxComponent : Component
  9. {
  10. public static readonly ResPath FallbackTexture = new ResPath("/Textures/Parallaxes/space_map2.png");
  11. // TODO: This should ideally be shared with parallax stuff to avoid duplication, for now it's just a texture
  12. [DataField, AutoNetworkedField]
  13. public ResPath TexturePath;
  14. }