public EnemyBehaviourFactory(EnemyBrain brain,
                              ISimulationEngine simulationEngine,
                              IWorldLocator worldLocator,
                              TraderPart.IItemFactory itemFactory,
                              Random random,
                              IPositionComponent physical)
 {
     this.Brain       = brain;
     SimulationEngine = simulationEngine;
     WorldLocator     = worldLocator;
     ItemFactory      = itemFactory;
     Random           = random;
     Physical         = physical;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Note: replace physical with a moveto delegate?(Action{Vector3})
 /// </summary>
 /// <param name="brain"></param>
 /// <param name="itemFactory"></param>
 public PickupTargetItemBehaviour(EnemyBrain brain, TraderPart.IItemFactory itemFactory)
 {
     this.brain       = brain;
     this.itemFactory = itemFactory;
 }