Exemplo n.º 1
0
        protected sealed override IPassiveProcessFunction <TDomain>[] LoadFollowingProcesses()
        {
            var aggregator = new FuncAggregatorWithState();

            RegisterFollowingFunctions(aggregator);
            return(aggregator.Functions.ToArray());
        }
Exemplo n.º 2
0
 protected override void RegisterFollowingFunctions(FuncAggregatorWithState aggregator)
 {
     aggregator.Register <DamageEvent>(OnAttackedAsync);
 }
Exemplo n.º 3
0
 protected virtual void RegisterFollowingFunctions(FuncAggregatorWithState aggregator)
 {
 }