Files
Artemis/src/Artemis.Core/Models/Profile/Conditions/DisplayConditionGroup.cs
T
Robert 7b27d076b3 Profile elements - Simplified class hierarchy
Profile editor - Seperated event types and avoid a lot of type checking
Profile editor - Avoid changing profiles/layers if the new equals the old
Color picker - Fixed binding error
Profile tree - Select first element by default
Profile editor - Adjusted initialization order
2020-07-09 12:23:57 +02:00

23 lines
495 B
C#

using Artemis.Core.Models.Profile.Conditions.Abstract;
namespace Artemis.Core.Models.Profile.Conditions
{
public class DisplayConditionGroup : DisplayConditionPart
{
public BooleanOperator BooleanOperator { get; set; }
public override void ApplyToEntity()
{
foreach (var child in Children)
child.ApplyToEntity();
}
}
public enum BooleanOperator
{
And,
Or,
AndNot,
OrNot
}
}