using System.Numerics; using Robust.Shared.GameStates; using Robust.Shared.Utility; namespace Content.Shared._CP14.DayCycle.Components; /// /// If added to the map, renders cloud shadows on the map /// [RegisterComponent, NetworkedComponent, AutoGenerateComponentState] public sealed partial class CP14CloudShadowsComponent : Component { [DataField, AutoNetworkedField] public Vector2 CloudSpeed = new(0.5f, 0f); [DataField] public float MaxSpeed = 1.5f; [DataField, AutoNetworkedField] public float Alpha = 1f; [DataField] public float Scale = 2.5f; [DataField] public ResPath ParallaxPath = new("/Textures/_CP14/Parallaxes/Shadows.png"); }