* Per-map parallax support * Comments for future sloth * c * bet * Fix exception * VV support * Fix parallax * mem * weightless sounds * Gravity stuff * placeholder coz im too lazy to stash don't @ me son * decent clouds * sky * Fast parallax * Imagine spelling * Loicense * perish * Fix weightless status Co-authored-by: metalgearsloth <metalgearsloth@gmail.com>
31 lines
709 B
C#
31 lines
709 B
C#
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);
|
|
}
|
|
|