Ejemplo n.º 1
0
 protected override ICollector <ViewEntity> GetTrigger(IContext <ViewEntity> context)
 {
     return(context.CreateCollector(ViewMatcher.AllOf(ViewMatcher.Position, ViewMatcher.UnityTransform)));
 }
Ejemplo n.º 2
0
 protected override ICollector <ViewEntity> GetTrigger(IContext <ViewEntity> context)
 {
     return(context.CreateCollector(ViewMatcher.AllOf(ViewMatcher.SpriteVisual, ViewMatcher.View)));
 }
 protected override ICollector <ViewEntity> GetTrigger(IContext <ViewEntity> context)
 {
     return(context.CreateCollector(ViewMatcher.AllOf(ViewMatcher.View, ViewMatcher.CoreEntityReference)));
 }
 protected override ICollector <ViewEntity> GetTrigger(IContext <ViewEntity> context)
 {
     return(context.CreateCollector(ViewMatcher.AllOf(ViewMatcher.Asset).NoneOf(ViewMatcher.View)));
 }