Example #1
0
 protected override ICollector <ActionEntity> GetTrigger(IContext <ActionEntity> context)
 {
     return(context.CreateCollector(ActionMatcher
                                    .AllOf(ActionMatcher.Action,
                                           ActionMatcher.ActionAddEntityToGrid)
                                    .NoneOf(ActionMatcher.Delay, ActionMatcher.Consumed)));
 }
 protected override ICollector <ActionEntity> GetTrigger(IContext <ActionEntity> context)
 {
     return(context.CreateCollector(ActionMatcher.AllOf(ActionMatcher.ActionCreateMapEditor)
                                    .NoneOf(ActionMatcher.Consumed, ActionMatcher.Delay)));
 }