static HealthBehavior() { SignalEntryPoint.For <HealthBehavior>() .Register(AllSignals.Health, (i, d) => i.Handle(d)) .Register(AllSignals.Damage, (i, d) => i.Handle(d)) .Register(AllSignals.Death, i => i.HandleDeath()); }
static DropItemOnDealthBehavior() { SignalEntryPoint.For <DropItemOnDealthBehavior>() .Register(AllSignals.Death, i => i.HandleDeath()); }
static MoneyBankerBehavior() { SignalEntryPoint.For <MoneyBankerBehavior>() .Register(AllSignals.MoneyTransfer, (behavior, transfer) => behavior.HandleMoney(transfer), AllPriorities.VeryLow); }
static PlayerDeathBehavior() { SignalEntryPoint.For <PlayerDeathBehavior>() .Register(AllSignals.Death, i => i.HandleDeath(), AllPriorities.VeryHigh); }
static MoneyCollector() { SignalEntryPoint.For <MoneyCollector>() .Register(AllSignals.MoneyTransfer, (i, d) => i.Handle(d), AllPriorities.VeryHigh); }
static MoveTowardsTargetBehavior() { SignalEntryPoint.For <MoveTowardsTargetBehavior>() .Register(AllSignals.TargetChanged, (i, d) => i.HandleTargetChanged(d)); }
static ProjectileCreatorBehavior() { SignalEntryPoint.For <ProjectileCreatorBehavior>() .Register(AllSignals.TargetChanged, (i, d) => i.HandleTargetChanged(d)); }
static RadiusBasedOnPayloadBehavior() { SignalEntryPoint.For <RadiusBasedOnPayloadBehavior>() .Register(AllSignals.Merged, (i, d) => i.HandleMerged(), AllPriorities.VeryLow); }
static MergeBehavior() { SignalEntryPoint.For <MergeBehavior>() .Register(AllSignals.Merged, (i, d) => i.HandleMerge(d)); }