Files
crystall-punk-14/Content.IntegrationTests/DummyParallaxManager.cs

37 lines
808 B
C#
Raw Normal View History

using System.Numerics;
2021-06-09 22:19:39 +02:00
using Content.Client.Parallax.Managers;
2022-05-04 17:55:21 +01:00
using Content.Client.Parallax;
using Robust.Shared.Maths;
2019-06-29 01:58:16 +02:00
namespace Content.IntegrationTests
{
public sealed class DummyParallaxManager : IParallaxManager
{
2022-05-04 17:55:21 +01:00
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;
}
2019-06-29 01:58:16 +02:00
public void UnloadParallax(string name)
2019-06-29 01:58:16 +02:00
{
return;
2019-06-29 01:58:16 +02:00
}
}
}