Files
tbd-station-14/Content.IntegrationTests/DummyParallaxManager.cs
2023-07-08 14:08:32 +10:00

37 lines
808 B
C#

using System.Numerics;
using Content.Client.Parallax.Managers;
using Content.Client.Parallax;
using Robust.Shared.Maths;
namespace Content.IntegrationTests
{
public sealed class DummyParallaxManager : IParallaxManager
{
public Vector2 ParallaxAnchor { get; set; }
public bool IsLoaded(string name)
{
return true;
}
public ParallaxLayerPrepared[] GetParallaxLayers(string name)
{
return Array.Empty<ParallaxLayerPrepared>();
}
public void LoadDefaultParallax()
{
return;
}
public Task LoadParallaxByName(string name)
{
return Task.CompletedTask;
}
public void UnloadParallax(string name)
{
return;
}
}
}