Parallax refactors (#7654)
This commit is contained in:
22
Content.Client/Parallax/ParallaxLayerPrepared.cs
Normal file
22
Content.Client/Parallax/ParallaxLayerPrepared.cs
Normal 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; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user