Parallax refactors (#7654)

This commit is contained in:
20kdc
2022-05-04 17:55:21 +01:00
committed by GitHub
parent 9bc965409a
commit 3d606f4316
24 changed files with 857 additions and 179 deletions

View File

@@ -1,25 +1,20 @@
using System;
using Content.Client.Parallax.Managers;
using Content.Client.Parallax;
using Robust.Client.Graphics;
using Robust.Shared.Maths;
namespace Content.IntegrationTests
{
public sealed class DummyParallaxManager : IParallaxManager
{
public event Action<Texture> OnTextureLoaded
{
add
{
}
remove
{
}
}
public Texture ParallaxTexture => null;
public string ParallaxName { get; set; } = "";
public Vector2 ParallaxAnchor { get; set; }
public ParallaxLayerPrepared[] ParallaxLayers { get; } = {};
public void LoadParallax()
{
ParallaxName = "default";
}
}
}