Files
crystall-punk-14/Content.Shared/Shuttles/Components/ShuttleMapParallaxComponent.cs

18 lines
625 B
C#
Raw Permalink Normal View History

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