Event condition - Simplify to only one event per layer

This commit is contained in:
Robert committed 2021-09-15 22:35:34 +02:00
1 parent d657e7844e
commit 00125d1478
24 files changed
+350 -617

No files matched your search

@@ -1,17 +1,11 @@
using System.Collections.Generic;
using Artemis.Storage.Entities.Profile.Abstract;
using Artemis.Storage.Entities.Profile.Abstract;
using Artemis.Storage.Entities.Profile.Nodes;
namespace Artemis.Storage.Entities.Profile.Conditions
{
public class EventsConditionEntity : IConditionEntity
public class EventConditionEntity : IConditionEntity
{
public int EventOverlapMode { get; set; }
public List<EventConditionEntity> Events { get; set; } = new();
}
public class EventConditionEntity
{
public DataModelPathEntity EventPath { get; set; }
public NodeScriptEntity Script { get; set; }
}
@@ -10,6 +10,5 @@ namespace Artemis.Storage.Entities.Profile
public int PlayMode { get; set; }
public int StopMode { get; set; }
public int EventOverlapMode { get; set; }
}
}