| 12345678910111213141516171819202122232425262728293031 |
- using System.Numerics;
- using System.Threading.Tasks;
- using Robust.Shared.Maths;
- namespace Content.Client.Parallax.Managers;
- public interface IParallaxManager
- {
- /// <summary>
- /// All WorldHomePosition values are offset by this.
- /// </summary>
- Vector2 ParallaxAnchor { get; set; }
- bool IsLoaded(string name);
- /// <summary>
- /// The layers of the selected parallax.
- /// </summary>
- ParallaxLayerPrepared[] GetParallaxLayers(string name);
- /// <summary>
- /// Loads in the default parallax to use.
- /// Do not call until prototype manager is available.
- /// </summary>
- void LoadDefaultParallax();
- Task LoadParallaxByName(string name);
- void UnloadParallax(string name);
- }
|