// ReSharper disable MemberCanBePrivate.Global
// ReSharper disable AutoPropertyCanBeMadeGetOnly.Global
namespace CUE.NET.Effects
{
///
/// Represents a wrapped effect with additional time information.
///
public class EffectTimeContainer
{
#region Properties & Fields
///
/// Gets or sets the wrapped effect.
///
public IEffect Effect { get; }
///
/// Gets or sets the tick-count from the last time the effect was updated.
///
public long TicksAtLastUpdate { get; set; }
#endregion
#region Constructors
///
/// Initializes a new instance of the class.
///
/// The wrapped effect.
/// The tick-count from the last time the effect was updated.
public EffectTimeContainer(IEffect effect, long ticksAtLastUpdate)
{
this.Effect = effect;
this.TicksAtLastUpdate = ticksAtLastUpdate;
}
#endregion
}
}