コード例 #1
0
 public BeehiveManager(IBeeCommon beeCommon, IBeeManager beeManager, IShapeDrawing shapeDrawing, IImageDrawing imageDrawing)
 {
     _beeCommon    = beeCommon;
     _beeManager   = beeManager;
     _imageDrawing = imageDrawing;
     _shapeDrawing = shapeDrawing;
 }
コード例 #2
0
 public BeeBehaviorResolver(IBeeCommon beeCommon, IFlowerManager flowerManager, ILandscapeManager landscapeManager, IInteractionManager interactionManager, IMovementBehaviorCommandInvoker movementBehaviorCommandInvoker, IMovementSelector movementSelector)
 {
     _beeCommon                      = beeCommon;
     _flowerManager                  = flowerManager;
     _landscapeManager               = landscapeManager;
     _interactionManager             = interactionManager;
     _movementBehaviorCommandInvoker = movementBehaviorCommandInvoker;
     _movementSelector               = movementSelector;
 }
コード例 #3
0
 public WorldMediator(
     IBeeCommon beeCommon,
     IBeeManager beeManager,
     IFlowerManager flowerManager,
     ILandscapeManager landscapeManager,
     IInteractionManager interactionManager)
 {
     _beeCommon          = beeCommon;
     _beeManager         = beeManager;
     _flowerManager      = flowerManager;
     _landscapeManager   = landscapeManager;
     _interactionManager = interactionManager;
 }
コード例 #4
0
 public BeeManager(
     IBeeCommon beeCommon,
     IBeeBehaviorResolver beeBehaviorResolver,
     IBeeWingsMovementInvoker beeWingsMovementInvoker,
     IImageDrawing imageDrawing,
     IMovementBehaviorCommandInvoker movementBehaviorCommandInvoker,
     ILifeFactory lifeFactory,
     IInteractionManager interactionManager,
     ILinearMovementStrategy linearMovementStrategy,
     IMovementSelector movementSelector,
     ICommonUtilities utilitiesResolver
     )
 {
     _beeCommon                      = beeCommon;
     _beeBehaviorResolver            = beeBehaviorResolver;
     _beeWingsMovementInvoker        = beeWingsMovementInvoker;
     _movementBehaviorCommandInvoker = movementBehaviorCommandInvoker;
     _imageDrawing                   = imageDrawing;
     _lifeFactory                    = lifeFactory;
     _interactionManager             = interactionManager;
     _linearMovementStrategy         = linearMovementStrategy;
     _movementSelector               = movementSelector;
     _utilitiesResolver              = utilitiesResolver;
 }