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

@@ -0,0 +1,22 @@
using System;
using Robust.Client.Graphics;
using Content.Client.Parallax.Data;
namespace Content.Client.Parallax;
/// <summary>
/// A 'prepared' (i.e. texture loaded and ready to use) parallax layer.
/// </summary>
public struct ParallaxLayerPrepared
{
/// <summary>
/// The loaded texture for this layer.
/// </summary>
public Texture Texture { get; set; }
/// <summary>
/// The configuration for this layer.
/// </summary>
public ParallaxLayerConfig Config { get; set; }
}