public LookingForFoodDoofusesEngine(IEntityFunctions nativeSwap) { _nativeDoofusesSwap = nativeSwap.ToNativeSwap <DoofusEntityDescriptor>(nameof(LookingForFoodDoofusesEngine)); _nativeFoodSwap = nativeSwap.ToNativeSwap <FoodEntityDescriptor>(nameof(LookingForFoodDoofusesEngine)); }
public ConsumingFoodEngine(IEntityFunctions nativeOptions) { _nativeSwap = nativeOptions.ToNativeSwap <DoofusEntityDescriptor>(nameof(ConsumingFoodEngine)); _nativeRemove = nativeOptions.ToNativeRemove <FoodEntityDescriptor>(nameof(ConsumingFoodEngine)); }