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