// ReSharper disable UnusedMember.Global
using System.Collections.Generic;
namespace CUE.NET.Effects
{
///
/// Represents a basic effect-target.
///
/// The type this target represents.
public interface IEffectTarget
where T : IEffectTarget
{
#region Properties & Fields
///
/// Gets a list of all active effects of this target.
///
IList> Effects { get; }
#endregion
#region Methods
///
/// Updates all effects added to this target.
///
void UpdateEffects();
///
/// Adds an affect.
///
/// The effect to add.
void AddEffect(IEffect effect);
///
/// Removes an effect
///
/// The effect to remove.
void RemoveEffect(IEffect effect);
#endregion
}
}