public StormSharp( Key key, StormSharpConfig config, IServiceContext context) : base(context, key) { this.context = context; this.Config = config; this.TargetSelector = context.TargetSelector; this.Inventory = context.Inventory; this.Prediction = context.Prediction; }
public StormSharp( Key key, StormSharpConfig config, Lazy <IOrbwalkerManager> orbwalker, Lazy <IInputManager> input, Lazy <IInventoryManager> inventory, Lazy <ITargetSelectorManager> targetselector, Lazy <IPrediction> prediction) : base(orbwalker.Value, input.Value, key) { this.Config = config; this.TargetSelector = targetselector; this.Inventory = inventory; this.Prediction = prediction; }